Clean up Sway configuration

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2022-05-09 21:53:29 +02:00
parent 381b2f91f2
commit 793695fbb2
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4

View file

@ -11,17 +11,6 @@ set $mod Mod4
set $SUPER Mod4
set $ALT Mod1
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term kitty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu dmenu_path | dmenu | xargs swaymsg exec --
### Output configuration
#
@ -53,25 +42,13 @@ bindsym $SUPER+Shift+C reload
bindsym $SUPER+R exec fuzzel
# Moving around:
#
# Move your focus around
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# Or use $mod+[up|down|left|right]
# Moving focus
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# Ditto, with arrow keys
# Moving windows
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
@ -150,8 +127,6 @@ mode "Resize" {
bindsym Escape mode "default"
}
bar {
swaybar_command waybar
}