Add swayidle script
This commit is contained in:
parent
eeccb67f44
commit
2e8afef36d
|
@ -6,6 +6,7 @@ https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.2
|
||||||
- Hyprland: Prefer dark theme for gtk3 applications e.g., nautilus
|
- Hyprland: Prefer dark theme for gtk3 applications e.g., nautilus
|
||||||
- Hyprland: Add keybinding for filemanager.sh SUPER, CTRL, F to start nautilus (if installed) or thunar
|
- Hyprland: Add keybinding for filemanager.sh SUPER, CTRL, F to start nautilus (if installed) or thunar
|
||||||
- Installation: Add nautilus package to become new default file manager
|
- Installation: Add nautilus package to become new default file manager
|
||||||
|
- Hyprland install script: Add swayidle to 2-install-hyprland.sh
|
||||||
- Waybar: Add quickstart icon for filemanager.sh
|
- Waybar: Add quickstart icon for filemanager.sh
|
||||||
- Waybar: Style improvements
|
- Waybar: Style improvements
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@ exec-once = ~/dotfiles/waybar/launch.sh
|
||||||
exec-once = ~/dotfiles/scripts/updatewal-swww.sh
|
exec-once = ~/dotfiles/scripts/updatewal-swww.sh
|
||||||
exec-once = dunst
|
exec-once = dunst
|
||||||
exec-once = ~/dotfiles/hypr/gtk.sh
|
exec-once = ~/dotfiles/hypr/gtk.sh
|
||||||
|
exec-once = ~/dotfiles/scripts/lockscreentime.sh
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Load pywal color file
|
# Load pywal color file
|
||||||
|
|
8
scripts/lockscreentime.sh
Executable file
8
scripts/lockscreentime.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#/bin/sh
|
||||||
|
|
||||||
|
if [ -f "/usr/bin/swayidle" ]; then
|
||||||
|
echo "swayidle is installed."
|
||||||
|
swayidle -w timeout 60 'swaylock -f' timeout 100 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
|
||||||
|
else
|
||||||
|
echo "swayidle not installed."
|
||||||
|
fi;
|
Loading…
Reference in New Issue
Block a user