config
This commit is contained in:
parent
316a3ff9e4
commit
0ed437b0ea
@ -75,7 +75,6 @@ bindgesture swipe:left workspace next
|
||||
############################################
|
||||
|
||||
############### containers #################
|
||||
# numeric row
|
||||
bindsym --to-code {
|
||||
$altmod+1 mark 1
|
||||
$altmod+2 mark 2
|
||||
@ -100,7 +99,6 @@ bindsym --to-code {
|
||||
$mod+Minus opacity minus 0.05
|
||||
$altmod+Minus opacity plus 0.05
|
||||
}
|
||||
# numeric row
|
||||
bindsym --to-code {
|
||||
$altmod+KP_1 mark 1
|
||||
$altmod+KP_2 mark 2
|
||||
@ -123,9 +121,7 @@ bindsym --to-code {
|
||||
$mod+KP_9 [con_mark="9"] focus
|
||||
$mod+KP_0 [con_mark="0"] focus
|
||||
}
|
||||
# top row - layouts
|
||||
bindsym --to-code {
|
||||
$mod+p layout splitv
|
||||
$altmod+p split v
|
||||
$mod+l layout splith
|
||||
$altmod+l split h
|
||||
@ -139,7 +135,6 @@ bindsym --to-code {
|
||||
$altmod+y split h; layout tabbed
|
||||
$mod+j focus parent
|
||||
}
|
||||
# mid row - focus, movement
|
||||
bindsym --to-code {
|
||||
$mod+$fwd exec ~/.local/bin/sway/focus-cousin.sh prev
|
||||
$mod+$left focus left
|
||||
@ -156,7 +151,6 @@ bindsym --to-code {
|
||||
$altmod2+$down resize grow height 4ppt or 40px
|
||||
$altmod2+$right resize grow width 2ppt or 40px
|
||||
}
|
||||
# bottom row - 3d
|
||||
bindsym --to-code {
|
||||
$mod+d scratchpad show
|
||||
$altmod+d sticky enable; move scratchpad
|
||||
@ -170,6 +164,16 @@ bindsym --to-code {
|
||||
$mod+Slash exec ~/.local/bin/sway/search-mode.sh
|
||||
$mod+z focus child
|
||||
}
|
||||
bindsym --to-code {
|
||||
$mod+Left focus left
|
||||
$mod+Up focus up
|
||||
$mod+Down focus down
|
||||
$mod+Right focus right
|
||||
$altmod+Left move left 40px
|
||||
$altmod+Up move up 40px
|
||||
$altmod+Down move down 40px
|
||||
$altmod+Right move right 40px
|
||||
}
|
||||
floating_modifier $mod normal
|
||||
############################################
|
||||
|
||||
@ -184,6 +188,7 @@ bindsym --to-code {
|
||||
XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5% && pkill -SIGRTMIN+2 i3blocks
|
||||
XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% && pkill -SIGRTMIN+2 i3blocks
|
||||
XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle && pkill -SIGRTMIN+2 i3blocks
|
||||
XF86Calculator exec .local/bin/bemenu/run-calc.sh calc tui
|
||||
# basic scripts
|
||||
$mod+Return exec alacritty msg create-window
|
||||
$mod+Colon exec ~/.local/bin/sway/command-mode.sh
|
||||
|
Loading…
Reference in New Issue
Block a user