Dotfiles config update (2023-04-30)
This commit is contained in:
parent
196535bad6
commit
cda9008e58
|
@ -179,58 +179,58 @@ default_border pixel 2
|
||||||
|
|
||||||
# Define names for default workspaces for which we configure key bindings later on.
|
# Define names for default workspaces for which we configure key bindings later on.
|
||||||
# We use variables to avoid repeating the names in multiple places.
|
# We use variables to avoid repeating the names in multiple places.
|
||||||
set $ws1 "[term]"
|
set $ws1 "1:[term]"
|
||||||
set $ws2 "[www]"
|
set $ws2 "2:[www]"
|
||||||
set $ws3 "[chat]"
|
set $ws3 "3:[chat]"
|
||||||
set $ws4 "[files]"
|
set $ws4 "4:[files]"
|
||||||
set $ws5 "[media]"
|
set $ws5 "5:[media]"
|
||||||
set $ws6 "[game]"
|
set $ws6 "6:[game]"
|
||||||
set $ws7 "[mail]"
|
set $ws7 "7:[mail]"
|
||||||
set $ws8 "[dev]"
|
set $ws8 "8:[dev]"
|
||||||
set $ws9 "[vm]"
|
set $ws9 "9:[vm]"
|
||||||
set $ws10 "[all]"
|
set $ws10 "10:[all]"
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace [term]
|
bindsym $mod+1 workspace $ws1
|
||||||
bindsym $mod+2 workspace [www]
|
bindsym $mod+2 workspace $ws2
|
||||||
bindsym $mod+3 workspace [chat]
|
bindsym $mod+3 workspace $ws3
|
||||||
bindsym $mod+4 workspace [files]
|
bindsym $mod+4 workspace $ws4
|
||||||
bindsym $mod+5 workspace [media]
|
bindsym $mod+5 workspace $ws5
|
||||||
bindsym $mod+6 workspace [game]
|
bindsym $mod+6 workspace $ws6
|
||||||
bindsym $mod+7 workspace [mail]
|
bindsym $mod+7 workspace $ws7
|
||||||
bindsym $mod+8 workspace [dev]
|
bindsym $mod+8 workspace $ws8
|
||||||
bindsym $mod+9 workspace [vm]
|
bindsym $mod+9 workspace $ws9
|
||||||
bindsym $mod+0 workspace [all]
|
bindsym $mod+0 workspace $ws10
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace [term]
|
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||||
bindsym $mod+Shift+2 move container to workspace [www]
|
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||||
bindsym $mod+Shift+3 move container to workspace [chat]
|
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||||
bindsym $mod+Shift+4 move container to workspace [files]
|
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||||
bindsym $mod+Shift+5 move container to workspace [media]
|
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||||
bindsym $mod+Shift+6 move container to workspace [game]
|
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||||
bindsym $mod+Shift+7 move container to workspace [mail]
|
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||||
bindsym $mod+Shift+8 move container to workspace [dev]
|
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||||
bindsym $mod+Shift+9 move container to workspace [vm]
|
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||||
bindsym $mod+Shift+0 move container to workspace [all]
|
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||||
|
|
||||||
# force a window on a named workspace
|
# force a window on a named workspace
|
||||||
assign [class="Firefox"] [www]
|
assign [class="Firefox"] $ws2
|
||||||
#assign [app_id="mpv"] [media]
|
#assign [class="mpv"] $ws5
|
||||||
assign [class="vlc"] [media]
|
assign [class="vlc"] $ws5
|
||||||
assign [class="Ristretto"] [media]
|
assign [class="Ristretto"] $ws5
|
||||||
assign [class="Gimp"] [media]
|
assign [class="Gimp"] $ws5
|
||||||
assign [class="Gimp-2.10"] [media]
|
assign [class="Gimp-2.10"] $ws5
|
||||||
assign [class="Mozilla VPN"] [www]
|
assign [class="Mozilla VPN"] $ws2
|
||||||
assign [class="XTerm"] [term]
|
assign [class="XTerm"] $ws1
|
||||||
assign [app_id="VirtualBox Manager"] [vm]
|
assign [class="VirtualBoxVM"] $ws9
|
||||||
assign [class="VirtualBox Machine"] [vm]
|
assign [class="VirtualBox Machine"] $ws9
|
||||||
assign [class="Steam"] [game]
|
assign [class="Steam"] $ws6
|
||||||
assign [app_id="Telegram"] [chat]
|
assign [class="Telegram"] $ws3
|
||||||
assign [app_id="Signal"] [chat]
|
assign [class="Signal"] $ws3
|
||||||
assign [class="Pcmanfm"] [files]
|
assign [class="Pcmanfm"] $ws4
|
||||||
assign [app_id="Mousepad"] [dev]
|
assign [class="Mousepad"] $ws8
|
||||||
assign [app_id="Geany"] [dev]
|
assign [class="Geany"] $ws8
|
||||||
|
|
||||||
# force floatin windows
|
# force floatin windows
|
||||||
for_window [app_id="Volume Control" ] floating enable
|
for_window [app_id="Volume Control" ] floating enable
|
||||||
|
@ -308,6 +308,7 @@ exec_always {
|
||||||
bar {
|
bar {
|
||||||
position top
|
position top
|
||||||
status_command ~/.config/sway/scripts/status_bar.sh
|
status_command ~/.config/sway/scripts/status_bar.sh
|
||||||
|
strip_workspace_numbers yes
|
||||||
#swaybar_command waybar
|
#swaybar_command waybar
|
||||||
workspace_buttons yes
|
workspace_buttons yes
|
||||||
#tray_output DP-0
|
#tray_output DP-0
|
||||||
|
|
|
@ -179,58 +179,58 @@ default_border pixel 2
|
||||||
|
|
||||||
# Define names for default workspaces for which we configure key bindings later on.
|
# Define names for default workspaces for which we configure key bindings later on.
|
||||||
# We use variables to avoid repeating the names in multiple places.
|
# We use variables to avoid repeating the names in multiple places.
|
||||||
set $ws1 "[term]"
|
set $ws1 "1:[term]"
|
||||||
set $ws2 "[www]"
|
set $ws2 "2:[www]"
|
||||||
set $ws3 "[chat]"
|
set $ws3 "3:[chat]"
|
||||||
set $ws4 "[files]"
|
set $ws4 "4:[files]"
|
||||||
set $ws5 "[media]"
|
set $ws5 "5:[media]"
|
||||||
set $ws6 "[game]"
|
set $ws6 "6:[game]"
|
||||||
set $ws7 "[mail]"
|
set $ws7 "7:[mail]"
|
||||||
set $ws8 "[dev]"
|
set $ws8 "8:[dev]"
|
||||||
set $ws9 "[vm]"
|
set $ws9 "9:[vm]"
|
||||||
set $ws10 "[all]"
|
set $ws10 "10:[all]"
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace [term]
|
bindsym $mod+1 workspace $ws1
|
||||||
bindsym $mod+2 workspace [www]
|
bindsym $mod+2 workspace $ws2
|
||||||
bindsym $mod+3 workspace [chat]
|
bindsym $mod+3 workspace $ws3
|
||||||
bindsym $mod+4 workspace [files]
|
bindsym $mod+4 workspace $ws4
|
||||||
bindsym $mod+5 workspace [media]
|
bindsym $mod+5 workspace $ws5
|
||||||
bindsym $mod+6 workspace [game]
|
bindsym $mod+6 workspace $ws6
|
||||||
bindsym $mod+7 workspace [mail]
|
bindsym $mod+7 workspace $ws7
|
||||||
bindsym $mod+8 workspace [dev]
|
bindsym $mod+8 workspace $ws8
|
||||||
bindsym $mod+9 workspace [vm]
|
bindsym $mod+9 workspace $ws9
|
||||||
bindsym $mod+0 workspace [all]
|
bindsym $mod+0 workspace $ws10
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace [term]
|
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||||
bindsym $mod+Shift+2 move container to workspace [www]
|
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||||
bindsym $mod+Shift+3 move container to workspace [chat]
|
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||||
bindsym $mod+Shift+4 move container to workspace [files]
|
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||||
bindsym $mod+Shift+5 move container to workspace [media]
|
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||||
bindsym $mod+Shift+6 move container to workspace [game]
|
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||||
bindsym $mod+Shift+7 move container to workspace [mail]
|
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||||
bindsym $mod+Shift+8 move container to workspace [dev]
|
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||||
bindsym $mod+Shift+9 move container to workspace [vm]
|
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||||
bindsym $mod+Shift+0 move container to workspace [all]
|
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||||
|
|
||||||
# force a window on a named workspace
|
# force a window on a named workspace
|
||||||
assign [class="Firefox"] [www]
|
assign [class="Firefox"] $ws2
|
||||||
#assign [app_id="mpv"] [media]
|
#assign [class="mpv"] $ws5
|
||||||
assign [class="vlc"] [media]
|
assign [class="vlc"] $ws5
|
||||||
assign [class="Ristretto"] [media]
|
assign [class="Ristretto"] $ws5
|
||||||
assign [class="Gimp"] [media]
|
assign [class="Gimp"] $ws5
|
||||||
assign [class="Gimp-2.10"] [media]
|
assign [class="Gimp-2.10"] $ws5
|
||||||
assign [class="Mozilla VPN"] [www]
|
assign [class="Mozilla VPN"] $ws2
|
||||||
assign [class="XTerm"] [term]
|
assign [class="XTerm"] $ws1
|
||||||
assign [app_id="VirtualBox Manager"] [vm]
|
assign [class="VirtualBoxVM"] $ws9
|
||||||
assign [class="VirtualBox Machine"] [vm]
|
assign [class="VirtualBox Machine"] $ws9
|
||||||
assign [class="Steam"] [game]
|
assign [class="Steam"] $ws6
|
||||||
assign [app_id="Telegram"] [chat]
|
assign [class="Telegram"] $ws3
|
||||||
assign [app_id="Signal"] [chat]
|
assign [class="Signal"] $ws3
|
||||||
assign [class="Pcmanfm"] [files]
|
assign [class="Pcmanfm"] $ws4
|
||||||
assign [app_id="Mousepad"] [dev]
|
assign [class="Mousepad"] $ws8
|
||||||
assign [app_id="Geany"] [dev]
|
assign [class="Geany"] $ws8
|
||||||
|
|
||||||
# force floatin windows
|
# force floatin windows
|
||||||
for_window [app_id="Volume Control" ] floating enable
|
for_window [app_id="Volume Control" ] floating enable
|
||||||
|
@ -308,6 +308,7 @@ exec_always {
|
||||||
bar {
|
bar {
|
||||||
position top
|
position top
|
||||||
status_command ~/.config/sway/scripts/status_bar.sh
|
status_command ~/.config/sway/scripts/status_bar.sh
|
||||||
|
strip_workspace_numbers yes
|
||||||
#swaybar_command waybar
|
#swaybar_command waybar
|
||||||
workspace_buttons yes
|
workspace_buttons yes
|
||||||
#tray_output DP-0
|
#tray_output DP-0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user