Compare commits

...

3 Commits

Author SHA1 Message Date
8c7fc1a387 Add keybinds for locking, fix wofi doubling up 2024-08-28 23:45:19 -05:00
a1a5a4e2f5 Add polkitd 2024-08-28 23:42:20 -05:00
24759eceee Add swayidle 2024-08-28 23:42:16 -05:00
4 changed files with 14 additions and 1 deletions

View File

@ -5,7 +5,7 @@ $mainMod = ALT
# Program opening and closing
bind = $mainMod, Return, exec, foot
bind = $mainMod, Q, killactive
bind = $mainMod, Space, exec, wofi -i --show drun
bind = $mainMod, Space, exec, pgrep wofi || wofi -i --show drun
#bind = $mainMod, M, exit,
bind = $mainMod, T, pseudo, # dwindle
bind = $mainMod, F, togglefloating,
@ -29,6 +29,9 @@ bind = $mainMod, O, exec, grim -g "$(slurp -d)" - | wl-copy
bind = $mainMod, P, exec, pgrep pavucontrol || pavucontrol
bind = $mainMod Shift, P, exec, pkill pavucontrol
# Miscellaneous non-movement hotkeys
bind = CTRL ALT, L, exec, loginctl lock-session
# Change focus
bind = $mainMod, h, movefocus, l
bind = $mainMod, j, movefocus, d

View File

@ -2,6 +2,9 @@
# Run this at first to fix up some systemd stuff
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# Polkit
exec-once = /usr/libexec/xfce-polkit
# Daemons and stuff
exec-once = nm-applet
exec-once = flatpak run com.nextcloud.desktopclient.nextcloud --background

View File

@ -0,0 +1,3 @@
# vim: set ft=config:
# Configuration for swayidle is in ~/.config/swayidle/config
exec-once = swayidle -w

View File

@ -0,0 +1,4 @@
timeout 900 'swaylock -f'
before-sleep 'swaylock -f'
lock 'swaylock -f'
unlock 'pkill -xu "$USER" -SIGUSR1 swaylock'