begun switching to sway

This commit is contained in:
serenity-F 2024-09-12 19:09:38 +10:00
parent c53bf3d1ab
commit de571443d9
No known key found for this signature in database
22 changed files with 1724 additions and 27 deletions

22
home/sway/hypridle.nix Normal file
View file

@ -0,0 +1,22 @@
{ config, pkgs, ... }: {
xdg.configFile."hypr/hypridle.conf".text = ''
general {
ignore_dbus_inhibit = false
}
# Screenlock
listener {
timeout = 10000
on-timeout = ${pkgs.hyprlock}/bin/hyprlock
on-resume = ${pkgs.libnotify}/bin/notify-send "Welcome back ${config.home.username}!"
}
# Suspend
listener {
timeout = 10000
on-timeout = systemctl suspend
# on-resume = ${pkgs.libnotify}/bin/notify-send "Welcome back to your desktop!"
}
'';
}