Use variables for custom i3 workspace names
This commit is contained in:
parent
8f3c977bf1
commit
77a67f562a
|
@ -31,6 +31,10 @@ set $down n
|
|||
set $up e
|
||||
set $right i
|
||||
|
||||
set $telegram " "
|
||||
set $firefox " "
|
||||
set $thunderbird " "
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:MonoFont {{ .i3.font_size }}
|
||||
|
@ -99,9 +103,9 @@ bindsym $mod+7 workspace number 7
|
|||
bindsym $mod+8 workspace number 8
|
||||
bindsym $mod+9 workspace number 9
|
||||
bindsym $mod+0 workspace number 10
|
||||
bindsym $mod+p workspace
|
||||
bindsym $mod+w workspace
|
||||
bindsym $mod+m workspace
|
||||
bindsym $mod+p workspace $telegram
|
||||
bindsym $mod+w workspace $firefox
|
||||
bindsym $mod+m workspace $thunderbird
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace number 1
|
||||
|
@ -114,9 +118,9 @@ bindsym $mod+Shift+7 move container to workspace number 7
|
|||
bindsym $mod+Shift+8 move container to workspace number 8
|
||||
bindsym $mod+Shift+9 move container to workspace number 9
|
||||
bindsym $mod+Shift+0 move container to workspace number 10
|
||||
bindsym $mod+Shift+p move container to workspace
|
||||
bindsym $mod+Shift+w move container to workspace
|
||||
bindsym $mod+Shift+m move container to workspace
|
||||
bindsym $mod+Shift+p move container to workspace $telegram
|
||||
bindsym $mod+Shift+w move container to workspace $firefox
|
||||
bindsym $mod+Shift+m move container to workspace $thunderbird
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
|
@ -179,15 +183,13 @@ bindsym $mod+Print exec "pyazo -d"
|
|||
workspace_layout tabbed
|
||||
|
||||
# Auto-assign programs to certain workspaces
|
||||
assign [class="(?i)firefox"]
|
||||
assign [class="(?i)chromium"]
|
||||
assign [class="Telegram"]
|
||||
assign [class="thunderbird"]
|
||||
assign [class="(?i)slack"]
|
||||
assign [class="(?i)firefox"] $firefox
|
||||
assign [class="(?i)chromium"] $firefox
|
||||
assign [class="Telegram"] $telegram
|
||||
assign [class="thunderbird"] $thunderbird
|
||||
assign [class="(?i)slack"] $telegram
|
||||
for_window [class="Lxappearance"] floating enable
|
||||
for_window [class="Spotify"] move to workspace
|
||||
for_window [class="tidal-hifi"] move to workspace
|
||||
for_window [class="deezer"] move to workspace
|
||||
for_window [class="tidal-hifi"] move to workspace $telegram
|
||||
|
||||
new_window pixel 2
|
||||
hide_edge_borders smart
|
||||
|
@ -218,6 +220,7 @@ bindsym $mod+F12 mode "$mode_kb_select"
|
|||
|
||||
bar {
|
||||
position top
|
||||
padding -2px 0 -1px
|
||||
tray_output none
|
||||
status_command ~/.local/share/bumblebee-status/bumblebee-status -c ~/.config/bumblebee-status/top.toml
|
||||
bindsym button4 nop
|
||||
|
@ -233,6 +236,7 @@ bar {
|
|||
|
||||
bar {
|
||||
position bottom
|
||||
padding -2px 0 -1px
|
||||
tray_output {{ .i3.tray_output }}
|
||||
status_command ~/.local/share/bumblebee-status/bumblebee-status -c ~/.config/bumblebee-status/bottom.toml
|
||||
bindsym button4 nop
|
||||
|
|
Loading…
Reference in New Issue