Compare commits
3 commits
3f0e9b8c84
...
655f929f76
Author | SHA1 | Date | |
---|---|---|---|
655f929f76 | |||
492e4719fa | |||
37307332df |
4 changed files with 15 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
bc <<<$@
|
13
common/listento
Executable file
13
common/listento
Executable 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
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Siina's colourised wrapper for ssh
|
||||
|
||||
konsoleprofile colors=Solarized
|
||||
/usr/bin/ssh $@
|
||||
konsoleprofile colors=Breeze;
|
||||
|
Loading…
Reference in a new issue