Add a ton of i3 and sway stuff
This commit is contained in:
parent
15f30efa7b
commit
9a43cae5fa
22 changed files with 435 additions and 47 deletions
|
@ -2,7 +2,10 @@ for_window [window_role="pop-up"] floating enable
|
|||
for_window [window_role="task_dialog"] floating enable
|
||||
|
||||
# auth agent (the sudo popup)
|
||||
exec --no-startup-id polkit
|
||||
#exec --no-startup-id polkit
|
||||
|
||||
# Run suspend-lock
|
||||
#exec --no-startup-id xss-lock -- ~/.config/i3/scripts/suspend-lock.sh
|
||||
# Background
|
||||
exec --no-startup-id feh --no-fehbg --bg-fill '/home/askiiart/.config/i3/things/background.png'
|
||||
|
||||
# Lock
|
||||
bindsym $mod+Control+l exec --no-startup-id i3lock -c 202f56
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
|
||||
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# Change to vi-style nav
|
||||
bindsym $mod+h focus left
|
||||
|
@ -12,4 +12,24 @@ bindsym $mod+Shift+l move right
|
|||
bindsym $mod+semicolon split h
|
||||
|
||||
# Change term to kitty
|
||||
bindsym $mod+Return exec kitty
|
||||
bindsym $mod+Return exec kitty
|
||||
|
||||
# sleep and lock
|
||||
|
||||
# shutdown / restart / suspend...
|
||||
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (CTRL+s) shutdown
|
||||
|
||||
mode "$mode_system" {
|
||||
bindsym l exec --no-startup-id $i3lockwall, mode "default"
|
||||
bindsym e exec --no-startup-id i3-msg exit, mode "default"
|
||||
bindsym s exec --no-startup-id $i3lockwall && systemctl suspend, mode "default"
|
||||
bindsym h exec --no-startup-id $i3lockwall && systemctl hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||
bindsym Ctrl+s exec --no-startup-id systemctl poweroff -i, mode "default"
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+BackSpace mode "$mode_system"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue