.config/sway/config
This commit is contained in:
parent
0365789182
commit
a306b30235
@ -108,14 +108,13 @@ bindsym Mod1+Shift+e exec "swaynag -t warning -m 'You pressed the exit shortcut.
|
|||||||
set $mode_system System (l) lock, (e) logout, (r) reboot, (CTRL+s) shutdown
|
set $mode_system System (l) lock, (e) logout, (r) reboot, (CTRL+s) shutdown
|
||||||
|
|
||||||
mode "$mode_system" {
|
mode "$mode_system" {
|
||||||
bindsym l exec --no-startup-id $swaylockwall, mode "default"
|
bindsym l exec --no-startup-id $swaylockwall, mode "default"
|
||||||
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"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+BackSpace mode "$mode_system"
|
bindsym $mod+BackSpace mode "$mode_system"
|
||||||
@ -266,45 +265,37 @@ 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
|
bindsym j resize shrink width 10 px or 10 ppt
|
||||||
|
bindsym k resize grow height 10 px or 10 ppt
|
||||||
# Pressing left will shrink the window’s width.
|
bindsym l resize shrink height 10 px or 10 ppt
|
||||||
# Pressing right will grow the window’s width.
|
bindsym ntilde resize grow width 10 px or 10 ppt
|
||||||
# Pressing up will shrink the window’s height.
|
# same bindings, but for the arrow keys
|
||||||
# Pressing down will grow the window’s height.
|
bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
bindsym j resize shrink width 10 px or 10 ppt
|
bindsym Down resize grow height 10 px or 10 ppt
|
||||||
bindsym k resize grow height 10 px or 10 ppt
|
bindsym Up resize shrink height 10 px or 10 ppt
|
||||||
bindsym l resize shrink height 10 px or 10 ppt
|
bindsym Right resize grow width 10 px or 10 ppt
|
||||||
bindsym ntilde resize grow width 10 px or 10 ppt
|
# back to normal: Enter or Escape or $mod+r
|
||||||
|
bindsym Return mode "default"
|
||||||
# same bindings, but for the arrow keys
|
bindsym Escape mode "default"
|
||||||
bindsym Left resize shrink width 10 px or 10 ppt
|
bindsym $mod+r mode "default"
|
||||||
bindsym Down resize grow 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
|
|
||||||
|
|
||||||
# back to normal: Enter or Escape or $mod+r
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
bindsym $mod+r mode "default"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
# Input layout
|
# Input layout
|
||||||
input * {
|
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
|
||||||
exec_always {
|
exec_always {
|
||||||
gsettings set $gnome-schema gtk-theme 'Arc-Dark'
|
gsettings set $gnome-schema gtk-theme 'Arc-Dark'
|
||||||
gsettings set $gnome-schema icon-theme 'Papirus-Dark'
|
gsettings set $gnome-schema icon-theme 'Papirus-Dark'
|
||||||
gsettings set $gnome-schema cursor-theme 'Adwaita'
|
gsettings set $gnome-schema cursor-theme 'Adwaita'
|
||||||
gsettings set $gnome-schema font-name 'Sans 10'
|
gsettings set $gnome-schema font-name 'Sans 10'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user