alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
sway: run swayidle for auotsuspend
author
lassulus
date
10 months ago
(Dec 3, 2025, 9:05 AM CET)
commit
692c740a
692c740a549b3b548a85c5bbab6c4461ecf594ce
parent
b1370ca4
b1370ca471ede05b8ec7bac7d757344a12e48c5d
+5
1 changed file
Expand all
Collapse all
Unified
Split
2configs
desktops
sway
default.nix
+5
2configs/desktops/sway/default.nix
View file
Reviewed
···
378
378
# background programs
379
379
exec ydotoold
380
380
exec_always pkill kanshi; exec ${pkgs.kanshi}/bin/kanshi
381
381
+
exec_always pkill swayidle; exec ${pkgs.swayidle}/bin/swayidle -w \
382
382
+
timeout 120 '${lib.getExe' pkgs.systemd "systemctl"} --user start lock.target' \
383
383
+
timeout 300 '${lib.getExe' pkgs.systemd "systemctl"} suspend' \
384
384
+
before-sleep '${lib.getExe' pkgs.systemd "systemctl"} --user start lock.target'
385
385
+
exec_always pkill sway-audio-idle-inhibit; exec ${pkgs.sway-audio-idle-inhibit}/bin/sway-audio-idle-inhibit
381
386
382
387
# theme and env specific stuff
383
388
exec_always ${pkgs.writers.writeDash "dbus-sway-environment" ''