8
8
9
9
CLI_PATH=" $( dirname " $( dirname " ${0} " ) " ) "
10
10
PATH=$PATH :${CLI_PATH} /lib/hyde-cli/
11
- export CLI_PATH
11
+ export CLI_PATH
12
12
export PATH
13
13
14
14
hyde_cli_version=" $( head -1 " ${CLI_PATH} /share/hyde-cli/.hyde-cli.ver" ) "
59
59
man () { # ? Show Manual
60
60
# shellcheck disable=SC1090
61
61
. " ${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
64
64
local man_ver=" $( grep " Hyde-cli Version:" " $HYDE_RUNTIME_DIR /Hyde-tool_man" | cut -d " :" -f2) "
65
65
if grep -q " ${man_ver} " <<< " ${hyde_cli_version}" ; then
66
66
cat " $HYDE_RUNTIME_DIR /Hyde-tool_man"
@@ -92,7 +92,7 @@ man() { #? Show Manual
92
92
barLine
93
93
print_prompt " \nDescriptions with" -y " [*]" " can be expanded to show more information. Append [--help]"
94
94
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' "
96
96
) | cat - 2> /dev/null | tee " $HYDE_RUNTIME_DIR /Hyde-tool_man"
97
97
}
98
98
@@ -108,7 +108,7 @@ version() { #? Hyde-cli version
108
108
repo_info
109
109
barLine
110
110
inform_updates
111
- }
111
+ }
112
112
}
113
113
114
114
systeminfo () { # ? System information
@@ -516,7 +516,7 @@ USAGE
516
516
select) # ? Wallpaper selector
517
517
" ${scrDir} " /swwwallselect.sh
518
518
;;
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
520
520
shift
521
521
Run-Wallpaper " ${@ } "
522
522
: << USAGE
@@ -671,7 +671,7 @@ sddm() { #? Sddm commands
671
671
;;
672
672
info) # ? Check sddm theme status
673
673
sddm_info
674
- ;;
674
+ ;;
675
675
* ) Parameters " ${FUNCNAME[0]} " ;;
676
676
677
677
esac ;
@@ -736,7 +736,7 @@ USAGE
736
736
737
737
}
738
738
739
- code () { # ? Code editor related commands
739
+ code () { # ? Code editor related commands
740
740
case $1 in
741
741
# select) #! Selector for default Theme presets
742
742
766
766
codet=${*:- wallbash}
767
767
[[ " $* " == " -" * ]] && { help ; exit 1; }
768
768
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..."
770
770
for i in " ${! codeConf[@]} " ; do
771
771
[ -d " ${codeConf[i]} /User" ] || continue
772
772
[ -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
788
788
# Keybinds_Hint #! Moved to .extra
789
789
shift
790
790
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"
792
792
" ${scrDir} " /keybinds_hint.sh " ${@ } "
793
793
: << USAGE
794
794
[SHOW_BINDS_USAGE]
@@ -814,9 +814,9 @@ USAGE
814
814
[END]
815
815
USAGE
816
816
;;
817
- calc) # ? [*] Calculator (libqalculate)
817
+ calc) # ? [*] Calculator (libqalculate)
818
818
shift
819
- Launch-Calculator " ${@ } "
819
+ Launch-Calculator " ${@ } "
820
820
: << USAGE
821
821
[SHOW_CALC_USAGE]
822
822
--rasi <PATH>? set rofi configuration
@@ -825,14 +825,14 @@ USAGE
825
825
[END]
826
826
USAGE
827
827
;;
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
829
829
shift
830
830
Launch-Emoji " ${@ } "
831
831
: << USAGE
832
832
[SHOW_EMOJI_USAGE]
833
833
--style ? use style [ 1 | 2 ]
834
834
--rasi <PATH>? set rofi configuration
835
- --deps ? check and resolve dependencies
835
+ --deps ? check and resolve dependencies
836
836
[END]
837
837
USAGE
838
838
;;
@@ -861,7 +861,7 @@ USAGE
861
861
screencap) # ? Use rofi to select screenshot options \n !! kills another rofi session
862
862
Launch-Screencap
863
863
;;
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" )
865
865
866
866
shift
867
867
Launch-Search " ${@ } "
@@ -884,7 +884,7 @@ USAGE
884
884
run () { # ? Executable utilities
885
885
case $1 in
886
886
887
- airplane_mode) # ? Toggle airplane mode\n\tﯦ Toogles wifi
887
+ airplane_mode) # ? Toggle airplane mode\n\tﯦ Toogles wifi
888
888
airplane-mode
889
889
;;
890
890
audio_idle) # ? Inhibits idle when player status: 'Playing
@@ -908,7 +908,7 @@ run() { #? Executable utilities
908
908
--print-monitor ? Print focused monitor
909
909
--scan ? Use 'tesseract' to scan image then add to clipboard
910
910
--stop ? Stop every instance of Screencap
911
- --reset ? Reinitialize
911
+ --reset ? Reinitialize
912
912
--deps ? Check and resolve dependencies
913
913
[END]
914
914
USAGE
@@ -999,10 +999,10 @@ USAGE
999
999
reload () { # ? Just reload
1000
1000
if [[ -n " $HYPRLAND_INSTANCE_SIGNATURE " ]]; then
1001
1001
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 " "
1004
1004
{ [ -n " $hydeTheme " ] && " ${scrDir} /themeswitch.sh" -s " $hydeTheme " ; } || " ${scrDir} /swwwallcache.sh"
1005
-
1005
+
1006
1006
fi
1007
1007
}
1008
1008
0 commit comments