sway hide bar

This commit is contained in:
thek4n 2025-11-19 14:28:14 +03:00
parent 4f868d83c9
commit fc168c197f
2 changed files with 10 additions and 3 deletions

View File

@ -2,9 +2,16 @@
# Sway bar # Sway bar
bar { bar {
mode hide
position bottom position bottom
status_command i3blocks status_command i3blocks
wrap_scroll no
hidden_state hide
output *
tray_output $primary
strip_workspace_name no
strip_workspace_numbers no
modifier $mod
} }
exec --no-startup-id layout_change_handler exec --no-startup-id layout_change_handler

View File

@ -94,6 +94,8 @@ bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show bindsym $mod+minus scratchpad show
bindsym --to-code $mod+b bar mode toggle
set $exitmode "Power: [e]xit, [r]eboot, [s]hutdown, s[u]spend, [l]ock, [b]lack, [R]UEFI" set $exitmode "Power: [e]xit, [r]eboot, [s]hutdown, s[u]spend, [l]ock, [b]lack, [R]UEFI"
mode $exitmode { mode $exitmode {
bindsym --to-code e exit bindsym --to-code e exit
@ -179,5 +181,3 @@ input type:keyboard {
repeat_delay 250 repeat_delay 250
repeat_rate 100 repeat_rate 100
} }
bindsym --to-code $mod+b bar mode toggle