Merge branch 'dev' into venus
mpd: fix check for existing instance scripts: fix displayselect layout selection
This commit is contained in:
commit
6332ebd1da
@ -10,7 +10,7 @@ redshift &
|
||||
dunst &> /dev/null & #temp fix
|
||||
gentoo-pipewire-launcher && wpctl set-volume @DEFAULT_AUDIO_SINK@ 50% &
|
||||
# MPD daemon start (if no other user instance exists)
|
||||
[ ! -s "$XDG_CONFIG_HOME/mpd/pid" ] && mpd
|
||||
[ -z "$(pgrep -fx mpd)" ] && mpd
|
||||
[ -z "$(pgrep -f sb-mpdup)" ] && sb-mpdup &
|
||||
sbacklight set 3 &
|
||||
setbg &
|
||||
|
@ -78,7 +78,7 @@ allposs=$(xrandr -q | grep -w "connected")
|
||||
screens=$(echo "$allposs" | awk '{print $1}')
|
||||
|
||||
# Get user choice including multi-monitor and manual selection:
|
||||
chosen=$(printf "default\\n\\nmulti-monitor\\n%s\\nmanual selection" "$screens" | dmenu -i -p "Select display arangement:") &&
|
||||
chosen=$(printf "default\\nmulti-monitor\\n%s\\nmanual selection" "$screens" | dmenu -i -p "Select display arangement:") &&
|
||||
case "$chosen" in
|
||||
"default") default ;;
|
||||
"manual selection") arandr ; exit ;;
|
||||
|
Reference in New Issue
Block a user