|
|
@ -32,11 +32,11 @@ output * background $background solid_color
|
|
|
|
# Example configuration:
|
|
|
|
# Example configuration:
|
|
|
|
#
|
|
|
|
#
|
|
|
|
exec swayidle -w \
|
|
|
|
exec swayidle -w \
|
|
|
|
timeout 300 'lock' \
|
|
|
|
timeout 420 'lock' \
|
|
|
|
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
|
|
|
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
|
|
|
before-sleep 'lock'
|
|
|
|
before-sleep 'lock'
|
|
|
|
bindsym $mod+m exec lock
|
|
|
|
bindsym $mod+p exec lock
|
|
|
|
bindsym $mod+Shift+m exec "lock && doas su -c 'echo mem > /sys/power/state'"
|
|
|
|
bindsym $mod+Shift+p exec "lock && doas su -c 'echo mem > /sys/power/state'"
|
|
|
|
|
|
|
|
|
|
|
|
### Input configuration
|
|
|
|
### Input configuration
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -106,27 +106,27 @@ input * {
|
|
|
|
# Workspaces:
|
|
|
|
# Workspaces:
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Switch to workspace
|
|
|
|
# Switch to workspace
|
|
|
|
bindsym $mod+1 workspace number 1
|
|
|
|
bindsym $mod+m workspace number 1
|
|
|
|
bindsym $mod+2 workspace number 2
|
|
|
|
bindsym $mod+comma workspace number 2
|
|
|
|
bindsym $mod+3 workspace number 3
|
|
|
|
bindsym $mod+period workspace number 3
|
|
|
|
bindsym $mod+4 workspace number 4
|
|
|
|
# bindsym $mod+4 workspace number 4
|
|
|
|
bindsym $mod+5 workspace number 5
|
|
|
|
# bindsym $mod+5 workspace number 5
|
|
|
|
bindsym $mod+6 workspace number 6
|
|
|
|
# bindsym $mod+6 workspace number 6
|
|
|
|
bindsym $mod+7 workspace number 7
|
|
|
|
# bindsym $mod+7 workspace number 7
|
|
|
|
bindsym $mod+8 workspace "8: comms"
|
|
|
|
# bindsym $mod+8 workspace "8: comms"
|
|
|
|
bindsym $mod+9 workspace "9: media"
|
|
|
|
# bindsym $mod+9 workspace "9: media"
|
|
|
|
bindsym $mod+0 workspace number 10
|
|
|
|
# bindsym $mod+0 workspace number 10
|
|
|
|
# Move focused container to workspace
|
|
|
|
# Move focused container to workspace
|
|
|
|
bindsym $mod+Shift+1 move container to workspace number 1
|
|
|
|
bindsym $mod+Shift+m move container to workspace number 1
|
|
|
|
bindsym $mod+Shift+2 move container to workspace number 2
|
|
|
|
bindsym $mod+Shift+comma move container to workspace number 2
|
|
|
|
bindsym $mod+Shift+3 move container to workspace number 3
|
|
|
|
bindsym $mod+Shift+period move container to workspace number 3
|
|
|
|
bindsym $mod+Shift+4 move container to workspace number 4
|
|
|
|
# bindsym $mod+Shift+4 move container to workspace number 4
|
|
|
|
bindsym $mod+Shift+5 move container to workspace number 5
|
|
|
|
# bindsym $mod+Shift+5 move container to workspace number 5
|
|
|
|
bindsym $mod+Shift+6 move container to workspace number 6
|
|
|
|
# bindsym $mod+Shift+6 move container to workspace number 6
|
|
|
|
bindsym $mod+Shift+7 move container to workspace number 7
|
|
|
|
# bindsym $mod+Shift+7 move container to workspace number 7
|
|
|
|
bindsym $mod+Shift+8 move container to workspace "8: comms"
|
|
|
|
# bindsym $mod+Shift+8 move container to workspace "8: comms"
|
|
|
|
bindsym $mod+Shift+9 move container to workspace "9: media"
|
|
|
|
# bindsym $mod+Shift+9 move container to workspace "9: media"
|
|
|
|
bindsym $mod+Shift+0 move container to workspace number 10
|
|
|
|
# bindsym $mod+Shift+0 move container to workspace number 10
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Layout stuff:
|
|
|
|
# Layout stuff:
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -218,7 +218,6 @@ bindsym --locked XF86AudioRaiseVolume exec 'pamixer -i 5'
|
|
|
|
bindsym --locked XF86AudioLowerVolume exec 'pamixer -d 5'
|
|
|
|
bindsym --locked XF86AudioLowerVolume exec 'pamixer -d 5'
|
|
|
|
bindsym --locked XF86AudioMute exec 'pamixer --toggle-mute'
|
|
|
|
bindsym --locked XF86AudioMute exec 'pamixer --toggle-mute'
|
|
|
|
bindsym --locked XF86AudioMicMute exec 'pamixer --default-source --toggle-mute'
|
|
|
|
bindsym --locked XF86AudioMicMute exec 'pamixer --default-source --toggle-mute'
|
|
|
|
bindsym --locked $mod+c exec 'pamixer --default-source --toggle-mute'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/altdesktop/playerctl
|
|
|
|
# https://github.com/altdesktop/playerctl
|
|
|
|
bindsym --locked XF86AudioMedia exec 'playerctl play-pause'
|
|
|
|
bindsym --locked XF86AudioMedia exec 'playerctl play-pause'
|
|
|
@ -229,9 +228,7 @@ bindsym --locked XF86AudioNext exec 'playerctl next'
|
|
|
|
bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
|
|
|
|
bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
|
|
|
|
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
|
|
|
|
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
|
|
|
|
|
|
|
|
|
|
|
|
default_border pixel 5
|
|
|
|
default_border pixel 10
|
|
|
|
# gaps outer 5
|
|
|
|
|
|
|
|
gaps inner 5
|
|
|
|
|
|
|
|
smart_borders on
|
|
|
|
smart_borders on
|
|
|
|
smart_gaps on
|
|
|
|
smart_gaps on
|
|
|
|
|
|
|
|
|
|
|
@ -242,11 +239,11 @@ for_window [title="."] inhibit_idle fullscreen
|
|
|
|
for_window [title="Firefox — Sharing Indicator"] floating enable
|
|
|
|
for_window [title="Firefox — Sharing Indicator"] floating enable
|
|
|
|
for_window [app_id="fzf"] floating enable
|
|
|
|
for_window [app_id="fzf"] floating enable
|
|
|
|
|
|
|
|
|
|
|
|
assign [title="https:\/\/discord.com - "] "8: comms"
|
|
|
|
assign [title="https:\/\/discord.com - "] "3"
|
|
|
|
assign [title="https:\/\/web.whatsapp.com - "] "8: comms"
|
|
|
|
assign [title="https:\/\/web.whatsapp.com - "] "3"
|
|
|
|
assign [title="https:\/\/[a-z]+.zulipchat.com - "] "8: comms"
|
|
|
|
assign [title="https:\/\/[a-z]+.zulipchat.com - "] "3"
|
|
|
|
assign [app_id="neomutt"] "8: comms"
|
|
|
|
assign [app_id="neomutt"] "3"
|
|
|
|
assign [app_id="telegram-desktop"] "8: comms"
|
|
|
|
assign [app_id="telegram-desktop"] "3"
|
|
|
|
|
|
|
|
|
|
|
|
for_window [title="https:\/\/discord.com - "] layout tabbed
|
|
|
|
for_window [title="https:\/\/discord.com - "] layout tabbed
|
|
|
|
for_window [title="https:\/\/web.whatsapp.com - "] layout tabbed
|
|
|
|
for_window [title="https:\/\/web.whatsapp.com - "] layout tabbed
|
|
|
|