added screensaver to i3

This commit is contained in:
Niklas 2020-10-27 00:05:49 +01:00
parent ac2da01c86
commit e2fe0a9668
2 changed files with 5 additions and 2 deletions

View File

@ -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+l exec i3lock -i /usr/share/backgrounds/gnome/RainDrops.jpg
bindsym $mod+Return exec --no-startup-id alacritty bindsym $mod+Return exec --no-startup-id alacritty
bindsym $mod+d exec rofi -show drun -show-icons 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+Shift+e exec rofi -show script -modi script:$HOME/.config/i3/pm.sh
bindsym $mod+s exec $HOME/.config/rofi/rofi-quick-action.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 --no-startup-id feh --bg-scale ~/.cache/last-bg
exec_always --no-startup-id $HOME/.config/polybar/launch.sh exec_always --no-startup-id $HOME/.config/polybar/launch.sh
#exec --no-startup-id pactl set-sink-mute 0 1 #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 dunst
exec --no-startup-id alacritty --class=scratchpad_f1 exec --no-startup-id alacritty --class=scratchpad_f1
exec --no-startup-id ~/.config/i3/setupScreensaver.sh

4
.config/i3/setupScreensaver.sh Executable file
View File

@ -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