sway: harmonized settings with i3

This commit is contained in:
Tobias Schmidl 2024-02-29 09:49:18 +01:00
parent 2ee7933c82
commit f9dad269e3

View file

@ -29,7 +29,7 @@ set $menu dmenu_path | dmenu -sb '#002b36' -sf '#839496' -nb '#839496' -nf '#002
### Output configuration
#
# wallpaper
output * bg $HOME/Bilder/current.jpg fit #000000
output * bg $HOME/Bilder/current.jpg fit #002b36
#
# Screen
output eDP-1 resolution 1920x1080 position 0,0
@ -77,7 +77,7 @@ input type:keyboard {
bindsym $mod+Shift+q kill
# Start your launcher
bindsym $mod+d exec $menu
bindsym $mod+space exec $menu
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
@ -163,7 +163,7 @@ input type:keyboard {
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
bindsym $mod+Alt+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
@ -256,8 +256,8 @@ bar {
exec xrdb $HOME/.Xresources
exec mako
exec swayidle -w \
timeout 60 'swaylock -f -c 000000' \
timeout 90 'swaymsg "output * dpms off"' \
timeout 120 'swaylock -f -c 000000' \
timeout 180 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000' \
lock 'swaylock -f -c 000000'