From 0794a77f178e1ff70a5536f8ebcee2b1f90940b4 Mon Sep 17 00:00:00 2001 From: Leaced Date: Thu, 23 Mar 2023 16:15:34 +0100 Subject: [PATCH] Add files via upload --- .config/sway/menu.sh | 4 ++-- .config/sway/screenshot.sh | 4 ++-- .config/sway/toggle_gammastep.sh | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) 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