.config/sway/config

This commit is contained in:
q3aql 2025-08-03 19:19:40 +02:00
parent 0365789182
commit a306b30235

View File

@ -112,7 +112,6 @@ mode "$mode_system" {
bindsym e exec --no-startup-id swaymsg exit, mode "default" bindsym e exec --no-startup-id swaymsg exit, mode "default"
bindsym r exec --no-startup-id /sbin/reboot, mode "default" bindsym r exec --no-startup-id /sbin/reboot, mode "default"
bindsym Ctrl+s exec --no-startup-id /sbin/poweroff, mode "default" bindsym Ctrl+s exec --no-startup-id /sbin/poweroff, mode "default"
# back to normal: Enter or Escape # back to normal: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
@ -266,23 +265,15 @@ bindsym $mod+Shift+e exec "swaynag -t warning -m 'You pressed the exit shortcut.
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt bindsym l resize shrink height 10 px or 10 ppt
bindsym ntilde resize grow width 10 px or 10 ppt bindsym ntilde resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys # same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape or $mod+r # back to normal: Enter or Escape or $mod+r
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
@ -296,7 +287,7 @@ input * {
#xkb_layout "us" #xkb_layout "us"
xkb_layout "es" xkb_layout "es"
#xkb_variant "colemak" #xkb_variant "colemak"
} }
# Load GTK3 for Wayland apps (Arc+Papirus Theme) # Load GTK3 for Wayland apps (Arc+Papirus Theme)
set $gnome-schema org.gnome.desktop.interface set $gnome-schema org.gnome.desktop.interface