diff options
| -rw-r--r-- | CHANGELOG.md | 11 | ||||
| -rwxr-xr-x | config/hypr/scripts/Brightness.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/BrightnessKbd.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/Dunst.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/GameMode.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/TouchPad.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/Wlogout.sh | 4 | ||||
| -rwxr-xr-x | config/hypr/scripts/WofiBeats.sh | 75 | ||||
| -rwxr-xr-x | config/hypr/scripts/WofiPower.sh | 33 |
9 files changed, 56 insertions, 77 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index afd9290b..e81aeb4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ ## CHANGES +### 04-Nov-2023 +- Various clean up scripts (change all to !#/bin/bash shebangs) except pythons! +- Tweaked abit Wofi Beats (SUPER CTRL S) to have a better notification +<p align="center"> + <img align="center" width="49%" src="https://raw.githubusercontent.com/JaKooLit/screenshots/main/Changelogs-Screenshots/04-11-2023-WofiBeats.png" /> + +- Returning wlogout and removing the previous logout menu (WofiPower.sh). Can be launch by pressing power button on waybar or (keybinds) CTRL ALT P +<p align="center"> + <img align="center" width="49%" src="https://raw.githubusercontent.com/JaKooLit/screenshots/main/Changelogs-Screenshots/04-11-2023-wlogout.png" /> + + ### 28-Oct-2023 - Various fixes / cleanup on waybar and modules - added simple layout 2 (can be summoned with SUPER ALT W) diff --git a/config/hypr/scripts/Brightness.sh b/config/hypr/scripts/Brightness.sh index 040d1c72..72cff898 100755 --- a/config/hypr/scripts/Brightness.sh +++ b/config/hypr/scripts/Brightness.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash iDIR="$HOME/.config/dunst/icons" notification_timeout=1000 diff --git a/config/hypr/scripts/BrightnessKbd.sh b/config/hypr/scripts/BrightnessKbd.sh index f48dc1c9..c69ad6a7 100755 --- a/config/hypr/scripts/BrightnessKbd.sh +++ b/config/hypr/scripts/BrightnessKbd.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash iDIR="$HOME/.config/dunst/icons" diff --git a/config/hypr/scripts/Dunst.sh b/config/hypr/scripts/Dunst.sh index a440e3a1..fa8bc10d 100755 --- a/config/hypr/scripts/Dunst.sh +++ b/config/hypr/scripts/Dunst.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash CONFIG="$HOME/.config/dunst/dunstrc" diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh index 2d22287b..ecdcfb8b 100755 --- a/config/hypr/scripts/GameMode.sh +++ b/config/hypr/scripts/GameMode.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/bin/bash HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==2{print $2}') if [ "$HYPRGAMEMODE" = 1 ] ; then hyprctl --batch "\ diff --git a/config/hypr/scripts/TouchPad.sh b/config/hypr/scripts/TouchPad.sh index ab9f3c47..09dc563a 100755 --- a/config/hypr/scripts/TouchPad.sh +++ b/config/hypr/scripts/TouchPad.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # NOTE: find the right device using hyprctl devices diff --git a/config/hypr/scripts/Wlogout.sh b/config/hypr/scripts/Wlogout.sh new file mode 100755 index 00000000..88e91826 --- /dev/null +++ b/config/hypr/scripts/Wlogout.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +wlogout --protocol layer-shell -b 5 -T 600 -B 600 && disown +
\ No newline at end of file diff --git a/config/hypr/scripts/WofiBeats.sh b/config/hypr/scripts/WofiBeats.sh index 65328547..0a3b5739 100755 --- a/config/hypr/scripts/WofiBeats.sh +++ b/config/hypr/scripts/WofiBeats.sh @@ -1,12 +1,10 @@ #!/bin/bash - ## Files CONFIG="$HOME/.config/wofi/WofiBig/config" STYLE="$HOME/.config/wofi/style.css" COLORS="$HOME/.config/wofi/colors" iDIR="$HOME/.config/dunst/icons" - # wofi window config (in %) WIDTH=12 HEIGHT=30 @@ -20,9 +18,8 @@ wofi_command="wofi --show dmenu \ --hide-scroll --no-actions \ --matching=fuzzy" - notification(){ - notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/music.png" "Now Playing: Online Music" + notify-send -h string:x-canonical-private-synchronous:sys-notify -u normal -i "$iDIR/music.png" "Playing now: " "$@" } menu(){ @@ -30,60 +27,60 @@ printf "1. Lofi Girl\n" printf "2. 96.3 Easy Rock - FM Radio\n" printf "3. Ghibli Music (Instrumental)\n" printf "4. Top Music 2023\n" -printf "5. Youtube Global Top 100\n" +printf "5. Chillhop\n" printf "6. SmoothChill\n" printf "7. Relaxing Music\n" printf "8. Youtube Remix\n" -printf "9. K-Drama-OST2" +printf "9. Korean Drama OST" } main() { choice=$(menu | ${wofi_command} | cut -d. -f1) case $choice in 1) - notification + notification "Lofi Girl âī¸đļ"; mpv "https://play.streamafrica.net/lofiradio" return ;; 2) - notification - mpv "https://radio-stations-philippines.com/easy-rock" - return -;; + notification "96.3 Easy Rock đģđļ"; + mpv "https://radio-stations-philippines.com/easy-rock" + return + ;; 3) - notification - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLNi74S754EXbrzw-IzVhpeAaMISNrzfUy&si=rqnXCZU5xoFhxfOl" - return - ;; + notification "Ghibli Music đģđļ"; + mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLNi74S754EXbrzw-IzVhpeAaMISNrzfUy&si=rqnXCZU5xoFhxfOl" + return + ;; 4) - notification ; - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PL6k9a6aYB2zk0qSbXR-ZEiwqgdHymsRtQ" - return - ;; + notification "Top Music 2023 âī¸đļ"; + mpv --shuffle --vid=no "https://youtube.com/playlist?list=PL6k9a6aYB2zk0qSbXR-ZEiwqgdHymsRtQ" + return + ;; 5) - notification ; - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM" - return - ;; + notification "Chillhop âī¸đļ"; + mpv "http://stream.zeno.fm/fyn8eh3h5f8uv" + return + ;; 6) - notification ; - mpv "https://media-ssl.musicradio.com/SmoothChill" - return - ;; + notification "SmoothChill âī¸đļ"; + mpv "https://media-ssl.musicradio.com/SmoothChill" + return + ;; 7) - notification ; - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE" - return -;; + notification "Relaxing Music âī¸đļ"; + mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE" + return + ;; 8) - notification ; - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0" - return - ;; + notification "Youtube Remix đģđļ"; + mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0" + return + ;; 9) - notification ; - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" - return -;; + notification "Korean Drama OST đģđļ"; + mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" + return + ;; esac } diff --git a/config/hypr/scripts/WofiPower.sh b/config/hypr/scripts/WofiPower.sh deleted file mode 100755 index 097e5fa4..00000000 --- a/config/hypr/scripts/WofiPower.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env bash - -# WOFI STYLES -CONFIG="$HOME/.config/wofi/WofiBig/config" -STYLE="$HOME/.config/wofi/style.css" -COLORS="$HOME/.config/wofi/colors" - -# Wofi window config (in %) -WOFI_WIDTH=5 -WOFI_HEIGHT=23 - -wofi_command="wofi --show dmenu \ - --prompt choose... \ - --conf $CONFIG --style $STYLE --color $COLORS \ - --width=$WOFI_WIDTH% --height=$WOFI_HEIGHT% \ - --cache-file=/dev/null \ - --hide-scroll --no-actions \ - --matching=fuzzy" - -entries=$(echo -e "ī Poweroff\nī Reboot\nī Suspend\nīŖ Lock\nī Logout" | $wofi_command -i --dmenu | awk '{print tolower($2)}') - -case $entries in - poweroff|reboot|suspend) - systemctl $entries - ;; - lock) - $HOME/.config/hypr/scripts/LockScreen.sh - ;; - logout) - hyprctl dispatch exit 0 - ;; -esac -
\ No newline at end of file |
