Browse Source

See changelog

pull/8/head
JaKooLit 2 years ago
parent
commit
5c92d83f04
  1. 11
      CHANGELOG.md
  2. 2
      config/hypr/scripts/Brightness.sh
  3. 2
      config/hypr/scripts/BrightnessKbd.sh
  4. 2
      config/hypr/scripts/Dunst.sh
  5. 2
      config/hypr/scripts/GameMode.sh
  6. 2
      config/hypr/scripts/TouchPad.sh
  7. 4
      config/hypr/scripts/Wlogout.sh
  8. 75
      config/hypr/scripts/WofiBeats.sh
  9. 33
      config/hypr/scripts/WofiPower.sh

11
CHANGELOG.md

@ -1,5 +1,16 @@
## CHANGES ## 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 ### 28-Oct-2023
- Various fixes / cleanup on waybar and modules - Various fixes / cleanup on waybar and modules
- added simple layout 2 (can be summoned with SUPER ALT W) - added simple layout 2 (can be summoned with SUPER ALT W)

2
config/hypr/scripts/Brightness.sh

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/bin/bash
iDIR="$HOME/.config/dunst/icons" iDIR="$HOME/.config/dunst/icons"
notification_timeout=1000 notification_timeout=1000

2
config/hypr/scripts/BrightnessKbd.sh

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/bin/bash
iDIR="$HOME/.config/dunst/icons" iDIR="$HOME/.config/dunst/icons"

2
config/hypr/scripts/Dunst.sh

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/bin/bash
CONFIG="$HOME/.config/dunst/dunstrc" CONFIG="$HOME/.config/dunst/dunstrc"

2
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}') HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==2{print $2}')
if [ "$HYPRGAMEMODE" = 1 ] ; then if [ "$HYPRGAMEMODE" = 1 ] ; then
hyprctl --batch "\ hyprctl --batch "\

2
config/hypr/scripts/TouchPad.sh

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# NOTE: find the right device using hyprctl devices # NOTE: find the right device using hyprctl devices

4
config/hypr/scripts/Wlogout.sh

@ -0,0 +1,4 @@
#!/bin/bash
wlogout --protocol layer-shell -b 5 -T 600 -B 600 && disown

75
config/hypr/scripts/WofiBeats.sh

@ -1,12 +1,10 @@
#!/bin/bash #!/bin/bash
## Files ## Files
CONFIG="$HOME/.config/wofi/WofiBig/config" CONFIG="$HOME/.config/wofi/WofiBig/config"
STYLE="$HOME/.config/wofi/style.css" STYLE="$HOME/.config/wofi/style.css"
COLORS="$HOME/.config/wofi/colors" COLORS="$HOME/.config/wofi/colors"
iDIR="$HOME/.config/dunst/icons" iDIR="$HOME/.config/dunst/icons"
# wofi window config (in %) # wofi window config (in %)
WIDTH=12 WIDTH=12
HEIGHT=30 HEIGHT=30
@ -20,9 +18,8 @@ wofi_command="wofi --show dmenu \
--hide-scroll --no-actions \ --hide-scroll --no-actions \
--matching=fuzzy" --matching=fuzzy"
notification(){ 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(){ menu(){
@ -30,60 +27,60 @@ printf "1. Lofi Girl\n"
printf "2. 96.3 Easy Rock - FM Radio\n" printf "2. 96.3 Easy Rock - FM Radio\n"
printf "3. Ghibli Music (Instrumental)\n" printf "3. Ghibli Music (Instrumental)\n"
printf "4. Top Music 2023\n" printf "4. Top Music 2023\n"
printf "5. Youtube Global Top 100\n" printf "5. Chillhop\n"
printf "6. SmoothChill\n" printf "6. SmoothChill\n"
printf "7. Relaxing Music\n" printf "7. Relaxing Music\n"
printf "8. Youtube Remix\n" printf "8. Youtube Remix\n"
printf "9. K-Drama-OST2" printf "9. Korean Drama OST"
} }
main() { main() {
choice=$(menu | ${wofi_command} | cut -d. -f1) choice=$(menu | ${wofi_command} | cut -d. -f1)
case $choice in case $choice in
1) 1)
notification notification "Lofi Girl ☕🎶";
mpv "https://play.streamafrica.net/lofiradio" mpv "https://play.streamafrica.net/lofiradio"
return return
;; ;;
2) 2)
notification notification "96.3 Easy Rock 📻🎶";
mpv "https://radio-stations-philippines.com/easy-rock" mpv "https://radio-stations-philippines.com/easy-rock"
return return
;; ;;
3) 3)
notification notification "Ghibli Music 🎻🎶";
mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLNi74S754EXbrzw-IzVhpeAaMISNrzfUy&si=rqnXCZU5xoFhxfOl" mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLNi74S754EXbrzw-IzVhpeAaMISNrzfUy&si=rqnXCZU5xoFhxfOl"
return return
;; ;;
4) 4)
notification ; notification "Top Music 2023 ☕🎶";
mpv --shuffle --vid=no "https://youtube.com/playlist?list=PL6k9a6aYB2zk0qSbXR-ZEiwqgdHymsRtQ" mpv --shuffle --vid=no "https://youtube.com/playlist?list=PL6k9a6aYB2zk0qSbXR-ZEiwqgdHymsRtQ"
return return
;; ;;
5) 5)
notification ; notification "Chillhop ☕🎶";
mpv --shuffle --vid=no "https://youtube.com/playlist?list=PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM" mpv "http://stream.zeno.fm/fyn8eh3h5f8uv"
return return
;; ;;
6) 6)
notification ; notification "SmoothChill ☕🎶";
mpv "https://media-ssl.musicradio.com/SmoothChill" mpv "https://media-ssl.musicradio.com/SmoothChill"
return return
;; ;;
7) 7)
notification ; notification "Relaxing Music ☕🎶";
mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE" mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE"
return return
;; ;;
8) 8)
notification ; notification "Youtube Remix 📻🎶";
mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0" mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0"
return return
;; ;;
9) 9)
notification ; notification "Korean Drama OST 📻🎶";
mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ"
return return
;; ;;
esac esac
} }

33
config/hypr/scripts/WofiPower.sh

@ -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
Loading…
Cancel
Save