This commit is contained in:
2025-03-25 01:47:41 +03:00
commit 6662c5f58c
17 changed files with 420 additions and 0 deletions

23
conf.d/binds/common Normal file
View File

@ -0,0 +1,23 @@
# Start a terminal
bindsym $mod+Return exec $term
bindsym Control+Alt+t exec $term
bindsym $mod+Shift+r reload
# Start application launcher
bindsym $mod+d exec rofi -show run
# Kill focused window
bindsym Alt+F4 kill
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'