From 3ad971ebaa5084a6c9cf82d6a134bdcba50706b4 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 29 Jul 2022 03:00:31 -0400 Subject: [PATCH] meta: Remove swayidle + swaylock This was cute, but I personally don't want to deal with the inconvenience of debugging C code and using a fork for improved functionality. --- sway/.config/sway/config | 3 --- swayidle/.config/swayidle/config | 2 -- swayidle/README.md | 16 ---------------- swaylock/.config/swaylock/config | 16 ---------------- swaylock/README.md | 18 ------------------ 5 files changed, 55 deletions(-) delete mode 100644 swayidle/.config/swayidle/config delete mode 100644 swayidle/README.md delete mode 100644 swaylock/.config/swaylock/config delete mode 100644 swaylock/README.md diff --git a/sway/.config/sway/config b/sway/.config/sway/config index e9f30596..40891dea 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -178,7 +178,4 @@ bindsym XF86MonBrightnessUp exec brightnessctl set +5% # bindsym XF86WLAN exec # bindsym XF86Favorites exec -# Lock the screen after a certain amount of time -exec swayidle -w - include /etc/sway/config.d/* diff --git a/swayidle/.config/swayidle/config b/swayidle/.config/swayidle/config deleted file mode 100644 index 81eade23..00000000 --- a/swayidle/.config/swayidle/config +++ /dev/null @@ -1,2 +0,0 @@ -timeout 300 swaylock -before-sleep swaylock diff --git a/swayidle/README.md b/swayidle/README.md deleted file mode 100644 index 9a27047c..00000000 --- a/swayidle/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# swayidle - -[swayidle][swayidle] is an idle management daemon for Wayland. - -## Use Cases - -swayidle can be used to: - -- Automatically lock the screen after a period of inactivity -- Automatically lock the screen on lid close (e.g. on a laptop) - -You should not use swayidle if: - -- You don't want to automatically lock the screen. - -[swayidle]: https://github.com/swaywm/swayidle diff --git a/swaylock/.config/swaylock/config b/swaylock/.config/swaylock/config deleted file mode 100644 index c4f0fcf2..00000000 --- a/swaylock/.config/swaylock/config +++ /dev/null @@ -1,16 +0,0 @@ -# swaylock -show-keyboard-layout -daemonize -font="Noto Sans CJK JP" -font-size=20 -indicator-radius=75 -indicator-thickness=15 -image=$(fd . ~/Pictures | shuf -n 1) - -# swaylock-effects -effect-blur=5x2 -clock -indicator -font-size=25 -indicator-radius=85 -indicator-thickness=16 diff --git a/swaylock/README.md b/swaylock/README.md deleted file mode 100644 index f82b6921..00000000 --- a/swaylock/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# swaylock - -[swaylock][swaylock] is a screen locker for Wayland. [swaylock-effects][swaylock-effects] adds additional features such as blur. - -## Use Cases - -swaylock can be used to: - -- Lock the screen in a reasonable way - -You should not use swaylock if: - -- You're running on Xorg (use [xsecurelock][xsecurelock] instead) -- You use a desktop environment that already has a screen locker - -[swaylock]: https://github.com/swaywm/swaylock -[swaylock-effects]: https://github.com/mortie/swaylock-effects -[xsecurelock]: https://github.com/google/xsecurelock