Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
peacerebel
dotfiles
Commits
cdcced1b
Commit
cdcced1b
authored
Jun 03, 2022
by
peacerebel
Browse files
Identify terminator by app_id to open in dedicated workspace
parent
9019a960
Changes
1
Hide whitespace changes
Inline
Side-by-side
.config/sway/config
View file @
cdcced1b
...
...
@@ -137,9 +137,11 @@ input type:touchpad {
set $ws9 Mail
# TIP: use `swaymsg -t get_tree` to identify class and app_id
#Assigning programs to workspaces
assign [
class="(?i)
terminator"] $ws4
for_window [
class="(?i)
terminator"] focus
assign [
app_id="
terminator"] $ws4
for_window [
app_id="
terminator"] focus
assign [class="(?i)emacs"] $ws1
for_window [class="(?i)emacs"] focus
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment