refactor(scripts): remove unused

main
sgoudham 1 year ago
parent 1b5b23b72f
commit b6f0c2a605
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -1,4 +0,0 @@
#!/usr/bin/env bash
git fetch $1 pull/$2/head:pull-request-$2
git checkout pull-request-$2

@ -1,10 +0,0 @@
#!/usr/bin/env bash
gsettings set org.gnome.mutter dynamic-workspaces true
gsettings set org.gnome.desktop.wm.preferences num-workspaces 4
for i in {1..12}
do
gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-$i" "[]"
gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-$i" "[]"
done

@ -1,10 +0,0 @@
#!/usr/bin/env bash
gsettings set org.gnome.mutter dynamic-workspaces false
gsettings set org.gnome.desktop.wm.preferences num-workspaces 12
for i in {1..12}
do
gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-$i" "['<Super>${i}']"
gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-$i" "['<Super><Shift>${i}']"
done

@ -1,31 +0,0 @@
#!/usr/bin/env bash
# study stream aliases
# Requires https://github.com/caarlos0/timer to be installed.
declare -A pomo_options
pomo_options["work"]="25"
pomo_options["break"]="5"
exit_if_ctrl_c() {
exit
}
trap exit_if_ctrl_c SIGINT
pomodoro() {
if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then
val=$1
echo $val | lolcat
timer ${pomo_options["$val"]}m
notify-send "'$val' session done"
fi
}
cycle_work_break() {
for i in $(seq $1); do
pomodoro 'work'
pomodoro 'break'
done
}
cycle_work_break $1

@ -1,23 +0,0 @@
#!/usr/bin/env bash
OFF=0
ON=2
KEYBOARD_PATH=/sys/devices/platform/dell-laptop/leds/dell::kbd_backlight/brightness
PREVIOUS_SETTING=$(< $KEYBOARD_PATH)
if [[ $PREVIOUS_SETTING -eq $OFF ]]
then
echo $ON > $KEYBOARD_PATH
if [[ $? -ne 0 ]]; then
echo "ERROR: Could Not Update Settings"
exit 1
fi
echo "Keyboard Backlighting: ON"
else
echo $OFF > $KEYBOARD_PATH
if [[ $? -ne 0 ]]; then
echo "ERROR: Could Not Update Settings"
exit 1
fi
echo "Keyboard Backlighting: OFF"
fi
Loading…
Cancel
Save