From a0cba19a19020d6f1da3315a87d988f11326fc24 Mon Sep 17 00:00:00 2001 From: The-Repo-Club Date: Sat, 10 Dec 2022 23:35:21 +0000 Subject: [PATCH] Fix it --- ckb-next/.config/ckb-next/ckb-next.conf | 16 ++++++++-------- dconf/.config/dconf/user | Bin 20696 -> 20688 bytes pkgbrowser/.config/pkgbrowser/pkgbrowser.conf | 2 +- rofi/.config/rofi/bookmarks/bm.bmf | 0 rofi/.local/bin/rofi/bm | 11 ++++++++--- rofi/.local/bin/rofi/bm_add | 4 ++-- rofi/.local/bin/rofi/bm_remove | 4 ++-- rofi/.local/bin/rofi/bm_viewer | 10 +++++----- 8 files changed, 26 insertions(+), 21 deletions(-) delete mode 100644 rofi/.config/rofi/bookmarks/bm.bmf diff --git a/ckb-next/.config/ckb-next/ckb-next.conf b/ckb-next/.config/ckb-next/ckb-next.conf index 7449ca4a8..22902e5a3 100644 --- a/ckb-next/.config/ckb-next/ckb-next.conf +++ b/ckb-next/.config/ckb-next/ckb-next.conf @@ -197,7 +197,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Lighting\Keys\y=#ffffff 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Lighting\Keys\z=#ffffff 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Modified=394adceb +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Modified=8a67e82 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Name=Rainbow 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Performance\DPI\0=@Point(400 400) @@ -425,7 +425,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Lighting\Keys\y=#ff0000 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Lighting\Keys\z=#ff0000 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Modified=9389d46a +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Modified=3752511a 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Name=Breathing 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Performance\DPI\0=@Point(400 400) @@ -675,7 +675,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Lighting\Keys\y=#aa00ff 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Lighting\Keys\z=#aa00ff 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Modified=7a6eaf79 +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Modified=a2cf7686 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Name=Trippy 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Performance\DPI\0=@Point(400 400) @@ -733,7 +733,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\CurrentMode={51EB6E3A-27A0-4AD6-A35C-6B67E0329A3D} 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\HwModified=7ffd 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\ModeCount=3 -0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Modified=9d268d65 +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Modified=17b72545 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Name=Multi 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Binding\KeyMap=K68 GB 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Binding\UseRealNames=true @@ -929,7 +929,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Lighting\Keys\y=#ffffff 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Lighting\Keys\z=#ffffff 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Modified=5efaf172 +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Modified=2f39f77d 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Name=Rainbow 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Performance\DPI\0=@Point(400 400) @@ -1157,7 +1157,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Lighting\Keys\y=#ff0000 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Lighting\Keys\z=#ff0000 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Modified=79e6ce6f +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Modified=4c52568e 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Name=Breathing 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Performance\DPI\0=@Point(400 400) @@ -1407,7 +1407,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Lighting\Keys\y=#aa00ff 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Lighting\Keys\z=#aa00ff 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Modified=c11d9b15 +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Modified=50a05bf5 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Name=Trippy 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Performance\DPI\0=@Point(400 400) @@ -1465,7 +1465,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\CurrentMode={11C11AE3-3195-4DFC-B8AC-2FEA703414E5} 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\HwModified=40b6f054 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\ModeCount=3 -0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Modified=648a05f8 +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Modified=7334518c 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Name=Demo [Popups] diff --git a/dconf/.config/dconf/user b/dconf/.config/dconf/user index dbe91969ed7e5c6535995cc7138cc101bc077b04..b863a69c133721f3c272cf9ee7ca5c3ee69fe408 100644 GIT binary patch delta 2023 zcmXAqdrXyO0Eb^L1_%h40%{DXQ)p2`MMP!EL^@yy{?V4EDdaR3*0@YKiR&W>qp3&K zB!*0q8k0@jF}h$vTKdN+Nhv9gmR&|HOq#@I(N@^=`*M5yJ>Tzr&v$vh3%=ui1IPV5 z=jT~Jt~TcKQ1bpJV~jk)^1KPNUfmx&j62H9FvYcLiA3Mq< zv*5~!*IYVLc{KAkk%jV(sLqG!ZD+oVt{Q%r+0i$hULHi>K)T_>!i){?(7T7}++?F`66=)Gh=#LQ{k?eP2Gr_m46`C#Zs_l_~<%V*G!lH*Xf=U{aiy<972 za#$@m=F97hp_hly$681-JhiF!#!Uv~(-}x7^I=oM)H6vOSU!WkkbDs?c)wn}nfdZi zdKdW$L|m?j4`;sZ^o?|f;Y`E7*R^u;U{17^^n$fM;;W?X3}{0;@{wb3y1(+YgI=x! zn_Od(;L0OY&QN;!z4V!67A%i?$f;W(*A=fLH$rP*&Bv4U@?iR6vIGX3JM)7$zP+Iz zxF{RodP-PmIX{r=gqq1?P*6E{>IS`BOMQ~`Ky5>Pd@;RTCwiW|0HwX%eOe*8dLKCg z#kq3^(^w&Skg@X27%~Yd+qV_YWk9Zn(X25h5Z-n-E5k}LYfyr9=i zo=9IvJ`W3b>^wU~FSl2YOyGQ9zSh+e$py%DkLQyqP}_7T`dQ}7)u)pg@OjVB8LNr` zZOqmgksG0O$<%iZWfkmz?d-?19Dwi|H1sm>;RSSX{kn6xTWF73gy<+qt zy*!Z}y-RxFuY^iJU9ns{@{*Te^TOWS)V2rG56}&PCu!RaJ_WYx7LU{Y3C~%*k=H#8 zXhUDR*nDH=f$vD}Tf_8nJ&X==J`_ciw`qmsx&@hJ8FqFQ=6`?pLwvI5>aHljDic7J}5NtXkc&$aK3 z=Kym3Q7I(1L)vh5dj<35TGAS_4tnCN=4z?sI&cHI54IH~xjX6Qq4dpUYXSHF!14Y2 z^nSNe=tJQl`{2Cu)MHv|x!zYV`8U))UhmeD%Jp^xuQO%~OytK!>EV*AFC{A=_39g+ z=z}BI3hgFq;J}^bTVgW#fi`r{n#rROp4u}ponCIA5ZMPAYlh1?U)%L?dFcka%N}S8 enKmQDm{+@JKYB4Hps2Lu@K39gyCbu`q5lDYEWMZj delta 2029 zcmXAqYfzL`0EW*J#BxzUW|(PAIL1X0rJ0XGAsQ6P z3pwZrD#OH#IBRrS6VnoBEDg7ySZ_sxPMS8B$;6Mso_AyB<$cb3&UeoF&gEP0L7VTO z&3*b2tADOBUA-yW>y0tu2$N;*|Ya`7-zVj|}mGZHqEVJ+SlHpy?8kJANU~JQuTgW zA-Py9XU}A{&;egoYb?1qgxp~PPW0mPj%&B55QkEcfiFSJ9YZfCGq89#c^Y#%ya{qJS1oY>Apn{h9)mPUM+yoL%D)KMRPA04|; zax95ltby(Gjd>bfd~(PYMlK#no{29+Gol`MX$!=995 zvx6DmU(f^Pgmvh0YIs-?4~R9PCcFjZl*A8RBNuC_KgK<%qPj9Mk6f&Yp2N?hf{yl+ zS|PFWKKyr-H-B_bIx8d&HWsHHFbj-HU9&njo(i!Jqa6=NO|^B?P7#ZBh~n_EsIn-a z>Q{1cIPFvL>8Qc=S-tjH98UX8dhLFCf+)r{dF5Mg2g`tF#v@&%o!R zuRXoTt&LQu5Um;Et5Ctz?xQ-rVr@YIUWPVA+@3Rw0mQoZb+{WPed*k+>nhenefSkr z*}1RmCb?JxU&jYg`YYdLF=w&muP}>@2}EZCWABtwA=aD4;bYO>^t4B(l8d$XDYz3| z`K7+Cgj}qp&cGL;o=*bI1OCJ|+Aqd)k(J=I>BYn`v@c!6{V$_X+cJBioeHrAuEuN7 zw!6>X>?9YDqoX6Z2mS3RvFVM)>d1?CqZN}o?h^YsklaW1Gjb=dzQ(7(&)VWavLW=k z)e(8wO@#{j(mAq?8IOE>=6}#nF4kd8!Bf%7h@wWVkXT!giEl#g!i_6q$i@Dx!FQo$ zi5G5p$i;fGCfto)n$@4J7qC=Fpu&rHqsEYTr|9&G^@Zxg|3aH%mz6rm#Uq%Iogap9 zbaUDdJN0E02a}J&<50*0=V;EcpY_FbkU7!r{3B@<\0\xff\xff\xff\xff\x1\0\0\0\x1\0) -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a\x86\0\0\0 \0\0\xe\xf9\0\0\x4\x17\0\0\a\x87\0\0\0!\0\0\xe\xf8\0\0\x4\x16\0\0\0\x1\0\0\0\0\a\x80\0\0\a\x87\0\0\0!\0\0\xe\xf8\0\0\x4\x16) +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\vB\0\0\0 \0\0\xe\xf9\0\0\x4\x17\0\0\vC\0\0\0!\0\0\xe\xf8\0\0\x4\x16\0\0\0\x1\0\0\0\0\a\x80\0\0\vC\0\0\0!\0\0\xe\xf8\0\0\x4\x16) left-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc0\0\0\x1\f\0\xff\xff\xff\xff\x1\0\0\0\x2\0) right-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc0\0\0\0\xee\0\xff\xff\xff\xff\x1\0\0\0\x2\0) diff --git a/rofi/.config/rofi/bookmarks/bm.bmf b/rofi/.config/rofi/bookmarks/bm.bmf deleted file mode 100644 index e69de29bb..000000000 diff --git a/rofi/.local/bin/rofi/bm b/rofi/.local/bin/rofi/bm index b9868e399..64d81ef30 100755 --- a/rofi/.local/bin/rofi/bm +++ b/rofi/.local/bin/rofi/bm @@ -12,7 +12,7 @@ #Created: # Fri 09 December 2022, 07:19:23 AM [GMT] #Modified: -# Fri 09 December 2022, 07:40:39 AM [GMT] +# Fri 09 December 2022, 08:24:49 AM [GMT] # #Description: # @@ -102,7 +102,7 @@ config() { export _BM_NO_ARGS_FORCE_HELP=${_BM_NO_ARGS_FORCE_HELP:=false} # _BM_CREATE_BOOKMARK_FILE : If bm is called to list and no file exists. bm will create a default one. - export _BM_CREATE_BOOKMARK_FILE=${_BM_CREATE_BOOKMARK_FILE:=true} + export _BM_CREATE_BOOKMARK_FILE=${_BM_CREATE_BOOKMARK_FILE:=false} # _BM_CMD_CAPTURE_CHECK : If you don't have tool installed to take screenshot, just put to false. # It will disable the _BM_GET_SCREENSHOT. @@ -1013,12 +1013,17 @@ config "${__c}" # Following config, we maybe not have to check the capture tool [[ ${_BM_CMD_CAPTURE_CHECK} ]] && checkBinaries "${_BM_CMD_CAPTURE}" -# If no bookmark file exist, create one if allowed +# If no bookmark file exist, create one if allowed else echo if [ ! -f "${_BM_BOOKMARK_FILE}" -a "${_BM_CREATE_BOOKMARK_FILE,,}" = 'true' ]; then # Remember fields : 0=md5, 1=date, 2=accel, 3=url, 4=title, 5=tags echo "eef521de8df447ad392dbace16cf2edc|$(date '+%FT%TZ')|:bm|https://github.com/The-Repo-Club/repomenu-extra/|Download link for repomenu-extra|default,shell,scripts" >>"${_BM_BOOKMARK_FILE}" fi +if [ ! -f "${_BM_BOOKMARK_FILE}" -a "${_BM_CREATE_BOOKMARK_FILE,,}" = 'false' ]; then + echo "No current bookmark file found."; + exit +fi + # Starting to work with args. If none probably list... [[ ${#} -eq 0 && "${_BM_NO_ARGS_FORCE_HELP,,}" = 'true' ]] && { usage diff --git a/rofi/.local/bin/rofi/bm_add b/rofi/.local/bin/rofi/bm_add index cb582a220..e0743e644 100755 --- a/rofi/.local/bin/rofi/bm_add +++ b/rofi/.local/bin/rofi/bm_add @@ -12,7 +12,7 @@ #Created: # Fri 09 December 2022, 06:43:52 AM [GMT] #Modified: -# Fri 09 December 2022, 07:33:31 AM [GMT] +# Fri 09 December 2022, 08:03:21 AM [GMT] # #Description: # @@ -22,7 +22,7 @@ # result() { - echo -n | rofi -dmenu -p "${1:-Add a bookmark:...}" + echo -n | rofi -dmenu -p "${1:-Add a bookmark:...}" -mesg "+ Add a Bookmark" } url="$(result "URL:")" diff --git a/rofi/.local/bin/rofi/bm_remove b/rofi/.local/bin/rofi/bm_remove index b49a64b69..5a3594ccf 100755 --- a/rofi/.local/bin/rofi/bm_remove +++ b/rofi/.local/bin/rofi/bm_remove @@ -12,7 +12,7 @@ #Created: # Fri 09 December 2022, 06:43:41 AM [GMT] #Modified: -# Fri 09 December 2022, 07:33:33 AM [GMT] +# Fri 09 December 2022, 08:02:52 AM [GMT] # #Description: # @@ -46,7 +46,7 @@ function load() { } -choice=$(load | rofi -dmenu i -p "${1:-Remove a bookmark:...}") +choice=$(load | rofi -dmenu i -p "${1:-Remove a bookmark:...}" -mesg "- Remove a Bookmark") LOOPSETTING="true" while [ -n "$LOOPSETTING" ]; do diff --git a/rofi/.local/bin/rofi/bm_viewer b/rofi/.local/bin/rofi/bm_viewer index 3508fd2d1..8d953c248 100755 --- a/rofi/.local/bin/rofi/bm_viewer +++ b/rofi/.local/bin/rofi/bm_viewer @@ -12,7 +12,7 @@ #Created: # Fri 09 December 2022, 06:43:30 AM [GMT] #Modified: -# Fri 09 December 2022, 07:36:51 AM [GMT] +# Fri 09 December 2022, 08:02:26 AM [GMT] # #Description: # @@ -32,7 +32,7 @@ fi declare -A bmarray; function load() { - printf "Add\nRemove\n" + printf "Add Bookmark\nRemove Bookmark\n" while IFS=\| read -r md5 date accel url title tags; do bookmark="$title-$url-$tags"; @@ -40,15 +40,15 @@ function load() { done < "$bmFile" } -choice=$(load | rofi -dmenu) +choice=$(load | rofi -dmenu -p "${1:-Select a bookmark:...}" -mesg "+ Add Bookmark - Remove Bookmark Select Bookmarks") LOOPSETTING="true" while [ -n "$LOOPSETTING" ]; do [ -n "$choice" ] || exit unset LOOPSETTING case "$choice" in - Add) bm_add ;; - Remove) bm_remove ;; + Add*) bm_add ;; + Remove*) bm_remove ;; *) bm -w "$HOME/.config/rofi/bookmarks/" -o "${bmarray[$choice]}";; esac done