Clean up Sway configuration
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
381b2f91f2
commit
793695fbb2
1 changed files with 10 additions and 35 deletions
|
@ -11,17 +11,6 @@ set $mod Mod4
|
||||||
set $SUPER Mod4
|
set $SUPER Mod4
|
||||||
set $ALT Mod1
|
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
|
### Output configuration
|
||||||
#
|
#
|
||||||
|
@ -53,29 +42,17 @@ bindsym $SUPER+Shift+C reload
|
||||||
|
|
||||||
bindsym $SUPER+R exec fuzzel
|
bindsym $SUPER+R exec fuzzel
|
||||||
|
|
||||||
# Moving around:
|
# Moving focus
|
||||||
#
|
bindsym $mod+Left focus left
|
||||||
# Move your focus around
|
bindsym $mod+Down focus down
|
||||||
bindsym $mod+$left focus left
|
bindsym $mod+Up focus up
|
||||||
bindsym $mod+$down focus down
|
bindsym $mod+Right focus right
|
||||||
bindsym $mod+$up focus up
|
|
||||||
bindsym $mod+$right focus right
|
|
||||||
# Or use $mod+[up|down|left|right]
|
|
||||||
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
|
# Moving windows
|
||||||
bindsym $mod+Shift+$left move left
|
bindsym $mod+Shift+Left move left
|
||||||
bindsym $mod+Shift+$down move down
|
bindsym $mod+Shift+Down move down
|
||||||
bindsym $mod+Shift+$up move up
|
bindsym $mod+Shift+Up move up
|
||||||
bindsym $mod+Shift+$right move right
|
bindsym $mod+Shift+Right move right
|
||||||
# Ditto, with arrow keys
|
|
||||||
bindsym $mod+Shift+Left move left
|
|
||||||
bindsym $mod+Shift+Down move down
|
|
||||||
bindsym $mod+Shift+Up move up
|
|
||||||
bindsym $mod+Shift+Right move right
|
|
||||||
|
|
||||||
# Moving workspaces to other displays
|
# Moving workspaces to other displays
|
||||||
bindsym $SUPER+$ALT+Left move workspace to output left
|
bindsym $SUPER+$ALT+Left move workspace to output left
|
||||||
|
@ -150,8 +127,6 @@ mode "Resize" {
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue