Compare commits

..

3 commits

Author SHA1 Message Date
655f929f76 updating lockmon 2022-12-14 15:17:10 +02:00
492e4719fa removing calc and ssh 2022-12-14 15:16:54 +02:00
37307332df Adding listento 2022-12-14 15:16:43 +02:00
4 changed files with 15 additions and 11 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-A-1 --brightness 0.0;; *"boolean true"*) xrandr --output HDMI-0 --brightness 0.0;;
# Restore monitor brightness # Restore monitor brightness
*"boolean false"*) xrandr --output HDMI-A-1 --brightness 1.0;; *"boolean false"*) xrandr --output HDMI-0 --brightness 1.0;;
esac esac
done done

View file

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

13
common/listento Executable file
View file

@ -0,0 +1,13 @@
#!/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

View file

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