Browse Source

Fix comment

pull/173/head
RyuuyaS 2 years ago
parent
commit
d77aec4b16
  1. 2
      config/hypr/UserScripts/Sounds.sh
  2. 12
      config/hypr/UserScripts/WallpaperAutoChange.sh
  3. 8
      config/hypr/UserScripts/WallpaperRandom.sh
  4. 6
      config/hypr/UserScripts/WallpaperSelect.sh
  5. 2
      config/hypr/scripts/AirplaneMode.sh
  6. 10
      config/hypr/scripts/Brightness.sh
  7. 10
      config/hypr/scripts/BrightnessKbd.sh
  8. 4
      config/hypr/scripts/ChangeBlur.sh
  9. 2
      config/hypr/scripts/ChangeLayout.sh
  10. 3
      config/hypr/scripts/ClipManager.sh
  11. 13
      config/hypr/scripts/DarkLight.sh
  12. 5
      config/hypr/scripts/GameMode.sh
  13. 67
      config/hypr/scripts/KeyHints.sh
  14. 6
      config/hypr/scripts/LockScreen.sh
  15. 12
      config/hypr/scripts/MediaCtrl.sh
  16. 2
      config/hypr/scripts/Polkit-NixOS.sh
  17. 2
      config/hypr/scripts/Polkit.sh
  18. 3
      config/hypr/scripts/PortalHyprland.sh
  19. 2
      config/hypr/scripts/PywalSwww.sh
  20. 4
      config/hypr/scripts/Refresh.sh
  21. 2
      config/hypr/scripts/RefreshNoWaybar.sh
  22. 4
      config/hypr/scripts/RofiEmoji.sh
  23. 5
      config/hypr/scripts/ScreenShot.sh
  24. 10
      config/hypr/scripts/SwitchKeyboardLayout.sh
  25. 6
      config/hypr/scripts/TouchPad.sh
  26. 2
      config/hypr/scripts/Volume.sh
  27. 2
      config/hypr/scripts/WaybarCava.sh
  28. 2
      config/hypr/scripts/WaybarLayout.sh
  29. 2
      config/hypr/scripts/WaybarStyles.sh
  30. 4
      config/hypr/scripts/Wlogout.sh

2
config/hypr/UserScripts/Sounds.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# This script is used to play system sounds.
theme="freedesktop" # Set the theme for the system sounds.

12
config/hypr/UserScripts/WallpaperAutoChange.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# source https://wiki.archlinux.org/title/Hyprland#Using_a_script_to_change_wallpaper_every_X_minutes
# This script will randomly go through the files of a directory, setting it
@ -23,12 +23,12 @@ export SWWW_TRANSITION_TYPE=simple
INTERVAL=1800
while true; do
find "$1" \
| while read -r img; do
find "$1" |
while read -r img; do
echo "$((RANDOM % 1000)):$img"
done \
| sort -n | cut -d':' -f2- \
| while read -r img; do
done |
sort -n | cut -d':' -f2- |
while read -r img; do
swww img "$img"
$pywal_refresh
sleep $INTERVAL

8
config/hypr/UserScripts/WallpaperRandom.sh

