diff options
3 files changed, 27 insertions, 11 deletions
diff --git a/.local/share/gnome-shell/extensions/org-agenda-indicator@rbenencia.name/metadata.json b/.local/share/gnome-shell/extensions/org-agenda-indicator@rbenencia.name/metadata.json index de62ebd..d24f67c 100644 --- a/.local/share/gnome-shell/extensions/org-agenda-indicator@rbenencia.name/metadata.json +++ b/.local/share/gnome-shell/extensions/org-agenda-indicator@rbenencia.name/metadata.json @@ -4,7 +4,7 @@ "name": "Org Agenda Indicator", "description": "Show today's org-agenda tasks in the top bar.", "settings-schema": "org.gnome.shell.extensions.org-agenda-indicator", - "shell-version": ["49"], + "shell-version": ["46", "47", "48", "49"], "session-modes": ["user"], "url": "https://rbenencia.name", "version": 1 diff --git a/.local/share/gnome-shell/extensions/workspace-router@rbenencia.name/extension.js b/.local/share/gnome-shell/extensions/workspace-router@rbenencia.name/extension.js index a61ef47..74f6cdf 100644 --- a/.local/share/gnome-shell/extensions/workspace-router@rbenencia.name/extension.js +++ b/.local/share/gnome-shell/extensions/workspace-router@rbenencia.name/extension.js @@ -45,10 +45,10 @@ const WINDOW_RULES = [ workspace: 2, monitor: 'primary', matchAny: [ - {field: 'title', pattern: /(ebex|lack|communications|notmuch|outlook|elfeed)/i}, - {field: 'appId', pattern: /(slack|outlook)/i}, - {field: 'wmClass', pattern: /(slack|outlook)/i}, - {field: 'wmClassInstance', pattern: /(slack|outlook)/i}, + {field: 'title', pattern: /(ebex|lack|communications|notmuch|outlook|elfeed|thunderbird)/i}, + {field: 'appId', pattern: /(slack|outlook|thunderbird)/i}, + {field: 'wmClass', pattern: /(slack|outlook|thunderbird)/i}, + {field: 'wmClassInstance', pattern: /(slack|outlook|thunderbird)/i}, ], }, { @@ -61,14 +61,25 @@ const WINDOW_RULES = [ ], }, { + name: 'teleport', + workspace: 5, + monitor: 'primary', + matchAny: [ + {field: 'title', pattern: /teleport/i}, + {field: 'appId', pattern: /teleport/i}, + {field: 'wmClass', pattern: /teleport/i}, + {field: 'wmClassInstance', pattern: /teleport/i}, + ], + }, + { name: 'terminals-apps', workspace: 3, monitor: 'primary', matchAny: [ - {field: 'title', pattern: /(alacritty|kitty|terminal|teleport)/i}, - {field: 'appId', pattern: /(alacritty|kitty|console|terminal|teleport)/i}, - {field: 'wmClass', pattern: /(alacritty|kitty|terminal|teleport)/i}, - {field: 'wmClassInstance', pattern: /(alacritty|kitty|terminal|teleport)/i}, + {field: 'title', pattern: /(alacritty|kitty|terminal)/i}, + {field: 'appId', pattern: /(alacritty|kitty|console|terminal)/i}, + {field: 'wmClass', pattern: /(alacritty|kitty|terminal)/i}, + {field: 'wmClassInstance', pattern: /(alacritty|kitty|terminal)/i}, ], }, { diff --git a/bin/gnome-move-windows b/bin/gnome-move-windows index 04698e8..f3a5e34 100755 --- a/bin/gnome-move-windows +++ b/bin/gnome-move-windows @@ -11,9 +11,10 @@ done # Assign windows to predetermined workplaces misc=$(wmctrl -l | awk '/isco|eepa/ {print $1}') main="$(wmctrl -xl | awk '/ emacs/ {print $1}')" -communications="$(wmctrl -l | awk '/ebex|lack|communications|notmuch|Outlook|elfeed/ {print $1}')" +communications="$(wmctrl -xl | awk 'tolower($0) ~ /(ebex|lack|communications|notmuch|outlook|elfeed|thunderbird)/ {print $1}')" media="$(wmctrl -l | awk '/YouTube|Spotify/ {print $1}')" -terminals="$(wmctrl -l | awk '/Alacritty|kitty|terminal|Teleport/ {print $1}')" +terminals="$(wmctrl -l | awk '/Alacritty|kitty|terminal/ {print $1}')" +teleport="$(wmctrl -xl | awk 'tolower($0) ~ /teleport/ {print $1}')" browsers="$(wmctrl -xl | awk '/irefox|hrom/ {print $1}')" for window_id in $misc; do @@ -36,6 +37,10 @@ for window_id in $terminals; do wmctrl -i -r $window_id -t 3 done +for window_id in $teleport; do + wmctrl -i -r $window_id -t 5 +done + for window_id in $media; do wmctrl -i -r $window_id -t 8 done |
