mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
use xss-lock & xautlock again
This commit is contained in:
parent
1501387e40
commit
d3d3f4e150
@ -7,8 +7,8 @@ SCREENCOUNT=$(xrandr | grep -c "\*")
|
|||||||
|
|
||||||
# If multi screen add special mode for monitor so it supports 1440p over HDMI
|
# If multi screen add special mode for monitor so it supports 1440p over HDMI
|
||||||
if [ "$SCREENCOUNT" -eq 2 ]; then
|
if [ "$SCREENCOUNT" -eq 2 ]; then
|
||||||
bspc monitor DP-1 -d 2 3 4 5 6 7 8 9 10
|
bspc monitor DP-1 -d 2 3 4 5 6 7 8 9 10
|
||||||
bspc monitor HDMI-2 -d 1
|
bspc monitor HDMI-2 -d 1
|
||||||
if [ -f "$HOME/.local/bin/screen_desktop" ]; then
|
if [ -f "$HOME/.local/bin/screen_desktop" ]; then
|
||||||
screen_desktop
|
screen_desktop
|
||||||
fi
|
fi
|
||||||
@ -21,8 +21,8 @@ else
|
|||||||
screen
|
screen
|
||||||
fi
|
fi
|
||||||
if [ -f "$HOME/.local/bin/polybar-laptop" ]; then
|
if [ -f "$HOME/.local/bin/polybar-laptop" ]; then
|
||||||
polybar laptop-top &
|
polybar laptop-top &
|
||||||
polybar laptop-bottom &
|
polybar laptop-bottom &
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -46,9 +46,12 @@ redshift-gtk &
|
|||||||
nm-applet &
|
nm-applet &
|
||||||
syncthing-gtk &
|
syncthing-gtk &
|
||||||
gpodder &
|
gpodder &
|
||||||
|
|
||||||
spotify &
|
spotify &
|
||||||
|
|
||||||
|
# system lock
|
||||||
|
xss-lock -n ~/.local/bin/lock -- ~/.local/bin/lock &
|
||||||
|
xautolock -time 10 -locker ~/.local/bin/lock &
|
||||||
|
|
||||||
if [ -e /usr/bin/firefox ]; then
|
if [ -e /usr/bin/firefox ]; then
|
||||||
firefox &
|
firefox &
|
||||||
elif [ -e /usr/bin/iceweasel ]; then
|
elif [ -e /usr/bin/iceweasel ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user