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