chore: unknown

This commit is contained in:
hesam-init 2024-03-31 23:28:17 +03:30
parent 33bb00fb54
commit fa42dc6a8f
9 changed files with 19 additions and 19 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source $HOME/.config/scripts/env.sh
source ~/.config/scripts/env.sh
files=($(find "${LIVE_WALLPAPERS_DIR}" -type f))

View file

@ -1,3 +0,0 @@
#!/usr/bin/env bash
chmod +x *.sh

View file

@ -1,19 +1,15 @@
#!/usr/bin/env bash
export launcher_type="2"
export clipboard_type="1"
export wallpaper_type="1"
export powermenu_type="2"
export rofi_dir="$HOME/.config/rofi"
source ~/.config/scripts/env.sh
pkill rofi
case $1 in
d) exec $rofi_dir/launchers/type-$launcher_type/launcher.sh ;;
c) exec $rofi_dir/clipboard/type-$clipboard_type/clipboard.sh ;;
w) exec $rofi_dir/wallpaper/type-$wallpaper_type/wallpaper.sh ;;
p) exec $rofi_dir/applets/bin/powermenu.sh ;;
s) exec $rofi_dir/applets/bin/screenshot.sh ;;
d) exec $ROFI_DIR/launchers/type-$LAUNCHER_TYPE/launcher.sh ;;
c) exec $ROFI_DIR/clipboard/type-$CLIPBOARD_TYPE/clipboard.sh ;;
w) exec $ROFI_DIR/wallpaper/type-$WALLPAPER_TYPE/wallpaper.sh ;;
p) exec $ROFI_DIR/applets/bin/powermenu.sh ;;
s) exec $ROFI_DIR/applets/bin/screenshot.sh ;;
h)
echo -e "rofilaunch.sh [action]\nwhere action,"
echo "d : drun mode"

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source $HOME/.config/scripts/env.sh
source ~/.config/scripts/env.sh
files=($(find "${WALLPAPERS_DIR}" -type f))

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source $HOME/.config/scripts/env.sh
source ~/.config/scripts/env.sh
files=($(find "${WALLPAPERS_DIR}" -type f))

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source $HOME/.config/scripts/env.sh
source ~/.config/scripts/env.sh
if [ -z "$WALLPAPER_DAEMON" ]; then
echo "WALLPAPER_DAEMON is not set in the environment."

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source $HOME/.config/scripts/env.sh
source ~/.config/scripts/env.sh
if [[ ! -d "$WAYBAR_DIR" ]]; then
echo "Error: Configuration directory or files missing!"

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source $HOME/.config/scripts/env.sh
source ~/.config/scripts/env.sh
WAYBAR_PID=$(pgrep -x waybar)

View file

@ -13,3 +13,10 @@ export WALLPAPERS_DIR="$HOME/Wallpapers"
export LIVE_WALLPAPERS_DIR="$HOME/Wallpapers/Live"
export SWWW_FPS=144
export SWWW_DURATION=2
# rofi launcher :
export LAUNCHER_TYPE="2"
export CLIPBOARD_TYPE="1"
export WALLPAPER_TYPE="1"
export POWERMENU_TYPE="2"
export ROFI_DIR="$HOME/.config/rofi"