1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-23 11:21:50 +08:00
dotfiles/.config/sway/conf.d/display
2024-01-06 11:35:43 +08:00

18 lines
411 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