configure batsignal using home-manager
This commit is contained in:
parent
02a76d3dbd
commit
90ff492f64
@ -98,13 +98,11 @@ exec_always --no-startup-id
|
|||||||
pgrep -u $(id -u) mako && pkill mako
|
pgrep -u $(id -u) mako && pkill mako
|
||||||
pgrep -u $(id -u) fusuma && pkill fusuma
|
pgrep -u $(id -u) fusuma && pkill fusuma
|
||||||
pgrep -u $(id -u) swayrd && pkill swayrd
|
pgrep -u $(id -u) swayrd && pkill swayrd
|
||||||
pgrep -u $(id -u) batsignal && pkill batsignal
|
|
||||||
pgrep -u $(id -u) swayidle && pkill swayidle
|
pgrep -u $(id -u) swayidle && pkill swayidle
|
||||||
|
|
||||||
mako
|
mako
|
||||||
XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml
|
XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml
|
||||||
env RUST_BACKTRACE=1 swayrd > /tmp/swayrd.log 2>&1
|
env RUST_BACKTRACE=1 swayrd > /tmp/swayrd.log 2>&1
|
||||||
batsignal '-d -w 25 -c 15 -d 10'
|
|
||||||
swayidle -w \
|
swayidle -w \
|
||||||
timeout 545 'pgrep -u $(id -u) swaylock || notify-send -t 15000 -u critical -i "Idle timeout" "Screen is locking soon"' \
|
timeout 545 'pgrep -u $(id -u) swaylock || notify-send -t 15000 -u critical -i "Idle timeout" "Screen is locking soon"' \
|
||||||
timeout 600 "$lock" \
|
timeout 600 "$lock" \
|
||||||
@ -128,7 +126,6 @@ exec --no-startup-id {
|
|||||||
# XDG_SESSION_TYPE=x11 XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml
|
# XDG_SESSION_TYPE=x11 XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml
|
||||||
pgrep -u $(id -u) fusuma || XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml
|
pgrep -u $(id -u) fusuma || XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml
|
||||||
env RUST_BACKTRACE=1 swayrd > /tmp/swayrd.log 2>&1
|
env RUST_BACKTRACE=1 swayrd > /tmp/swayrd.log 2>&1
|
||||||
pgrep -u $(id -u) batsignal || batsignal '-d -w 25 -c 15 -d 10'
|
|
||||||
pgrep -u $(id -u) swayidle || swayidle -w \
|
pgrep -u $(id -u) swayidle || swayidle -w \
|
||||||
timeout 545 'pgrep -u $(id -u) swaylock || notify-send -t 15000 -u critical -i "Idle timeout" "Screen is locking soon"' \
|
timeout 545 'pgrep -u $(id -u) swaylock || notify-send -t 15000 -u critical -i "Idle timeout" "Screen is locking soon"' \
|
||||||
timeout 600 "$lock" \
|
timeout 600 "$lock" \
|
||||||
|
@ -104,6 +104,11 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
indicator = true;
|
indicator = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
batsignal = {
|
||||||
|
enable = true;
|
||||||
|
extraArgs = ["-w 25" "-c 15" "-d 10"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
|
Loading…
Reference in New Issue
Block a user