diff options
| author | Ja.KooLit <ejhay.games@gmail.com> | 2024-05-05 07:18:59 +0900 |
|---|---|---|
| committer | Ja.KooLit <ejhay.games@gmail.com> | 2024-05-05 07:18:59 +0900 |
| commit | 8e9b6f015038ae76ce68035d6aee7ff88a5be06c (patch) | |
| tree | 498a56e78802f92bf3814353ac35a50d8b5f950b /config/ags/variables.js | |
| parent | 962a09dd0088cd01cbf3e678c4c500ff5087e4e4 (diff) | |
Hmmmm.. I dont know why ags its here.... removing it
Diffstat (limited to 'config/ags/variables.js')
| -rw-r--r-- | config/ags/variables.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/config/ags/variables.js b/config/ags/variables.js deleted file mode 100644 index ec4aedec..00000000 --- a/config/ags/variables.js +++ /dev/null @@ -1,21 +0,0 @@ -const { Gtk } = imports.gi; -import Variable from 'resource:///com/github/Aylur/ags/variable.js'; -import * as Utils from 'resource:///com/github/Aylur/ags/utils.js'; -const { exec, execAsync } = Utils; - -Gtk.IconTheme.get_default().append_search_path(`${App.configDir}/assets/icons`); - -// Screen size -export const SCREEN_WIDTH = Number(exec(`bash -c "xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f1 | head -1" | awk '{print $1}'`)); -export const SCREEN_HEIGHT = Number(exec(`bash -c "xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f2 | head -1" | awk '{print $1}'`)); - -// Mode switching -export const currentShellMode = Variable('normal', {}) // normal, focus -globalThis['currentMode'] = currentShellMode; -globalThis['cycleMode'] = () => { - if (currentShellMode.value === 'normal') { - currentShellMode.value = 'focus'; - } else { - currentShellMode.value = 'normal'; - } -} |