@ -1,13 +1,12 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Script for Random Wallpaper ( CTRL ALT W)
wallDIR="$HOME/Pictures/wallpapers"
scriptsDir="$HOME/.config/hypr/scripts"
PICS=($(find ${wallDIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \)))
RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]}
RANDOMPICS=${PICS[$RANDOM % ${#PICS[@]}]}
# Transition config
FPS=60
@ -16,11 +15,8 @@ DURATION=1
BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION --transition-bezier $BEZIER"
swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS
${scriptsDir}/PywalSwww.sh
sleep 1
${scriptsDir}/Refresh.sh

6
config/hypr/UserScripts/WallpaperSelect.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# This script for selecting wallpapers (SUPER W)
SCRIPTSDIR="$HOME/.config/hypr/scripts"
@ -15,7 +15,7 @@ BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
# Check if swaybg is running
if pidof swaybg > /dev/null; then
if pidof swaybg >/dev/null; then
pkill swaybg
fi
@ -75,7 +75,7 @@ main() {
}
# Check if rofi is already running
if pidof rofi > /dev/null; then
if pidof rofi >/dev/null; then
pkill rofi
exit 0
fi

2
config/hypr/scripts/AirplaneMode.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Airplane Mode. Turning on or off all wifi using rfkill.
notif="$HOME/.config/swaync/images/bell.png"

10
config/hypr/scripts/Brightness.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Script for Monitor backlights (if supported) using brightnessctl
iDIR="$HOME/.config/swaync/icons"
@ -38,16 +38,16 @@ change_backlight() {
# Execute accordingly
case "$1" in
"--get")
"--get")
get_backlight
;;
"--inc")
"--inc")
change_backlight "+10%"
;;
"--dec")
"--dec")
change_backlight "10%-"
;;
*)
*)
get_backlight
;;
esac

10
config/hypr/scripts/BrightnessKbd.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Script for keyboard backlights (if supported) using brightnessctl
iDIR="$HOME/.config/swaync/icons"
@ -36,16 +36,16 @@ change_kbd_backlight() {
# Execute accordingly
case "$1" in
"--get")
"--get")
get_kbd_backlight
;;
"--inc")
"--inc")
change_kbd_backlight "+30%"
;;
"--dec")
"--dec")
change_kbd_backlight "30%-"
;;
*)
*)
get_kbd_backlight
;;
esac

4
config/hypr/scripts/ChangeBlur.sh

@ -1,6 +1,6 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
## Script for changing blurs on the fly
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Script for changing blurs on the fly
notif="$HOME/.config/swaync/images/bell.png"

2
config/hypr/scripts/ChangeLayout.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# for changing Hyprland Layouts (Master or Dwindle) on the fly
notif="$HOME/.config/swaync/images/bell.png"

3
config/hypr/scripts/ClipManager.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Clipboard Manager. This script uses cliphist, rofi, and wl-copy.
# Actions:
@ -37,4 +37,3 @@ while true; do
;;
esac
done

