add scripts

This commit is contained in:
Václav Uruba 2020-10-28 16:32:23 +01:00
parent dab388dbc5
commit d5c89b4077
Signed by: uruba
GPG Key ID: 0059B34D61727BB0
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/bin/bash
xinput set-prop "ETPS/2 Elantech Touchpad" "Device Enabled" 0

12
scripts/scripts/init_monitors Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
autorandr -c
killall -q polybar
while pgrep -x polybar >/dev/null; do sleep 1; done
for m in $(polybar --list-monitors | cut -d":" -f1); do
MONITOR=$m polybar --reload main &
done
xset -dpms
xset s off

13
scripts/scripts/init_startup Executable file
View File

@ -0,0 +1,13 @@
#! /bin/sh
sxhkd &
nm-applet &
pasystray &
udiskie -t &
redshift-gtk &
picom -b
xinput set-prop "ETPS/2 Elantech Touchpad" "Device Enabled" 0
#init_monitors
# autorandr -c