Add files via upload

This commit is contained in:
Leaced 2023-03-23 16:15:34 +01:00 committed by GitHub
parent a9e497564b
commit 0794a77f17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/bash
# This script will open a little menu with different options # This script will open a little menu with different options
# Dependencies: Sway, Bemenu, Unicode, systemd # Dependencies: Bemenu, emoji-font, systemd
screenshot () { screenshot () {
case "$(echo -e "🖧 ...von allen Bildschirmen case "$(echo -e "🖧 ...von allen Bildschirmen

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/bash
# This script will take a screenshot # 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')" FILENAME="$HOME/screenshot-$(date +'%Y-%m-%d-%H%M%S.png')"

View file

@ -1,13 +1,13 @@
#!/usr/bin/env bash #!/usr/bin/bash
# This script will toggle gammastep # This script will toggle gammastep
# Dependencies: sway, gammastep, gnu-utils # Dependencies: gammastep
PID="$(ps -e | grep gammastep | awk -F ' ' '{print $1}')" PID="$(ps -e | grep gammastep | awk -F ' ' '{print $1}')"
if [[ $PID > 0 ]]; then if [[ $PID > 0 ]]; then
kill $PID kill $PID
else else
swaymsg exec "gammastep-indicator -c .config/sway/gammastep.ini" gammastep-indicator -c .config/sway/gammastep.ini
fi fi
exit 0 exit 0