13
config/hypr/scripts/DarkLight.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# For Dark and Light switching
# Note: Scripts are looking for keywords Light or Dark except for wallpapers as the are in a separate folders
@ -36,7 +36,7 @@ fi
# Function to update theme mode for the next cycle
update_theme_mode() {
echo "$next_mode" > ~/.cache/.theme_mode
echo "$next_mode" >~/.cache/.theme_mode
}
# Function to notify user
@ -64,7 +64,6 @@ set_waybar_style() {
set_waybar_style "$next_mode"
notify_user "$next_mode"
# swaync color change
if [ "$next_mode" = "Dark" ]; then
sed -i '/@define-color noti-bg/s/rgba([0-9]*,\s*[0-9]*,\s*[0-9]*,\s*[0-9.]*);/rgba(0, 0, 0, 0.8);/' "${swaync_style}"
@ -84,7 +83,6 @@ fi
# Update wallpaper using swww command
$swww "${next_wallpaper}" $effect
# Set Kvantum Manager theme & QT5/QT6 settings
if [ "$next_mode" = "Dark" ]; then
kvantum_theme="Tokyo-Night"
@ -148,7 +146,7 @@ set_custom_gtk_theme() {
gsettings set $theme_setting "$selected_theme"
# Flatpak GTK apps (themes)
if command -v flatpak &> /dev/null; then
if command -v flatpak &>/dev/null; then
flatpak --user override --filesystem=$HOME/.themes
sleep 0.5
flatpak --user override --env=GTK_THEME="$selected_theme"
@ -166,12 +164,12 @@ set_custom_gtk_theme() {
echo "Selected icon theme for $mode mode: $selected_icon"
gsettings set $icon_setting "$selected_icon"
## QT5ct icon_theme
# QT5ct icon_theme
sed -i "s|^icon_theme=.*$|icon_theme=$selected_icon|" "$HOME/.config/qt5ct/qt5ct.conf"
sed -i "s|^icon_theme=.*$|icon_theme=$selected_icon|" "$HOME/.config/qt6ct/qt6ct.conf"
# Flatpak GTK apps (icons)
if command -v flatpak &> /dev/null; then
if command -v flatpak &>/dev/null; then
flatpak --user override --filesystem=$HOME/.icons
sleep 0.5
flatpak --user override --env=ICON_THEME="$selected_icon"
@ -197,4 +195,3 @@ ${SCRIPTSDIR}/Refresh.sh
notify-send -u normal -i "$notif" "Themes in $next_mode Mode"
exit 0

5
config/hypr/scripts/GameMode.sh

@ -1,13 +1,12 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Game Mode. Turning off all animations
notif="$HOME/.config/swaync/images/bell.png"
SCRIPTSDIR="$HOME/.config/hypr/scripts"
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
if [ "$HYPRGAMEMODE" = 1 ] ; then
if [ "$HYPRGAMEMODE" = 1 ]; then
hyprctl --batch "\
keyword animations:enabled 0;\
keyword decoration:drop_shadow 0;\

67
config/hypr/scripts/KeyHints.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Keyhints. Idea got from Garuda Hyprland
# Detect monitor resolution and scale
@ -37,37 +37,34 @@ yad --width=$dynamic_width --height=$dynamic_height \
--column=Description: \
--column=Command: \
--timeout-indicator=bottom \
"ESC" "close this app" "" "=" "SUPER KEY (Windows Key)" "(SUPER KEY)" \
" enter" "Terminal" "(kitty)" \
" or D" "App Launcher" "(rofi)" \
" T" "Open File Manager" "(Thunar)" \
" Q" "close active window" "(not kill)" \
" Shift Q " "closes a specified window" "(window)" \
" Alt V" "Clipboard Manager" "(cliphist)" \
" W" "Choose wallpaper" "(Wallpaper Menu)" \
"CTRL ALT W" "Random wallpaper" "(via swww)" \
" B" "Hide/UnHide Waybar" "waybar" \
" CTRL B" "Choose waybar styles" "(waybar styles)" \
" ALT B" "Choose waybar layout" "(waybar layout)" \
" ALT R" "Reload Waybar swaync Rofi" "CHECK NOTIFICATION FIRST!!!" \
" SHIFT N" "Launch Notification Panel" "swaync Notification Center" \
" Print" "screenshot" "(grim)" \
" Shift Print" "screenshot region" "(grim + slurp)" \
" Shift S" "screenshot region" "(swappy)" \
"ALT Print" "Screenshot active window" "active window only" \
"CTRL ALT P" "power-menu" "(wlogout)" \
"CTRL ALT L" "screen lock" "(swaylock)" \
"CTRL ALT Del" "Hyprland Exit" "(SAVE YOUR WORK!!!)" \
" F" "Fullscreen" "Toggles to full screen" \
" ALT L" "Toggle Dwindle | Master Layout" "Hyprland Layout" \
" Shift F" "Toggle float" "single window" \
" ALT F" "Toggle all windows to float" "all windows" \
" Shift B" "Toggle Blur" "normal or less blur" \
" SHIFT G" "Gamemode! All animations OFF or ON" "toggle" \
" H" "Launch this app" "" \
" E" "View or EDIT Keybinds, Settings, Monitor" "" \
"" "" "" \
"More tips:" "https://github.com/JaKooLit/Hyprland-Dots/wiki" ""\
"ESC" "close this app" "" "=" "SUPER KEY (Windows Key)" "(SUPER KEY)" \
" enter" "Terminal" "(kitty)" \
" or D" "App Launcher" "(rofi)" \
" T" "Open File Manager" "(Thunar)" \
" Q" "close active window" "(not kill)" \
" Shift Q " "closes a specified window" "(window)" \
" Alt V" "Clipboard Manager" "(cliphist)" \
" W" "Choose wallpaper" "(Wallpaper Menu)" \
"CTRL ALT W" "Random wallpaper" "(via swww)" \
" B" "Hide/UnHide Waybar" "waybar" \
" CTRL B" "Choose waybar styles" "(waybar styles)" \
" ALT B" "Choose waybar layout" "(waybar layout)" \
" ALT R" "Reload Waybar swaync Rofi" "CHECK NOTIFICATION FIRST!!!" \
" SHIFT N" "Launch Notification Panel" "swaync Notification Center" \
" Print" "screenshot" "(grim)" \
" Shift Print" "screenshot region" "(grim + slurp)" \
" Shift S" "screenshot region" "(swappy)" \
"ALT Print" "Screenshot active window" "active window only" \
"CTRL ALT P" "power-menu" "(wlogout)" \
"CTRL ALT L" "screen lock" "(swaylock)" \
"CTRL ALT Del" "Hyprland Exit" "(SAVE YOUR WORK!!!)" \
" F" "Fullscreen" "Toggles to full screen" \
" ALT L" "Toggle Dwindle | Master Layout" "Hyprland Layout" \
" Shift F" "Toggle float" "single window" \
" ALT F" "Toggle all windows to float" "all windows" \
" Shift B" "Toggle Blur" "normal or less blur" \
" SHIFT G" "Gamemode! All animations OFF or ON" "toggle" \
" H" "Launch this app" "" \
" E" "View or EDIT Keybinds, Settings, Monitor" "" \
"" "" "" \
"More tips:" "https://github.com/JaKooLit/Hyprland-Dots/wiki" ""

6
config/hypr/scripts/LockScreen.sh

@ -1,7 +1,9 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# For Swaylock
CONFIG="$HOME/.config/swaylock/config"
sleep 0.5s; swaylock --config ${CONFIG} & disown
sleep 0.5s
swaylock --config ${CONFIG} &
disown

12
config/hypr/scripts/MediaCtrl.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Playerctl
music_icon="$HOME/.config/swaync/icons/music.png"
@ -42,19 +42,19 @@ show_music_notification() {
# Get media control action from command line argument
case "$1" in
"--nxt")
"--nxt")
play_next
;;
"--prv")
"--prv")
play_previous
;;
"--pause")
"--pause")
toggle_play_pause
;;
"--stop")
"--stop")
stop_playback
;;
*)
*)
echo "Usage: $0 [--nxt|--prv|--pause|--stop]"
exit 1
;;

