first collection of useful scripts

This commit is contained in:
shockrahwow committed 2019-05-15 01:51:58 -07:00
commit 57dfb50219
13 files changed
+51

No files matched your search

Executable
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
# Script to siimply change the brightness
level=$(echo "$(seq 1 100)" | dmenu -i -p 'Brightnesss from 1-100')
percentage=$(echo "$level/100" | bc -l | head -c 4)
[ -z "$percentage" ] && exit 0
xrandr --output eDP-1 --brightness $percentage