Add static workspace for music / Spotify
This commit is contained in:
parent
e680fc47cc
commit
8f7dd2ab05
|
@ -36,6 +36,7 @@ workspace $ws98 output DP-2
|
||||||
workspace $ws97 output DP-2
|
workspace $ws97 output DP-2
|
||||||
workspace $ws96 output DP-2
|
workspace $ws96 output DP-2
|
||||||
workspace $ws95 output DP-2
|
workspace $ws95 output DP-2
|
||||||
|
workspace $ws94 output DP-2
|
||||||
|
|
||||||
# To add a workspace, just create a bind below
|
# To add a workspace, just create a bind below
|
||||||
# Workspace binds
|
# Workspace binds
|
||||||
|
@ -70,6 +71,7 @@ set $ws98 98
|
||||||
set $ws97 97
|
set $ws97 97
|
||||||
set $ws96 96
|
set $ws96 96
|
||||||
set $ws95 95
|
set $ws95 95
|
||||||
|
set $ws94 94
|
||||||
|
|
||||||
# Move only the container to workspace
|
# Move only the container to workspace
|
||||||
bindsym $mod+Ctrl+backslash move container to workspace $ws99
|
bindsym $mod+Ctrl+backslash move container to workspace $ws99
|
||||||
|
@ -77,12 +79,14 @@ bindsym $mod+Ctrl+bracketright move container to workspace $ws98
|
||||||
bindsym $mod+Ctrl+apostrophe move container to workspace $ws97
|
bindsym $mod+Ctrl+apostrophe move container to workspace $ws97
|
||||||
bindsym $mod+Ctrl+slash move container to workspace $ws96
|
bindsym $mod+Ctrl+slash move container to workspace $ws96
|
||||||
bindsym $mod+Ctrl+period move container to workspace $ws95
|
bindsym $mod+Ctrl+period move container to workspace $ws95
|
||||||
|
bindsym $mod+Ctrl+comma move container to workspace $ws94
|
||||||
# Move to workspace with focused container
|
# Move to workspace with focused container
|
||||||
bindsym $mod+Shift+backslash move container to workspace $ws99; workspace $ws99
|
bindsym $mod+Shift+backslash move container to workspace $ws99; workspace $ws99
|
||||||
bindsym $mod+Shift+bracketright move container to workspace $ws98; workspace $ws98
|
bindsym $mod+Shift+bracketright move container to workspace $ws98; workspace $ws98
|
||||||
bindsym $mod+Shift+apostrophe move container to workspace $ws97; workspace $ws97
|
bindsym $mod+Shift+apostrophe move container to workspace $ws97; workspace $ws97
|
||||||
bindsym $mod+Shift+slash move container to workspace $ws96; workspace $ws96
|
bindsym $mod+Shift+slash move container to workspace $ws96; workspace $ws96
|
||||||
bindsym $mod+Shift+period move container to workspace $ws95; workspace $ws95
|
bindsym $mod+Shift+period move container to workspace $ws95; workspace $ws95
|
||||||
|
bindsym $mod+Shift+comma move container to workspace $ws94; workspace $ws94
|
||||||
|
|
||||||
# Custom named workspace keybinds
|
# Custom named workspace keybinds
|
||||||
# To get keysymbols, run 'xmodmap -pke'
|
# To get keysymbols, run 'xmodmap -pke'
|
||||||
|
@ -91,6 +95,7 @@ bindsym $mod+bracketright workspace number $ws98 # Mail
|
||||||
bindsym $mod+apostrophe workspace number $ws97 # Sec
|
bindsym $mod+apostrophe workspace number $ws97 # Sec
|
||||||
bindsym $mod+slash workspace number $ws96 # Web
|
bindsym $mod+slash workspace number $ws96 # Web
|
||||||
bindsym $mod+period workspace number $ws95 # Terminal
|
bindsym $mod+period workspace number $ws95 # Terminal
|
||||||
|
bindsym $mod+comma workspace number $ws94 # Musak
|
||||||
|
|
||||||
# Open applications on specific workspaces
|
# Open applications on specific workspaces
|
||||||
#assign [class="Signal"] $ws99
|
#assign [class="Signal"] $ws99
|
||||||
|
@ -112,6 +117,13 @@ assign [class="Signal"] $ws99
|
||||||
exec --no-startup-id i3-msg 'exec discord'
|
exec --no-startup-id i3-msg 'exec discord'
|
||||||
assign [class="discord"] $ws99
|
assign [class="discord"] $ws99
|
||||||
|
|
||||||
|
exec_always --no-startup-id i3-msg 'exec spotify'
|
||||||
|
for_window [class="Spotify"] move to workspace number $ws94
|
||||||
|
for_window [class="Spotify"] floating enable
|
||||||
|
for_window [class="Spotify"] resize set width 1200
|
||||||
|
for_window [class="Spotify"] resize set height 850
|
||||||
|
for_window [class="Spotify"] move position center
|
||||||
|
|
||||||
exec --no-startup-id i3-msg 'exec bitwarden'
|
exec --no-startup-id i3-msg 'exec bitwarden'
|
||||||
for_window [class="Bitwarden"] move to workspace number $ws97
|
for_window [class="Bitwarden"] move to workspace number $ws97
|
||||||
for_window [class="Bitwarden"] floating enable
|
for_window [class="Bitwarden"] floating enable
|
||||||
|
@ -126,7 +138,7 @@ for_window [class="firefox"] move to workspace number $ws96
|
||||||
# Passing -n to urxvt forces Xorg to default the WM_NAME to tmux
|
# Passing -n to urxvt forces Xorg to default the WM_NAME to tmux
|
||||||
# Only this instance of urxvt will have that WM_NAME
|
# Only this instance of urxvt will have that WM_NAME
|
||||||
# Prevents for_window from acting on new terminals
|
# Prevents for_window from acting on new terminals
|
||||||
exec_always --no-startup-id i3-msg 'exec urxvt -n sterm -e tmux -u'
|
exec --no-startup-id i3-msg 'exec urxvt -n sterm -e tmux -u'
|
||||||
for_window [title="tmux"] move to workspace number $ws95
|
for_window [title="tmux"] move to workspace number $ws95
|
||||||
for_window [title="tmux"] floating enable
|
for_window [title="tmux"] floating enable
|
||||||
for_window [title="tmux"] resize set height 700
|
for_window [title="tmux"] resize set height 700
|
||||||
|
@ -134,6 +146,7 @@ for_window [title="tmux"] resize set width 1000
|
||||||
for_window [title="tmux"] move position center
|
for_window [title="tmux"] move position center
|
||||||
|
|
||||||
# Enable popup calendar floating window for polybar
|
# Enable popup calendar floating window for polybar
|
||||||
|
# This only works properly on the primary Xdisplay?
|
||||||
for_window [class="Yad"] floating enable
|
for_window [class="Yad"] floating enable
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
|
|
|
@ -314,7 +314,7 @@ menu-0-1-foreground = #fba922
|
||||||
menu-0-1-exec = i3 restart
|
menu-0-1-exec = i3 restart
|
||||||
menu-0-2 = " Reboot "
|
menu-0-2 = " Reboot "
|
||||||
menu-0-2-foreground = #fba922
|
menu-0-2-foreground = #fba922
|
||||||
menu-0-2-exec = sudo /sbin/reboot
|
menu-0-2-exec = sudo reboot
|
||||||
menu-0-3 = " Power off "
|
menu-0-3 = " Power off "
|
||||||
menu-0-3-foreground = #fba922
|
menu-0-3-foreground = #fba922
|
||||||
menu-0-3-exec = sudo poweroff
|
menu-0-3-exec = sudo poweroff
|
||||||
|
@ -475,6 +475,7 @@ ws-icon-10 = 98;
|
||||||
ws-icon-11 = 97;
|
ws-icon-11 = 97;
|
||||||
ws-icon-12 = 96;爵
|
ws-icon-12 = 96;爵
|
||||||
ws-icon-13 = 95;
|
ws-icon-13 = 95;
|
||||||
|
ws-icon-14 = 94;
|
||||||
ws-icon-default =
|
ws-icon-default =
|
||||||
; NOTE: You cannot skip icons, e.g. to get a ws-icon-6
|
; NOTE: You cannot skip icons, e.g. to get a ws-icon-6
|
||||||
; you must also define a ws-icon-5.
|
; you must also define a ws-icon-5.
|
||||||
|
|
Loading…
Reference in New Issue