Compare commits

...

2 Commits

Author SHA1 Message Date
shibao 74df81e9d0 add sway config for idle 2023-11-09 12:36:21 -05:00
shibao ca71b2f841 add fwupdmgr settings 2023-11-09 11:26:06 -05:00
2 changed files with 11 additions and 3 deletions

8
etc/fwupd/fwupd.conf Normal file
View File

@ -0,0 +1,8 @@
# use `man 5 fwupd.conf` for documentation
[fwupd]
DisabledPlugins=test;test_ble
OnlyTrusted=true
AllowEmulation=false
[uefi_capsule]
DisableCapsuleUpdateOnDisk=true

View File

@ -44,12 +44,12 @@ exec_always {
# timeout
exec swayidle -w \
timeout 300 'playerctl -a pause && swaylock' \
timeout 600 'swaymsg "output * dpms off"' \
timeout 600 'swaymsg "output * power off"' \
before-sleep 'playerctl -a pause' \
lock 'swaylock' \
resume 'swaymsg "output * dpms on"'
resume 'swaymsg "output * power on"'
# screen lock
# system lock
bindsym Ctrl+Shift+l exec "playerctl -a pause; \
systemctl suspend && \
swaylock"