Compare commits

..

No commits in common. "655f929f76761d036ee437c25b4478c4a2c95d67" and "3f0e9b8c84b5616d4a9b592db80a6589ddc273fb" have entirely different histories.

4 changed files with 11 additions and 15 deletions

View file

@ -4,8 +4,8 @@ bus-monitor --session "type='signal',interface='org.freedesktop.ScreenSaver'" |
while read x; do while read x; do
case "$x" in case "$x" in
# Simulate monitor being off # Simulate monitor being off
*"boolean true"*) xrandr --output HDMI-0 --brightness 0.0;; *"boolean true"*) xrandr --output HDMI-A-1 --brightness 0.0;;
# Restore monitor brightness # Restore monitor brightness
*"boolean false"*) xrandr --output HDMI-0 --brightness 1.0;; *"boolean false"*) xrandr --output HDMI-A-1 --brightness 1.0;;
esac esac
done done

2
common/calc Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
bc <<<$@

View file

@ -1,13 +0,0 @@
#!/bin/sh
# Listenbrainz + DeaDBeeF (or others) via rescrobbled
if [[ $# -eq 0 ]]; then
player="deadbeef"
else
player="$1"
fi
echo "player = $player"
$HOME/.local/bin/rescrobbled &
$player
pkill rescrobbled

7
common/ssh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
# Siina's colourised wrapper for ssh
konsoleprofile colors=Solarized
/usr/bin/ssh $@
konsoleprofile colors=Breeze;