My omnium-gatherom of scripts and source code.
at main 37 lines 802 B view raw
1#!/usr/bin/sh 2#Turn off/on graphical enhancements 3#dependencies: oneko, lemonbar, picom 4 5gfxOn() { 6 oneko -sakura -position -30 -100 & 7 oneko -tomoyo -position +40 -30 & 8 9 ~/Scripts/shell/WMbuttons-new.sh | sh & 10 ~/Scripts/shell/clock.sh | \ 11 lemonbar -pdg "135x50+1842+10" -f "Fira Code Regular"-12 & 12 ~/Scripts/shell/wthr.sh | \ 13 lemonbar -pdg "200x50+2000+10" -f "Fira Code Regular"-12 & 14 ~/Scripts/shell/playr.sh | \ 15 lemonbar -pdg "800x50+3030+10" -f "Fira Code Regular"-12 & 16 17 picom && exit 0 18} 19 20gfxOff() { 21 pkill lemonbar & 22 pkill oneko & 23 pkill picom && exit 0 24} 25 26while [ -n "$1" ]; do 27 case $1 in 28 on) 29 gfxOn 30 shift 31 ;; 32 off) 33 gfxOff 34 shift 35 ;; 36 esac 37done