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

18 lines
411 B
Plaintext
Raw Normal View History

2023-07-16 09:49:32 +08:00
# vim: filetype=swayconfig
2022-08-25 09:45:10 +08:00
# laptop output mode
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
# bar
2023-10-10 21:24:00 +08:00
# bar swaybar_command waybar
2022-08-25 09:45:10 +08:00
#workspace_auto_back_and_forth yes
force_display_urgency_hint 500 ms
smart_borders no_gaps
2023-07-16 09:49:32 +08:00
# Use static wallpaper
output * bg $(find -L ~/.config/sway/Wallpaper/ -type f | shuf -n1) fill