From a49354a6ed5391f6814f9146a1706afdba6bf033 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Thu, 15 Sep 2022 16:26:38 +0200 Subject: Use swaylock-effects instead of swaylock for showing clock --- dotfiles/river/init | 4 ++-- flake.lock | 2 +- hosts/home.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dotfiles/river/init b/dotfiles/river/init index ed3c59c..6edf219 100755 --- a/dotfiles/river/init +++ b/dotfiles/river/init @@ -14,10 +14,10 @@ riverctl spawn "xrdb ~/.Xresources" riverctl spawn "xmodmap ~/.Xmodmap" riverctl spawn "swaybg -i ~/Images/Wallpapers/Day/wave.jpg" riverctl spawn "swayidle -w \ - timeout 300 'swaylock -f -F -c 000000' \ + timeout 300 'swaylock --clock --indicator -f -F -c 000000' \ timeout 400 'wlr-randr --output $(wlr-randr | head -n1 | awk "{print $1;}") --off' \ resume 'wlr-randr --output $(wlr-randr | head -n1 | awk "{print $1;}") --on' \ - before-sleep 'swaylock -f -F -c 000000'" + before-sleep 'swaylock --clock --indicator -f -F -c 000000'" riverctl spawn 'wlsunset -l $(echo $LOCATION | cut -d: -f1) -L $(echo $LOCATION | cut -d: -f2)' riverctl spawn "unclutter" diff --git a/flake.lock b/flake.lock index 38911b1..df2c584 100644 --- a/flake.lock +++ b/flake.lock @@ -4,7 +4,7 @@ "flake": false, "locked": { "lastModified": 1, - "narHash": "sha256-aNhTedFpYtNRiWPxZbHDOiu/t6s+qh/+fEDULWvP8B0=", + "narHash": "sha256-o2QD8mWYRxMe35dPwIp69+pxbW4uz/Jc7R06zD82paA=", "path": "./dotfiles", "type": "path" }, diff --git a/hosts/home.nix b/hosts/home.nix index a73f4e9..8b75262 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -40,7 +40,7 @@ wl-clipboard sway swayidle - swaylock + swaylock-effects swaybg river wlr-randr -- cgit 1.4.1