TODO: make display script properly
This commit is contained in:
parent
80114f197b
commit
54be8a661d
4 changed files with 36 additions and 15 deletions
|
@ -7,7 +7,7 @@ xsetroot -cursor_name left_ptr #fix background cursor being different
|
|||
sxhkd &
|
||||
~/.config/polybar/launch.sh &
|
||||
nitrogen --restore
|
||||
picom &
|
||||
picom --experimental-backends &
|
||||
dunst &
|
||||
copyq &
|
||||
nm-applet &
|
||||
|
@ -28,13 +28,13 @@ if [ "`hostname`" = "beef-book" ]; then
|
|||
else
|
||||
bspc monitor "DP-4" -d 1 2 3 4 5 6 7 8 9
|
||||
fi
|
||||
elif [ -n "`polybar -m | grep "VGA-0"`" ]; then
|
||||
if [ -n "`polybar -m | grep "LVDS-1-1"`" ]; then
|
||||
bspc monitor "LVDS-1-1" -d 1 2 3 4 5 6 7
|
||||
bspc monitor "VGA-0" -d 8 9
|
||||
else
|
||||
bspc monitor "VGA-0" -d 1 2 3 4 5 6 7 8 9
|
||||
fi
|
||||
#elif [ -n "`polybar -m | grep "VGA-0"`" ]; then
|
||||
# if [ -n "`polybar -m | grep "LVDS-1-1"`" ]; then
|
||||
# bspc monitor "LVDS-1-1" -d 1 2 3 4 5 6 7
|
||||
# bspc monitor "VGA-0" -d 8 9
|
||||
# else
|
||||
# bspc monitor "VGA-0" -d 1 2 3 4 5 6 7 8 9
|
||||
# fi
|
||||
else
|
||||
bspc monitor -d 1 2 3 4 5 6 7 8 9
|
||||
#bspc monitor "DP-1" -d 1 2 3 4 5 6 7 8 9
|
||||
|
@ -102,7 +102,9 @@ bspc rule -a Nitrogen state=floating
|
|||
bspc rule -a Screenkey manage=off
|
||||
bspc rule -a Navigator desktop='^1'
|
||||
bspc rule -a discord desktop='^4'
|
||||
bspc rule -a dosbox state=pseudo_tiled
|
||||
bspc rule -a lightcord desktop='^4'
|
||||
bspc rule -a Element desktop='^4'
|
||||
bspc rule -a dosbox state=floating
|
||||
bspc rule -a AlarmWindow state=floating
|
||||
bspc rule -a pop-up state=floating
|
||||
bspc rule -a setup state=floating
|
||||
|
|
|
@ -7,6 +7,6 @@ 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 LVDS-1-1 --right-of DP-4 ;;
|
||||
dual) xrandr --output DP-4 --auto --output VGA-1-1 --right-of DP-4 ;;
|
||||
LVDS_on) xrandr --output LVDS-1-1 --auto ;;
|
||||
esac
|
||||
|
|
9
bspwm/toggleredshift.sh
Executable file
9
bspwm/toggleredshift.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -z "`pgrep -x redshift`" ]; then
|
||||
redshift -l 44:26 &
|
||||
notify-send Redshift "is now enabled"
|
||||
else
|
||||
notify-send Redshift "is now disabled"
|
||||
pkill redshift
|
||||
fi
|
|
@ -21,9 +21,11 @@ super + shift + Return
|
|||
$TERMINAL -e lf
|
||||
|
||||
super + shift + d
|
||||
discord-canary
|
||||
lightcord
|
||||
super + shift + v
|
||||
pavucontrol
|
||||
super + shift + g
|
||||
galculator
|
||||
super + shift + o
|
||||
$TERMINAL -e htop
|
||||
super + shift + Escape
|
||||
|
@ -38,12 +40,20 @@ super + shift + e
|
|||
|
||||
# ROFI run menu
|
||||
super + d
|
||||
rofi -show run
|
||||
~/.config/rofi/launchers/colorful/launcher.sh
|
||||
#rofi -show run
|
||||
# kaomoji picker lol
|
||||
super + ctrl + k
|
||||
dmenukaomoji
|
||||
|
||||
# Turn off all diplays
|
||||
super + alt + c
|
||||
sleep 1; xset dpms force off
|
||||
|
||||
# Toggle redshift
|
||||
super + alt + s
|
||||
~/.config/bspwm/toggleredshift.sh
|
||||
|
||||
# dmenu display selector
|
||||
super + p
|
||||
~/.config/bspwm/display.sh
|
||||
|
@ -101,15 +111,15 @@ super + y
|
|||
bspc node newest.marked.local -n newest.!automatic.local
|
||||
|
||||
# swap the current node and the biggest node
|
||||
super + m
|
||||
bspc node -s biggest
|
||||
#super + m
|
||||
#bspc node -s biggest
|
||||
|
||||
#
|
||||
# state/flags
|
||||
#
|
||||
|
||||
# set the window state
|
||||
super + {t,alt + t,s,alt + f}
|
||||
super + {t,alt + t,s,m}
|
||||
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
||||
|
||||
# set the node flags
|
||||
|
|
Loading…
Reference in a new issue