2
config/hypr/scripts/Polkit-NixOS.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# For NixOS starting of polkit-gnome. Dec 2023, the settings stated in NixOS wiki does not work so have to manual start it
# Find all polkit-gnome executables in the Nix store

2
config/hypr/scripts/Polkit.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# This is for polkits, it will start from top and will stop if the top is executed
# Polkit possible paths files to check

3
config/hypr/scripts/PortalHyprland.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# For manually starting xdg-desktop-portal
sleep 1
@ -13,4 +13,3 @@ sleep 1
sleep 2
/usr/lib/xdg-desktop-portal-hyprland &
/usr/libexec/xdg-desktop-portal &

2
config/hypr/scripts/PywalSwww.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Pywal Colors for current wallpaper
# Define the path to the swww cache directory

4
config/hypr/scripts/Refresh.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Scripts for refreshing waybar, rofi, swaync, pywal colors
SCRIPTSDIR=$HOME/.config/hypr/scripts
@ -28,7 +28,7 @@ waybar &
# relaunch swaync
sleep 0.5
swaync > /dev/null 2>&1 &
swaync >/dev/null 2>&1 &
# Relaunching rainbow borders if the script exists
sleep 1

2
config/hypr/scripts/RefreshNoWaybar.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Modified version of Refresh but no waybar refresh
# Used by automatic wallpaper change

