diff --git a/.config/sway/menu.sh b/.config/sway/menu.sh index 5650880..ef6d116 100644 --- a/.config/sway/menu.sh +++ b/.config/sway/menu.sh @@ -1,6 +1,6 @@ -#!/usr/bin/env bash +#!/usr/bin/bash # This script will open a little menu with different options -# Dependencies: Sway, Bemenu, Unicode, systemd +# Dependencies: Bemenu, emoji-font, systemd screenshot () { case "$(echo -e "🖧 ...von allen Bildschirmen diff --git a/.config/sway/screenshot.sh b/.config/sway/screenshot.sh index c9b21f4..e6dcf81 100644 --- a/.config/sway/screenshot.sh +++ b/.config/sway/screenshot.sh @@ -1,6 +1,6 @@ -#!/usr/bin/env bash +#!/usr/bin/bash # This script will take a screenshot -# Dependencies: sway, grim, slurp, gnu-utils +# Dependencies: sway, grim, slurp FILENAME="$HOME/screenshot-$(date +'%Y-%m-%d-%H%M%S.png')" diff --git a/.config/sway/toggle_gammastep.sh b/.config/sway/toggle_gammastep.sh index de8a722..4cd47d0 100644 --- a/.config/sway/toggle_gammastep.sh +++ b/.config/sway/toggle_gammastep.sh @@ -1,13 +1,13 @@ -#!/usr/bin/env bash +#!/usr/bin/bash # This script will toggle gammastep -# Dependencies: sway, gammastep, gnu-utils +# Dependencies: gammastep PID="$(ps -e | grep gammastep | awk -F ' ' '{print $1}')" if [[ $PID > 0 ]]; then kill $PID else - swaymsg exec "gammastep-indicator -c .config/sway/gammastep.ini" + gammastep-indicator -c .config/sway/gammastep.ini fi exit 0