Initial commit
This commit is contained in:
commit
c5703aca02
373 changed files with 12401 additions and 0 deletions
7
awesome/scripts/compton-toggle.sh
Executable file
7
awesome/scripts/compton-toggle.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
if pgrep -x "compton" > /dev/null
|
||||
then
|
||||
killall picom
|
||||
else
|
||||
picom
|
||||
fi
|
12
awesome/scripts/display.sh
Executable file
12
awesome/scripts/display.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
choices="arandr\nLVDS_off\ndual\nLVDS_on"
|
||||
|
||||
chosen=$(echo -e "$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 ;;
|
||||
LVDS_on) xrandr --output LVDS-1-1 --auto ;;
|
||||
esac
|
10
awesome/scripts/polybar.sh
Executable file
10
awesome/scripts/polybar.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q polybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch Polybar, using default config location ~/.config/polybar/config
|
||||
polybar mybar &
|
12
awesome/scripts/wacom.sh
Executable file
12
awesome/scripts/wacom.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
#TODO option to get existing area and shrink it
|
||||
|
||||
choices="4:3\nMain screen\nSecond screen"
|
||||
|
||||
chosen=$(echo -e "$choices" | dmenu -i)
|
||||
|
||||
case "$chosen" in
|
||||
4:3) xsetwacom set "Wacom Intuos S 2 Pen stylus" Area 0 0 11400 8550 ;;
|
||||
Main screen) xsetwacom set "Wacom Intuos S 2 Pen stylus" MapToOutput HEAD-0 ;;
|
||||
second screen) xsetwacom set "Wacom Intuos S 2 Pen stylus" MapToOutput HEAD-1 ;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue