mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 11:04:41 +02:00
[sway] fix indents and wrong lock-path
This commit is contained in:
parent
51fce006d8
commit
30b9513c29
1 changed files with 29 additions and 31 deletions
60
sway/config
60
sway/config
|
@ -134,7 +134,7 @@ bindsym $mod+Return exec $term
|
||||||
# screensaver
|
# screensaver
|
||||||
bindsym $mod+z exec ~/.dotfiles/sway/lock.sh
|
bindsym $mod+z exec ~/.dotfiles/sway/lock.sh
|
||||||
bindsym $mod+y exec ~/.dotfiles/sway/lock.sh
|
bindsym $mod+y exec ~/.dotfiles/sway/lock.sh
|
||||||
bindsym Scroll_Lock exec ~/.dotfiles/config/sway/lock.sh
|
bindsym Scroll_Lock exec ~/.dotfiles/sway/lock.sh
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+d exec albert toggle || albert
|
bindsym $mod+d exec albert toggle || albert
|
||||||
|
@ -156,17 +156,15 @@ bindsym $mod+c layout toggle split
|
||||||
|
|
||||||
# toggle tiling / floating
|
# toggle tiling / floating
|
||||||
bindsym $mod+Shift+space floating toggle
|
bindsym $mod+Shift+space floating toggle
|
||||||
#bindsym $mod+space focus mode_toggle
|
|
||||||
bindsym $mod+space exec setxkbmap de -option ctrl:nocaps
|
|
||||||
# focus the child container
|
# focus the child container
|
||||||
bindsym $mod+s focus child
|
bindsym $mod+s focus child
|
||||||
# focus the parent container
|
# focus the parent container
|
||||||
bindsym $mod+a focus parent
|
bindsym $mod+a focus parent
|
||||||
|
|
||||||
bindsym Mod1+Left move workspace to output left
|
bindsym Mod1+Left move workspace to output left
|
||||||
bindsym Mod1+Right move workspace to output right
|
bindsym Mod1+Right move workspace to output right
|
||||||
bindsym Mod1+Up move workspace to output up
|
bindsym Mod1+Up move workspace to output up
|
||||||
bindsym Mod1+Down move workspace to output down
|
bindsym Mod1+Down move workspace to output down
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace 1
|
bindsym $mod+1 workspace 1
|
||||||
|
@ -208,36 +206,36 @@ bindsym Ctrl+9 move container to workspace 9; workspace 9
|
||||||
bindsym $mod+n exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
|
bindsym $mod+n exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
|
||||||
|
|
||||||
#FOCUS
|
#FOCUS
|
||||||
bindsym $mod+$left focus left
|
bindsym $mod+$left focus left
|
||||||
bindsym $mod+$down focus down
|
bindsym $mod+$down focus down
|
||||||
bindsym $mod+$up focus up
|
bindsym $mod+$up focus up
|
||||||
bindsym $mod+$right focus right
|
bindsym $mod+$right focus right
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+Left focus left
|
||||||
bindsym $mod+Down focus down
|
bindsym $mod+Down focus down
|
||||||
bindsym $mod+Up focus up
|
bindsym $mod+Up focus up
|
||||||
bindsym $mod+Right focus right
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
# move focused window
|
# move focused window
|
||||||
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
|
||||||
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
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
bindsym $left resize shrink width 10 px or 10 ppt
|
bindsym $left resize shrink width 10 px or 10 ppt
|
||||||
bindsym $down resize shrink height 10 px or 10 ppt
|
bindsym $down resize shrink height 10 px or 10 ppt
|
||||||
bindsym $up resize grow height 10 px or 10 ppt
|
bindsym $up resize grow 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
|
||||||
|
|
||||||
bindsym Left resize shrink width 10 px or 10 ppt
|
bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
bindsym Up resize grow height 10 px or 10 ppt
|
bindsym Up resize grow height 10 px or 10 ppt
|
||||||
bindsym Down resize shrink height 10 px or 10 ppt
|
bindsym Down 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
|
||||||
|
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
|
@ -287,4 +285,4 @@ bar {
|
||||||
}
|
}
|
||||||
|
|
||||||
include ~/.config/sway/`hostname`
|
include ~/.config/sway/`hostname`
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue