Compare commits

...

3 Commits

Author SHA1 Message Date
Siina Mashek 655f929f76 updating lockmon 2022-12-14 15:17:10 +02:00
Siina Mashek 492e4719fa removing calc and ssh 2022-12-14 15:16:54 +02:00
Siina Mashek 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
case "$x" in
# 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
*"boolean false"*) xrandr --output HDMI-A-1 --brightness 1.0;;
*"boolean false"*) xrandr --output HDMI-0 --brightness 1.0;;
esac
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;