From e2fe0a9668515cb8d64122f04d10cefef0c21779 Mon Sep 17 00:00:00 2001 From: Niklas Date: Tue, 27 Oct 2020 00:05:49 +0100 Subject: [PATCH] added screensaver to i3 --- .config/i3/config | 3 +-- .config/i3/setupScreensaver.sh | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 .config/i3/setupScreensaver.sh diff --git a/.config/i3/config b/.config/i3/config index a94c651..7f26f67 100755 --- a/.config/i3/config +++ b/.config/i3/config @@ -159,7 +159,6 @@ bindsym $mod+Shift+q exec --no-startup-id ~/.config/i3/killScript.sh # bindsym $mod+l exec i3lock -i /usr/share/backgrounds/gnome/RainDrops.jpg bindsym $mod+Return exec --no-startup-id alacritty bindsym $mod+d exec rofi -show drun -show-icons -bindsym $mod+i exec --no-startup-id i3lock -i ~/.config/i3/lockscreen bindsym $mod+Shift+e exec rofi -show script -modi script:$HOME/.config/i3/pm.sh bindsym $mod+s exec $HOME/.config/rofi/rofi-quick-action.sh @@ -186,6 +185,6 @@ exec --no-startup-id picom -b exec --no-startup-id feh --bg-scale ~/.cache/last-bg exec_always --no-startup-id $HOME/.config/polybar/launch.sh #exec --no-startup-id pactl set-sink-mute 0 1 -exec --no-startup-id xss-lock -- i3lock -i ~/.config/i3/lockscreen exec --no-startup-id dunst exec --no-startup-id alacritty --class=scratchpad_f1 +exec --no-startup-id ~/.config/i3/setupScreensaver.sh diff --git a/.config/i3/setupScreensaver.sh b/.config/i3/setupScreensaver.sh new file mode 100755 index 0000000..07e58d9 --- /dev/null +++ b/.config/i3/setupScreensaver.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +xset s 300 180 +xss-lock -n /usr/lib/xsecurelock/dimmer -l -- ~/.local/share/scripts/screensaver.sh