Cleaned up scripts folder and moved some stuff
This commit is contained in:
parent
d003263cb6
commit
02642f9dc6
33 changed files with 42 additions and 142 deletions
|
@ -4,3 +4,4 @@ set $mod Mod4
|
|||
set $term alacritty
|
||||
set $gnome-schema org.gnome.desktop.interface
|
||||
set $wallpaper ~/Pictures/Wallpapers/random/$(ls ~/Pictures/Wallpapers/random | sort -R | tail -n 1)
|
||||
set $scripts ~/.config/sway/scripts
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# vim:ft=i3config
|
||||
|
||||
exec {
|
||||
$HOME/Scripts/swayidle.sh
|
||||
$scripts/idle.sh
|
||||
autotiling
|
||||
redshift-gtk -m wayland
|
||||
telegram-desktop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue