Cleaned up scripts folder and moved some stuff

This commit is contained in:
Marko Korhonen 2020-04-17 10:36:41 +03:00
parent 3abc0fb48e
commit 4ac17b2e0b
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
33 changed files with 42 additions and 142 deletions

View file

@ -6,8 +6,34 @@ bindsym $mod+Return exec $term
# kill focused window
bindsym $mod+w kill
# start your launcher
bindsym $mod+Shift+p exec rofi-pass --bmarks
# Modes for controlling gaps
set $mode_gaps Gaps: (o) outer, (i) inner
set $mode_gaps_outer Outer Gaps: j|k|0|r|i
set $mode_gaps_inner Inner Gaps: j|k|0|r|o
bindsym $mod+g mode "$mode_gaps"
mode "$mode_gaps" {
bindsym o mode "$mode_gaps_outer"
bindsym i mode "$mode_gaps_inner"
bindsym Escape mode "default"
}
mode "$mode_gaps_inner" {
bindsym j gaps inner all minus 1
bindsym k gaps inner all plus 1
bindsym 0 gaps inner all set 0
bindsym r gaps inner all set 10
bindsym i mode "$mode_gaps_outer"
bindsym Escape mode "default"
}
mode "$mode_gaps_outer" {
bindsym j gaps outer all minus 1
bindsym k gaps outer all plus 1
bindsym 0 gaps outer all set 0
bindsym r gaps outer all set 10
bindsym o mode "$mode_gaps_inner"
bindsym Escape mode "default"
}
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
@ -27,7 +53,7 @@ bindsym --locked XF86Search output eDP-1 toggle
# FZF
# exit menu
bindsym $mod+Shift+e exec $term --class fzf-launcher -e $HOME/Scripts/sway-exit.sh
bindsym $mod+Shift+e exec $term --class fzf-launcher -e $scripts/exit.sh
# launch a program
bindsym $mod+d exec wofi
bindsym $mod+Shift+d exec wofi --show run