toggle script & .local/bin support
This commit is contained in:
parent
1eabb8d2d8
commit
4e2b136715
6 changed files with 70 additions and 22 deletions
|
@ -99,6 +99,7 @@ bspc rule -a Blueman-manager state=floating
|
|||
bspc rule -a Arandr state=floating
|
||||
bspc rule -a Galculator state=floating
|
||||
bspc rule -a Nitrogen state=floating
|
||||
bspc rule -a Emacs state=tiled
|
||||
bspc rule -a Screenkey manage=off
|
||||
bspc rule -a Navigator desktop='^1'
|
||||
bspc rule -a discord desktop='^4'
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/dash
|
||||
|
||||
choices="arandr\nLVDS_off\ndual\nLVDS_on"
|
||||
choices="arandr\nLVDS_off\nLVDS_on\ndual"
|
||||
|
||||
chosen=$(echo "$choices" | dmenu -i)
|
||||
|
||||
case "$chosen" in
|
||||
arandr) arandr ;;
|
||||
LVDS_off) xrandr --output LVDS-1-1 --off & ;;
|
||||
dual) xrandr --output DP-4 --auto --output VGA-1-1 --right-of DP-4 ;;
|
||||
LVDS_on) xrandr --output LVDS-1-1 --auto ;;
|
||||
dual) xrandr --output VGA-0 --mode 1024x768 --pos 1920x312 --rotate normal --output LVDS-0 --off --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output DP-4 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-5 --off --output LVDS-1-1 --off --output VGA-1-1 --off ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue