many changes
This commit is contained in:
@@ -308,6 +308,7 @@ exec dunst
|
||||
#exec --no-startup-id swaybg -c "#000000" -m fill -i ~/.config/wallpaper/wot.jpg
|
||||
# exec --no-startup-id gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
|
||||
exec 'sleep 2; swaymsg workspace $ws8; swaymsg layout tabbed'
|
||||
exec mako --default-timeout=5000
|
||||
|
||||
# wallpaper
|
||||
output eDP-1 scale 1.5
|
||||
@@ -340,8 +341,8 @@ set $laptop_screen 'eDP-1'
|
||||
|
||||
# Clamshell mode or lock & sleep
|
||||
# This is a if/else statement: [ outputs_count == 1 ] && true || false
|
||||
bindswitch --locked lid:on exec '[ $(swaymsg -t get_outputs | grep name | wc -l) == 1 ] && ($sleep) || swaymsg output $laptop_screen disable'
|
||||
#bindswitch --locked lid:on exec 'swaymsg output $laptop_screen disable'
|
||||
# bindswitch --locked lid:on exec '[ $(swaymsg -t get_outputs | grep name | wc -l) == 1 ] && ($sleep) || swaymsg output $laptop_screen disable'
|
||||
bindswitch --locked lid:on exec 'swaymsg output $laptop_screen disable'
|
||||
bindswitch --locked lid:off output $laptop_screen enable
|
||||
|
||||
# disable xwayland
|
||||
|
||||
Reference in New Issue
Block a user