88
99CLI_PATH=" $( dirname " $( dirname " ${0} " ) " ) "
1010PATH=$PATH :${CLI_PATH} /lib/hyde-cli/
11- export CLI_PATH
11+ export CLI_PATH
1212export PATH
1313
1414hyde_cli_version=" $( head -1 " ${CLI_PATH} /share/hyde-cli/.hyde-cli.ver" ) "
5959man () { # ? Show Manual
6060 # shellcheck disable=SC1090
6161 . " ${META_FILE} " 2> /dev/null || print_prompt -r " Looks like you did not run 'Hyde-install'! "
62- [ -f " $HYDE_RUNTIME_DIR /Hyde-tool_man" ] && [[ $* == * " --reload" * ]] && rm " $HYDE_RUNTIME_DIR /Hyde-tool_man"
63- if [ -f " $HYDE_RUNTIME_DIR /Hyde-tool_man" ] ; then
62+ [ -f " $HYDE_RUNTIME_DIR /Hyde-tool_man" ] && [[ $* == * " --reload" * ]] && rm " $HYDE_RUNTIME_DIR /Hyde-tool_man"
63+ if [ -f " $HYDE_RUNTIME_DIR /Hyde-tool_man" ] ; then
6464 local man_ver=" $( grep " Hyde-cli Version:" " $HYDE_RUNTIME_DIR /Hyde-tool_man" | cut -d " :" -f2) "
6565 if grep -q " ${man_ver} " <<< " ${hyde_cli_version}" ; then
6666 cat " $HYDE_RUNTIME_DIR /Hyde-tool_man"
@@ -92,7 +92,7 @@ man() { #? Show Manual
9292 barLine
9393 print_prompt " \nDescriptions with" -y " [*]" " can be expanded to show more information. Append [--help]"
9494 print_prompt " \nCheck for dependencies by appending '--deps' flag. eg ' Hyde show pastebin --deps ' "
95- print_prompt " \nRegenerate this 'man' page by appending '--reload' flag. 'Hyde man --reload' "
95+ print_prompt " \nRegenerate this 'man' page by appending '--reload' flag. 'Hyde man --reload' "
9696 ) | cat - 2> /dev/null | tee " $HYDE_RUNTIME_DIR /Hyde-tool_man"
9797}
9898
@@ -108,7 +108,7 @@ version() { #? Hyde-cli version
108108 repo_info
109109 barLine
110110 inform_updates
111- }
111+ }
112112}
113113
114114systeminfo () { # ? System information
@@ -516,7 +516,7 @@ USAGE
516516 select) # ? Wallpaper selector
517517 " ${scrDir} " /swwwallselect.sh
518518 ;;
519- variety) # ? [*] Use variety package to manage wallpapers\nﯦ Add 'exec-once=Hyde wallpaper variety' in ./userprfs.conf
519+ variety) # ? [*] Use variety package to manage wallpapers\nﯦ Add 'exec-once=Hyde wallpaper variety' in ./userprfs.conf
520520 shift
521521 Run-Wallpaper " ${@ } "
522522 : << USAGE
@@ -671,7 +671,7 @@ sddm() { #? Sddm commands
671671 ;;
672672 info) # ? Check sddm theme status
673673 sddm_info
674- ;;
674+ ;;
675675 * ) Parameters " ${FUNCNAME[0]} " ;;
676676
677677 esac ;
@@ -736,7 +736,7 @@ USAGE
736736
737737}
738738
739- code () { # ? Code editor related commands
739+ code () { # ? Code editor related commands
740740 case $1 in
741741 # select) #! Selector for default Theme presets
742742
766766 codet=${*:- wallbash}
767767 [[ " $* " == " -" * ]] && { help ; exit 1; }
768768 readarray -t codeConf < <( find " ${confDir} " -mindepth 1 -maxdepth 1 -type d -name " Code*" -o -name " VSCodium*" -o -name " Cursor" | sort)
769- print_prompt -y " Setting '${codet} ' as code theme..."
769+ print_prompt -y " Setting '${codet} ' as code theme..."
770770 for i in " ${! codeConf[@]} " ; do
771771 [ -d " ${codeConf[i]} /User" ] || continue
772772 [ -f " ${codeConf[i]} /User/settings.json" ] || echo -e " {\n \" workbench.colorTheme\" :\" wallbash\" \n}" > " ${codeConf[i]} /User/settings.json"
@@ -788,7 +788,7 @@ show() { #? Useful GUI util
788788 # Keybinds_Hint #! Moved to .extra
789789 shift
790790 diff " ${etcDir} /keybinds_hint.sh" " ${scrDir} /keybinds_hint.sh" > /dev/null || \
791- print_prompt +b " \n[changes available] " " copy '" ${etcDir} /keybinds_hint.sh" ' to '${scrDir} /keybinds_hint.sh' to update your keybinds_hint.sh"
791+ print_prompt +b " \n[changes available] " " copy '" ${etcDir} /keybinds_hint.sh" ' to '${scrDir} /keybinds_hint.sh' to update your keybinds_hint.sh"
792792 " ${scrDir} " /keybinds_hint.sh " ${@ } "
793793 : << USAGE
794794[SHOW_BINDS_USAGE]
@@ -814,9 +814,9 @@ USAGE
814814[END]
815815USAGE
816816 ;;
817- calc) # ? [*] Calculator (libqalculate)
817+ calc) # ? [*] Calculator (libqalculate)
818818 shift
819- Launch-Calculator " ${@ } "
819+ Launch-Calculator " ${@ } "
820820 : << USAGE
821821[SHOW_CALC_USAGE]
822822 --rasi <PATH>? set rofi configuration
@@ -825,14 +825,14 @@ USAGE
825825[END]
826826USAGE
827827 ;;
828- emoji) # ? [*] Emoji selector\nﯦ Add 'emoji_style=2'\n 1 = list\n 2 = grid
828+ emoji) # ? [*] Emoji selector\nﯦ Add 'emoji_style=2'\n 1 = list\n 2 = grid
829829 shift
830830 Launch-Emoji " ${@ } "
831831 : << USAGE
832832[SHOW_EMOJI_USAGE]
833833 --style ? use style [ 1 | 2 ]
834834 --rasi <PATH>? set rofi configuration
835- --deps ? check and resolve dependencies
835+ --deps ? check and resolve dependencies
836836[END]
837837USAGE
838838 ;;
@@ -861,7 +861,7 @@ USAGE
861861 screencap) # ? Use rofi to select screenshot options \n !! kills another rofi session
862862 Launch-Screencap
863863 ;;
864- search) # ? [*] Web Search\nﯦ supports shorthand e.g 'g: some thing' (this uses google.com to search for 'some thing')\nﯦ ':' is use as delimiter\nﯦ Custom search-engines should be in 'search.lst' and be declared inside ./hyde.conf ( e.g search_file="$HOME/.config/hyde/search.lst" )
864+ search) # ? [*] Web Search\nﯦ supports shorthand e.g 'g: some thing' (this uses google.com to search for 'some thing')\nﯦ ':' is use as delimiter\nﯦ Custom search-engines should be in 'search.lst' and be declared inside ./hyde.conf ( e.g search_file="$HOME/.config/hyde/search.lst" )
865865
866866 shift
867867 Launch-Search " ${@ } "
@@ -884,7 +884,7 @@ USAGE
884884run () { # ? Executable utilities
885885 case $1 in
886886
887- airplane_mode) # ? Toggle airplane mode\n\tﯦ Toogles wifi
887+ airplane_mode) # ? Toggle airplane mode\n\tﯦ Toogles wifi
888888 airplane-mode
889889 ;;
890890 audio_idle) # ? Inhibits idle when player status: 'Playing
@@ -908,7 +908,7 @@ run() { #? Executable utilities
908908 --print-monitor ? Print focused monitor
909909 --scan ? Use 'tesseract' to scan image then add to clipboard
910910 --stop ? Stop every instance of Screencap
911- --reset ? Reinitialize
911+ --reset ? Reinitialize
912912 --deps ? Check and resolve dependencies
913913[END]
914914USAGE
@@ -999,10 +999,10 @@ USAGE
999999reload () { # ? Just reload
10001000 if [[ -n " $HYPRLAND_INSTANCE_SIGNATURE " ]]; then
10011001 box_me " Reloading Dots"
1002- [ -f " $HOME /.local/share/bin/swwwallcache.sh" ] && $HOME /.local/share/bin/swwwallcache.sh -t " "
1003- [ -f " $HOME /.local/lib/hyde/swwwallcache.sh" ] && $HOME /.local/lib/hyde/swwwallcache.sh -t " "
1002+ [ -f " $HOME /.local/share/bin/swwwallcache.sh" ] && " $HOME /.local/share/bin/swwwallcache.sh" -t " "
1003+ [ -f " $HOME /.local/lib/hyde/swwwallcache.sh" ] && " $HOME /.local/lib/hyde/swwwallcache.sh" -t " "
10041004 { [ -n " $hydeTheme " ] && " ${scrDir} /themeswitch.sh" -s " $hydeTheme " ; } || " ${scrDir} /swwwallcache.sh"
1005-
1005+
10061006 fi
10071007}
10081008
0 commit comments