fix: xss-lock blocking xset commands
This commit is contained in:
parent
a783a94b64
commit
40111ae592
6 changed files with 6 additions and 9 deletions
8
.xinitrc
8
.xinitrc
|
@ -5,11 +5,10 @@ numlockx &
|
|||
|
||||
# display
|
||||
xrandr \
|
||||
--output eDP-1 --auto --primary &
|
||||
--output eDP --auto --primary &
|
||||
feh --bg-fill "$XDG_CONFIG_HOME/wallpapers/monerochan.png" --no-fehbg &
|
||||
xss-lock -n "feh --fullscreen $XDG_CONFIG_HOME/wallpapers/lock.png" -- lock &
|
||||
(
|
||||
lockimg="$XDG_CONFIG_HOME/wallpapers/lock.png"
|
||||
|
||||
# desktop
|
||||
stimeout=1800
|
||||
# laptop
|
||||
|
@ -18,7 +17,6 @@ feh --bg-fill "$XDG_CONFIG_HOME/wallpapers/monerochan.png" --no-fehbg &
|
|||
cycle=15 # lock 15 sec after stimeout
|
||||
dpms="$((stimeout + cycle + 1))" # turn off screen 1 sec after lock
|
||||
|
||||
xss-lock -n "feh --fullscreen $lockimg" -- lock
|
||||
xset s "$stimeout" "$cycle"
|
||||
xset dpms "$dpms" "$dpms" "$dpms"
|
||||
) &
|
||||
|
@ -28,7 +26,7 @@ feh --bg-fill "$XDG_CONFIG_HOME/wallpapers/monerochan.png" --no-fehbg &
|
|||
#/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & # debian
|
||||
#/usr/libexec/polkit-gnome-authentication-agent-1 & # fedora
|
||||
picom &
|
||||
gammastep &
|
||||
gammastep 2> /dev/null &
|
||||
dunst &
|
||||
sbar &
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue