1
0
Fork 0

Improve window workspace placement
continuous-integration/drone/push Build was killed Details

main
Ambrose Chua 2023-02-08 09:37:44 +08:00
parent 5c7f6759f5
commit 4754d15cd0
2 changed files with 13 additions and 11 deletions

View File

@ -331,27 +331,28 @@ bindsym $mod+Shift+F8 resize set 1928 px 1088 px
#
# 10: Spotify
#
# Does not work: assign [instance = "spotify"] 10
for_window [instance = "spotify"] move to workspace 10
# Does not work: assign [instance="spotify"] 10
#for_window [instance="spotify"] move to workspace 10
#
# 2: Chat
#
bindsym $mod+F5 \
[instance = "(discord|element)"] move container to workspace 2; \
[title = "^Telegram$"] move container to workspace 2
[instance="(discord|element)"] move container to workspace 2; \
[app_id="org.telegram.desktop.*"] move container to workspace 2; \
[title="^Telegram$"] move container to workspace 2
### Floating windows
#
# Firefox
#
for_window [title = "Firefox — Sharing Indicator"] floating enable
for_window [title = "About Mozilla Firefox"] floating enable
for_window [title = "Picture-in-Picture"] floating enable, sticky enable
for_window [title="Firefox — Sharing Indicator"] floating enable
for_window [title="About Mozilla Firefox"] floating enable
for_window [title="Picture-in-Picture"] floating enable, sticky enable
#
# Tandem
#
for_window [instance = "tandem"] floating enable, sticky enable
for_window [instance = "tandem" title = "^Tandem$"] sticky disable
for_window [instance="tandem"] floating enable, sticky enable
for_window [instance="tandem" title="^Tandem$"] sticky disable
### Fixes
#

View File

@ -24,6 +24,7 @@ workspace 10 output $output_laptop
# Windows
#
assign [app_id="org.telegram.desktop.*"] workspace 9
for_window [instance="spotify"] move to workspace 9
assign [instance="mattermost"] workspace 10
assign [instance="google-chrome"] workspace 1
for_window [instance="google-chrome" title="Meet ...-....-..."] move container to workspace 7
@ -31,8 +32,8 @@ for_window [instance="google-chrome" title="apps"] move container to workspace 1
#
# Shortcuts
#
bindsym XF86Favorites exec google-chrome --new-window $DAILY
bindsym $mod+Shift+Control+a exec google-chrome --new-window $PAGES
bindsym XF86Favorites exec google-chrome --new-window $MICROSEC_DAILY
bindsym $mod+Shift+Control+a exec google-chrome --new-window $MICROSEC_PAGES
#
# Display controls: