1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-10-30 23:51:51 +08:00
dotfiles/.config/sway/config.d/display
2023-07-16 09:49:32 +08:00

18 lines
409 B
Plaintext

# vim: filetype=swayconfig
# laptop output mode
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
# bar
bar swaybar_command waybar
#workspace_auto_back_and_forth yes
force_display_urgency_hint 500 ms
smart_borders no_gaps
# Use static wallpaper
output * bg $(find -L ~/.config/sway/Wallpaper/ -type f | shuf -n1) fill