i3: added tidal-hifi config

master
Jef Roosens 2022-04-26 08:54:15 +02:00
parent 89cb8a89d2
commit d912e6750a
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
2 changed files with 13 additions and 1 deletions

View File

@ -59,3 +59,7 @@ bindsym $mod+m exec --no-startup-id pavucontrol -t 3
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu dmenu bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu dmenu
# Open Galculator # Open Galculator
bindsym XF86Calculator exec --no-startup-id galculator bindsym XF86Calculator exec --no-startup-id galculator
# Open tidal-hifi
# This keybindg is rather unusual as it should imply "move window to $wstidal",
# but because this workspace should only be used for tidal-hifi, it's okay.
bindsym Shift+$mod+n exec --no-startup-id tidal-hifi

View File

@ -5,6 +5,8 @@ set $ws02 ""
set $ws03 "" set $ws03 ""
set $ws04 "" set $ws04 ""
set $ws05 "" set $ws05 ""
# Workspace solely used for tidal-hifi
set $wstidal "T"
set $ws11 "α" set $ws11 "α"
set $ws12 "β" set $ws12 "β"
set $ws13 "γ" set $ws13 "γ"
@ -21,6 +23,7 @@ workspace $ws02 output primary
workspace $ws03 output primary workspace $ws03 output primary
workspace $ws04 output primary workspace $ws04 output primary
workspace $ws05 output primary workspace $ws05 output primary
workspace $wstidal output primary
workspace $ws11 output eDP-1-1 workspace $ws11 output eDP-1-1
workspace $ws12 output eDP-1-1 workspace $ws12 output eDP-1-1
workspace $ws13 output eDP-1-1 workspace $ws13 output eDP-1-1
@ -49,7 +52,7 @@ bindsym $mod+Shift+l move right
bindsym $mod+f fullscreen toggle bindsym $mod+f fullscreen toggle
# kill focused window # kill focused window
bindsym Shift+$mod+x kill bindsym $mod+x kill
# toggle tiling / floating # toggle tiling / floating
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle
@ -81,6 +84,7 @@ bindsym $mod+u workspace $ws02
bindsym $mod+i workspace $ws03 bindsym $mod+i workspace $ws03
bindsym $mod+o workspace $ws04 bindsym $mod+o workspace $ws04
bindsym $mod+p workspace $ws05 bindsym $mod+p workspace $ws05
bindsym $mod+n workspace $wstidal
# move focused container to main workspace # move focused container to main workspace
bindsym $mod+Shift+y move container to workspace $ws01 bindsym $mod+Shift+y move container to workspace $ws01
@ -135,3 +139,7 @@ mode "HDMI-0" {
} }
bindsym $mod+e mode "eDP-1-1" bindsym $mod+e mode "eDP-1-1"
# Force tidal-hifi to always spawn on $wstidal
assign [class="tidal-hifi"] $wstidal
no_focus [class="tidal-hifi"]