Moved Scripts to Submodule
@@ -1,4 +0,0 @@
|
||||
SUBSYSTEM=="bluetooth"
|
||||
ACTION=="add"
|
||||
ATTRS{address}=="90:7F:61:39:20:62"
|
||||
RUN+="su sim -c 'bash /home/sim/Userdata/Scripts/activepen_button_udev.sh'"
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
notify-send "Pen Button"
|
||||
touch "hii.txt"
|
||||
@@ -1,55 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# *INSTALL******
|
||||
#
|
||||
# cp batalert.sh /usr/share/scripts/batalert.sh
|
||||
#
|
||||
# /etc/systemd/system/batalert.service
|
||||
# [Unit]
|
||||
# Description=Check battery state and alert with i3-nagbar
|
||||
#
|
||||
# [Service]
|
||||
# Type=oneshot
|
||||
# ExecStart=/usr/share/scripts/batalert.sh
|
||||
#
|
||||
# /etc/systemd/system/batalert.timer
|
||||
# [Unit]
|
||||
# Description= Periodically check battery state and alert with i3-nagbar
|
||||
#
|
||||
# [Timer]
|
||||
# OnUnitActiveSec=60s
|
||||
# OnBootSec=30s
|
||||
#
|
||||
# [Install]
|
||||
# WantedBy=timers.target
|
||||
#
|
||||
# systemctl daemon-reload
|
||||
#
|
||||
# systemctl enable batalert.timer
|
||||
# systemctl start batalert.timer
|
||||
#
|
||||
# systemctl list-timers --all
|
||||
# systemctl status batalert.timer
|
||||
# systemctl status batalert.service
|
||||
#
|
||||
# *CONFIG*******
|
||||
#
|
||||
WARNING_PERCENTAGE=20
|
||||
#
|
||||
# *CODE*********
|
||||
|
||||
#i3-nagbar -t warning -m "Test"
|
||||
export DISPLAY=:0.0
|
||||
|
||||
if [ $(cat /sys/class/power_supply/BAT0/capacity) -lt $WARNING_PERCENTAGE ] && \
|
||||
[ $(cat /sys/class/power_supply/BAT0/status) = "Discharging" ] && \
|
||||
[[ ! -f ".bat-alert.lock" ]];
|
||||
then
|
||||
i3-nagbar -t warning -m "Low Battery ($(cat /sys/class/power_supply/BAT0/capacity)%)" -B "Shut down" "systemctl poweroff" -B "Hibernate" "systemctl hibernate"
|
||||
touch ".bat-alert.lock"
|
||||
else
|
||||
if [[ -f ".bat-alert.lock" ]];
|
||||
then
|
||||
rm ".bat-alert.lock"
|
||||
fi
|
||||
fi
|
||||
@@ -1,15 +0,0 @@
|
||||
tput civis
|
||||
while true;
|
||||
do
|
||||
clear
|
||||
|
||||
COUNT=0
|
||||
while [[ COUNT -lt (($LINES/2)-4) ]];
|
||||
do
|
||||
echo ""
|
||||
let COUNT=$COUNT+1
|
||||
done
|
||||
echo ""
|
||||
date +"%H : %M : %S" | figlet -c -t -f slant | lolcat
|
||||
sleep 1
|
||||
done
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
wmctrl -a firefox
|
||||
xdotool key Ctrl+w
|
||||
wmctrl -r firefox -b add,shaded
|
||||
|
Before Width: | Height: | Size: 201 KiB |
|
Before Width: | Height: | Size: 221 KiB |
|
Before Width: | Height: | Size: 276 KiB |
|
Before Width: | Height: | Size: 256 KiB |
|
Before Width: | Height: | Size: 165 KiB |
|
Before Width: | Height: | Size: 172 KiB |
|
Before Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 172 KiB |
|
Before Width: | Height: | Size: 322 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 209 KiB |
|
Before Width: | Height: | Size: 259 KiB |
|
Before Width: | Height: | Size: 183 KiB |
|
Before Width: | Height: | Size: 286 KiB |
|
Before Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 229 KiB |
|
Before Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 254 KiB |
|
Before Width: | Height: | Size: 334 KiB |
|
Before Width: | Height: | Size: 189 KiB |
|
Before Width: | Height: | Size: 261 KiB |
|
Before Width: | Height: | Size: 197 KiB |
|
Before Width: | Height: | Size: 184 KiB |
|
Before Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 145 KiB |
|
Before Width: | Height: | Size: 198 KiB |
|
Before Width: | Height: | Size: 162 KiB |
|
Before Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 237 KiB |
|
Before Width: | Height: | Size: 218 KiB |
|
Before Width: | Height: | Size: 238 KiB |
|
Before Width: | Height: | Size: 199 KiB |
|
Before Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 228 KiB |
|
Before Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 249 KiB |
|
Before Width: | Height: | Size: 316 KiB |
|
Before Width: | Height: | Size: 248 KiB |
|
Before Width: | Height: | Size: 208 KiB |
|
Before Width: | Height: | Size: 282 KiB |
|
Before Width: | Height: | Size: 242 KiB |
|
Before Width: | Height: | Size: 204 KiB |
|
Before Width: | Height: | Size: 213 KiB |
|
Before Width: | Height: | Size: 218 KiB |
|
Before Width: | Height: | Size: 234 KiB |
|
Before Width: | Height: | Size: 288 KiB |
|
Before Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 251 KiB |
|
Before Width: | Height: | Size: 242 KiB |
|
Before Width: | Height: | Size: 213 KiB |
|
Before Width: | Height: | Size: 263 KiB |
|
Before Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 200 KiB |
|
Before Width: | Height: | Size: 228 KiB |
|
Before Width: | Height: | Size: 214 KiB |
|
Before Width: | Height: | Size: 225 KiB |
|
Before Width: | Height: | Size: 294 KiB |
|
Before Width: | Height: | Size: 204 KiB |
|
Before Width: | Height: | Size: 304 KiB |
|
Before Width: | Height: | Size: 272 KiB |
|
Before Width: | Height: | Size: 212 KiB |
|
Before Width: | Height: | Size: 271 KiB |
|
Before Width: | Height: | Size: 239 KiB |
|
Before Width: | Height: | Size: 257 KiB |
|
Before Width: | Height: | Size: 187 KiB |
|
Before Width: | Height: | Size: 248 KiB |
|
Before Width: | Height: | Size: 304 KiB |
|
Before Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 230 KiB |
|
Before Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 231 KiB |
|
Before Width: | Height: | Size: 208 KiB |
|
Before Width: | Height: | Size: 269 KiB |
|
Before Width: | Height: | Size: 204 KiB |
|
Before Width: | Height: | Size: 270 KiB |
|
Before Width: | Height: | Size: 237 KiB |
|
Before Width: | Height: | Size: 185 KiB |
|
Before Width: | Height: | Size: 277 KiB |
|
Before Width: | Height: | Size: 243 KiB |
|
Before Width: | Height: | Size: 251 KiB |
|
Before Width: | Height: | Size: 307 KiB |
|
Before Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 235 KiB |
|
Before Width: | Height: | Size: 205 KiB |
|
Before Width: | Height: | Size: 169 KiB |
|
Before Width: | Height: | Size: 245 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 252 KiB |