Skip to content

Commit

Permalink
Merge branch 'master' of github.com:X3n0m0rph59/eruption-profile-swit…
Browse files Browse the repository at this point in the history
…cher
  • Loading branch information
X3n0m0rph59 committed Jul 15, 2022
2 parents 645f70c + ad487a3 commit 7094897
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
10 changes: 5 additions & 5 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const PROCESS_POLL_TIMEOUT_MILLIS = 3000;
const PROCESS_SPAWN_WAIT_MILLIS = 800;

const DEFAULT_SLOT_NAMES = ['Profile Slot 1', 'Profile Slot 2',
'Profile Slot 3', 'Profile Slot 4'];
'Profile Slot 3', 'Profile Slot 4'];

// Eruption - Version: 0.1.24 - list of supported devices
const SUPPORTED_DEVICES = [
Expand All @@ -59,7 +59,7 @@ const SUPPORTED_DEVICES = [

{ make: "ROCCAT", model: "Vulcan Pro TKL", usb_vid: 0x1e7d, usb_pid: 0x311a, has_status: false },

{ make: "ROCCAT", model: "Magma", usb_vid: 0x1e7d, usb_pid: 0x3124, has_status: false },
{ make: "ROCCAT", model: "Magma", usb_vid: 0x1e7d, usb_pid: 0x3124, has_status: false },

{ make: "Corsair", model: "Corsair STRAFE Gaming Keyboard", usb_vid: 0x1b1c, usb_pid: 0x1b15, has_status: false },

Expand Down Expand Up @@ -347,13 +347,13 @@ const eruptionDeviceIface = `<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Ob

// D-Bus proxy
var eruptionSlot, eruptionProfile, eruptionConfig,
eruptionStatus, eruptionDevice;
eruptionStatus, eruptionDevice;

// Panel menu button
var connected = false;
var previous_state = null;
var instance = null,
eruptionMenuButton;
eruptionMenuButton;

// Global state
var activeSlot,
Expand Down Expand Up @@ -1527,4 +1527,4 @@ class ProfileSwitcherExtension {
function init() {
instance = new ProfileSwitcherExtension();
return instance;
}
}
3 changes: 1 addition & 2 deletions prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ var hostName, portNumber;
function init() {}

function buildPrefsWidget() {
let builder = new Gtk.Builder();

let builder = new Gtk.Builder();

builder.set_scope(new MyBuilderScope());
// builder.set_translation_domain('gettext-domain');
Expand Down
8 changes: 4 additions & 4 deletions stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
}

.checkmark-slot {
height: 3px;
width: 13px;
height: 3px;
width: 13px;
}

.checkmark, .menu-icon {
height: 3px;
width: 13px;
height: 3px;
width: 13px;
}

.notification-label {
Expand Down

0 comments on commit 7094897

Please sign in to comment.