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
### 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)

2
config/hypr/scripts/Brightness.sh

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

2
config/hypr/scripts/BrightnessKbd.sh

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
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"

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}')
if [ "$HYPRGAMEMODE" = 1 ] ; then
hyprctl --batch "\

2
config/hypr/scripts/TouchPad.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# 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
## 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
}

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