fix: wallpaper monitor detection
This commit is contained in:
parent
7cef511095
commit
5b392226bc
@ -1 +1 @@
|
||||
Subproject commit 9166622781a39a829878d1fd24c174529d996838
|
||||
Subproject commit 1028360e0f2f724d93e876df3d22f63c1acd6ff9
|
@ -1 +1 @@
|
||||
Subproject commit f6e82074761473d30a722f5d90c60282de1ac41d
|
||||
Subproject commit 8ef51924724d506e515f2d3ac9f959a9eaf38f3d
|
@ -1 +1 @@
|
||||
Subproject commit 52544825d6b8be677eb395983515ad5e30ae1f2e
|
||||
Subproject commit 499e0743cf5e8075cd32af68baa3946a1c76adf1
|
@ -1 +1 @@
|
||||
Subproject commit 6d3fbffe426794296a77bb0b37b6ae0f4f14f807
|
||||
Subproject commit be49680937e821e4d8522329727e50734fdb9b97
|
@ -1 +1 @@
|
||||
Subproject commit 23dfae4db84f71e2ddb56c024845b322035182ee
|
||||
Subproject commit a954f789aaa0cedea7609b5493007867b1cd3e9e
|
@ -1 +1 @@
|
||||
Subproject commit 3ce7bac4ff2e07b9f1182c7bf7a1cac7c7ffdf9e
|
||||
Subproject commit 79753faacb6dc511088cb0d136ec438873613932
|
@ -1 +1 @@
|
||||
Subproject commit fb4213c34ff8ec83cbe6251f432fdac383378562
|
||||
Subproject commit 46c70406dd0b26bbd61210873ad6c86d9e8ee5da
|
2
.xinitrc
2
.xinitrc
@ -4,7 +4,7 @@
|
||||
#(i3status | while read line; do xsetroot -name "$line"; done) &
|
||||
|
||||
# startup
|
||||
set-display &
|
||||
wallpaper &
|
||||
xss-lock -n screensaver -- lock &
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 || # arch
|
||||
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 || # debian
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
feh --bg-fill "$XDG_CONFIG_HOME/wallpapers/mount_cook.jpg" --no-fehbg
|
||||
|
||||
NBMON="$(xrandr | grep -c connected)"
|
||||
NBMON="$(xrandr | grep -cw connected)"
|
||||
BAT="$(ls /sys/class/power_supply/BAT*/ 2> /dev/null)"
|
||||
|
||||
if [ "$NBMON" = 1 ] && [ -n "$BAT" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user