dotfiles/.config/sway/config.d/03-statusbar.conf

41 lines
1.2 KiB
Plaintext

# sway # statusbar
# bar with waybar with desktop icons, glyphs and infos
bar {
mode dock
hidden_state hide
swaybar_command waybar
}
# bar with swaybar with options: [1]command, [2]infobar or [3]i3status
#bar {
# position bottom
# font Hack 9
# height 22
# separator_symbol |
# status_padding 0
# strip_workspace_name yes
# mode dock
# hidden_state hide
# swaybar_command swaybar
# #[1]#status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
# #[2]#status_command while $HOME/.config/sway/scripts/infosbar; do sleep 2; done
# #[3]#status_command i3status
# colors {
# statusline #d8dee9ff
# background #2e3440d9
# focused_statusline #d8dee9ff
# focused_background #2e3440d9
# separator #d8dee9ff
# #bar colors border bground texte
# focused_workspace #5e81acff #5e81acff #d8dee9ff
# active_workspace #5e81acff #5e81acff #d8dee9ff
# inactive_workspace #2e3440d9 #2e3440d9 #d8dee9d9
# urgent_workspace #bf616aff #bf616aff #d8dee9ff
# }
#}
# show/hide bar
bindsym $mad+b exec "swaymsg bar mode hide bar-0"
bindsym $mad+Shift+b exec "swaymsg bar mode dock bar-0"