4
config/hypr/scripts/RofiEmoji.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Rofi Emoticons. Not my own. Cant remember the source
sed '1,/^### DATA ###$/d' $0 |
@ -7,7 +7,7 @@ rofi -dmenu -config ~/.config/rofi/config-long.rasi|
cut -d ' ' -f 1 | tr -d '\n' | wl-copy
exit
### DATA ###
# ### DATA ###
😀 grinning face face smile happy joy :D grin
😃 grinning face with big eyes face happy joy haha :D :) smile funny
😄 grinning face with smiling eyes face happy joy funny haha laugh like :D :) smile

5
config/hypr/scripts/ScreenShot.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Screenshots scripts
iDIR="$HOME/.config/swaync/icons"
@ -36,8 +36,6 @@ notify_view() {
fi
}
# countdown
countdown() {
for sec in $(seq $1 -1 1); do
@ -102,7 +100,6 @@ shotswappy() {
rm "$tmpfile"
}
if [[ ! -d "$dir" ]]; then
mkdir -p "$dir"
fi

10
config/hypr/scripts/SwitchKeyboardLayout.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# This is for changing kb_layouts. Set kb_layouts in $settings_file
layout_f="$HOME/.cache/kb_layout"
@ -12,7 +12,7 @@ if [ ! -f "$layout_f" ]; then
if [ -z "$default_layout" ]; then
default_layout="us" # Default to 'us' layout if Settings.conf or 'kb_layout' is not found
fi
echo "$default_layout" > "$layout_f"
echo "$default_layout" >"$layout_f"
fi
current_layout=$(cat "$layout_f")
@ -20,7 +20,7 @@ current_layout=$(cat "$layout_f")
# Read keyboard layout settings from Settings.conf
if [ -f "$settings_file" ]; then
kb_layout_line=$(grep 'kb_layout=' "$settings_file" | cut -d '=' -f 2)
IFS=',' read -ra layout_mapping <<< "$kb_layout_line"
IFS=',' read -ra layout_mapping <<<"$kb_layout_line"
fi
layout_count=${#layout_mapping[@]}
@ -34,12 +34,12 @@ for ((i = 0; i < layout_count; i++)); do
done
# Calculate the index of the next layout
next_index=$(( (current_index + 1) % layout_count ))
next_index=$(((current_index + 1) % layout_count))
new_layout="${layout_mapping[next_index]}"
# Update the keyboard layout
hyprctl keyword input:kb_layout "$new_layout"
echo "$new_layout" > "$layout_f"
echo "$new_layout" >"$layout_f"
# Notification for the new keyboard layout
notify-send -u low -i "$notif" "new KB_Layout: $new_layout"

6
config/hypr/scripts/TouchPad.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# For disabling touchpad.
Touchpad_Device="asue1209:00-04f3:319f-touchpad"
@ -10,10 +10,10 @@ STATUS_FILE="$XDG_RUNTIME_DIR/touchpad.status"
toggle_touchpad() {
if [ ! -f "$STATUS_FILE" ] || [ "$(cat "$STATUS_FILE")" = "false" ]; then
echo "true" > "$STATUS_FILE"
echo "true" >"$STATUS_FILE"
action="enabled"
else
echo "false" > "$STATUS_FILE"
echo "false" >"$STATUS_FILE"
action="disabled"
fi

2
config/hypr/scripts/Volume.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Scripts for volume controls for audio and mic
iDIR="$HOME/.config/swaync/icons"

2
config/hypr/scripts/WaybarCava.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Not my own work. This was added through Github PR. Credit to original author

2
config/hypr/scripts/WaybarLayout.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Script for waybar layout or configs
set -euo pipefail

2
config/hypr/scripts/WaybarStyles.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Script for waybar styles
set -euo pipefail

4
config/hypr/scripts/Wlogout.sh

@ -1,5 +1,5 @@
#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# wlogout (Power, Screen Lock, Suspend, etc)
@ -14,7 +14,7 @@ A_720=50
B_720=50
# Check if wlogout is already running
if pgrep -x "wlogout" > /dev/null; then
if pgrep -x "wlogout" >/dev/null; then
pkill -x "wlogout"
exit 0
fi

Loading…
Cancel
Save