Initial commit

This commit is contained in:
vibikim 2020-05-16 23:07:21 +03:00
commit c5703aca02
373 changed files with 12401 additions and 0 deletions

View 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
View 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
View 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
View 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