diff --git a/ckb-next/.config/ckb-next/ckb-next.conf b/ckb-next/.config/ckb-next/ckb-next.conf index f5f767e42..516cebc7c 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=9dac3f8b +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Modified=982950e9 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=2b15a4dd +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Modified=aad0cfce 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=563627f5 +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Modified=911444a1 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=5d4c606e +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Modified=5971cb83 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=cb3a02db +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Modified=acfeb27e 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=d3228520 +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Modified=cb807423 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=73d26c80 +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Modified=3127e02a 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=7fe60309 +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Modified=8843b56c 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Name=Demo [Popups] diff --git a/conky/.config/conky/conky_left.config b/conky/.config/conky/left.conkyrc similarity index 77% rename from conky/.config/conky/conky_left.config rename to conky/.config/conky/left.conkyrc index 7e1a6881e..a7703a065 100644 --- a/conky/.config/conky/conky_left.config +++ b/conky/.config/conky/left.conkyrc @@ -1,9 +1,3 @@ ---[[ -################################## -## dracula-01.conkyrc (Qtile) ## -################################## -]] - conky.config = { --Various settings @@ -92,39 +86,40 @@ ${color2}${goto 12}${cpubar 8,254} ${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% ${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% ${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${goto 12}${color1}${top name 4}$alignr$color${top cpu 4}% +${goto 12}${color1}${top name 5}$alignr$color${top cpu 5}% ${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax ${color2}${goto 12}${membar 8,254}${color} ${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} ${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} ${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} -${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${goto 12}${color1}${top_mem name 4}$alignr$color${top_mem mem_res 4} +${goto 12}${color1}${top_mem name 5}$alignr$color${top_mem mem_res 5} ${color1}${hr}${color} -${color1}[S]+[RET]${alignr}${color2}open terminal${color} -${color1}[S]+b${alignr}${color2}open qutebrowser${color} -${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} -${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} -${color1}[S]+j/k${alignr}${color2}move win focus${color} -${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} -${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} -${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} -${color1}[S]+h/l${alignr}${color2}shrink/expand${color} +${voffset 18}${color1}${alignc}${font4}Key Cheat Sheet${font}${color} ${color1}${hr}${color} -${color1}[S]+e, e${alignr}${color2}launch emacs${color} -${color1}[S]+e, b${alignr}${color2}ibuffer${color} -${color1}[S]+e, d${alignr}${color2}dired${color} -${color1}[S]+e, n${alignr}${color2}elfeed${color} -${color1}[S]+e, s${alignr}${color2}eshell${color} -${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}[M]${alignr}${color2}MOD${color} +${color1}[A]${alignr}${color2}ALT${color} +${color1}[C]${alignr}${color2}CTRL${color} +${color1}[S]${alignr}${color2}SHIFT${color} ${color1}${hr}${color} -${color1}[S]+p, h${alignr}${color2}dm-hub${color} -${color1}[S]+p, b${alignr}${color2}dm-setbg${color} -${color1}[S]+p, e${alignr}${color2}dm-confedit${color} -${color1}[S]+p, m${alignr}${color2}dm-man${color} -${color1}[S]+p, o${alignr}${color2}dm-bookman${color} -${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${voffset 18}${color1}${alignc}${font4}i3 Keybindings${font}${color} ${color1}${hr}${color} -${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} -${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} -${voffset 100} +${color1}[M]+q${alignr}${color2}close window${color} +${color1}[M]+j/k${alignr}${color2}move win focus${color} +${color1}[M]+[S]+hjkl${alignr}${color2}move window${color} +${color1}[M]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[M]+[S]+[1-9]${alignr}${color2}send window${color} +${color1}[M]+h/l${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[M]+Return${alignr}${color2}open terminal${color} +${color1}[M]+[C]+f${alignr}${color2}open firefox${color} +${color1}[M]+[C]+c${alignr}${color2}open vscode${color} +${color1}[A]+Return${alignr}${color2}open files${color} +${color1}${hr}${color} +${color1}[M]+[S]+r${alignr}${color2}restart i3${color} +${color1}[M]+[S]+q${alignr}${color2}quit i3${color} +${color1}${hr}${color} +${voffset 10} ]]; diff --git a/conky/.config/conky/conky_right.config b/conky/.config/conky/right.conkyrc similarity index 77% rename from conky/.config/conky/conky_right.config rename to conky/.config/conky/right.conkyrc index fcb8cb7b5..911213a7a 100644 --- a/conky/.config/conky/conky_right.config +++ b/conky/.config/conky/right.conkyrc @@ -1,9 +1,3 @@ ---[[ -################################## -## dracula-01.conkyrc (Qtile) ## -################################## -]] - conky.config = { --Various settings @@ -92,39 +86,40 @@ ${color2}${goto 12}${cpubar 8,254} ${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% ${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% ${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${goto 12}${color1}${top name 4}$alignr$color${top cpu 4}% +${goto 12}${color1}${top name 5}$alignr$color${top cpu 5}% ${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax ${color2}${goto 12}${membar 8,254}${color} ${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} ${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} ${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} -${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${goto 12}${color1}${top_mem name 4}$alignr$color${top_mem mem_res 4} +${goto 12}${color1}${top_mem name 5}$alignr$color${top_mem mem_res 5} ${color1}${hr}${color} -${color1}[S]+[RET]${alignr}${color2}open terminal${color} -${color1}[S]+b${alignr}${color2}open qutebrowser${color} -${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} -${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} -${color1}[S]+j/k${alignr}${color2}move win focus${color} -${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} -${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} -${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} -${color1}[S]+h/l${alignr}${color2}shrink/expand${color} +${voffset 18}${color1}${alignc}${font4}Key Cheat Sheet${font}${color} ${color1}${hr}${color} -${color1}[S]+e, e${alignr}${color2}launch emacs${color} -${color1}[S]+e, b${alignr}${color2}ibuffer${color} -${color1}[S]+e, d${alignr}${color2}dired${color} -${color1}[S]+e, n${alignr}${color2}elfeed${color} -${color1}[S]+e, s${alignr}${color2}eshell${color} -${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}[M]${alignr}${color2}MOD${color} +${color1}[A]${alignr}${color2}ALT${color} +${color1}[C]${alignr}${color2}CTRL${color} +${color1}[S]${alignr}${color2}SHIFT${color} ${color1}${hr}${color} -${color1}[S]+p, h${alignr}${color2}dm-hub${color} -${color1}[S]+p, b${alignr}${color2}dm-setbg${color} -${color1}[S]+p, e${alignr}${color2}dm-confedit${color} -${color1}[S]+p, m${alignr}${color2}dm-man${color} -${color1}[S]+p, o${alignr}${color2}dm-bookman${color} -${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${voffset 18}${color1}${alignc}${font4}i3 Keybindings${font}${color} ${color1}${hr}${color} -${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} -${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} -${voffset 100} +${color1}[M]+q${alignr}${color2}close window${color} +${color1}[M]+j/k${alignr}${color2}move win focus${color} +${color1}[M]+[S]+hjkl${alignr}${color2}move window${color} +${color1}[M]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[M]+[S]+[1-9]${alignr}${color2}send window${color} +${color1}[M]+h/l${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[M]+Return${alignr}${color2}open terminal${color} +${color1}[M]+[C]+f${alignr}${color2}open firefox${color} +${color1}[M]+[C]+c${alignr}${color2}open vscode${color} +${color1}[A]+Return${alignr}${color2}open files${color} +${color1}${hr}${color} +${color1}[M]+[S]+r${alignr}${color2}restart i3${color} +${color1}[M]+[S]+q${alignr}${color2}quit i3${color} +${color1}${hr}${color} +${voffset 10} ]]; diff --git a/localbin/.local/bin/autostart b/localbin/.local/bin/autostart index 127053653..68e0cfeae 100755 --- a/localbin/.local/bin/autostart +++ b/localbin/.local/bin/autostart @@ -12,7 +12,7 @@ #Created: # Mon 22 November 2021, 03:15:54 PM [GMT+1] #Modified: -# Fri 28 October 2022, 09:11:49 AM [GMT+1] +# Fri 28 October 2022, 04:11:25 PM [GMT+1] # #Description: # @@ -57,16 +57,6 @@ if [[ $DESKTOP_SESSION == "i3" ]]; then echo "xroot already Running" fi fi - - cmdList=("dropdown_pavucontrol" "dropdown_btop" "dropdown_terminal") - for cmd in "${cmdList[@]}"; do - if command -v "${cmd}" &>/dev/null; then - ( - sleep 2s - ${cmd} start - ) & - fi - done fi if command -v clipmenu-daemon &>/dev/null; then if ! pgrep -f "clipmenu-daemon" >/dev/null; then diff --git a/localbin/.local/bin/dropdown_btop b/localbin/.local/bin/dropdown_btop index e0e46d5de..edb592897 100755 --- a/localbin/.local/bin/dropdown_btop +++ b/localbin/.local/bin/dropdown_btop @@ -12,7 +12,7 @@ #Created: # Thu 27 October 2022, 06:11:40 PM [GMT+1] #Modified: -# Thu 27 October 2022, 06:49:49 PM [GMT+1] +# Fri 28 October 2022, 04:08:33 PM [GMT+1] # #Description: # @@ -82,11 +82,18 @@ term_close() { } term_toggle() { - case "$(cat $TERMINAL_STATE)" in - open) term_close ;; - closed) term_open ;; - *) ;; - esac + cmdList=$(i3-msg -t get_marks) + me=$(basename "$0") + if [[ ${cmdList[*]} =~ $me ]]; then + case "$(cat $TERMINAL_STATE)" in + open) term_close ;; + closed) term_open ;; + *) ;; + esac + else + $me "start" + $me "toggle" + fi } case $1 in diff --git a/localbin/.local/bin/dropdown_pavucontrol b/localbin/.local/bin/dropdown_pavucontrol index d9dc523ed..406ca2d58 100755 --- a/localbin/.local/bin/dropdown_pavucontrol +++ b/localbin/.local/bin/dropdown_pavucontrol @@ -12,7 +12,7 @@ #Created: # Thu 27 October 2022, 06:11:40 PM [GMT+1] #Modified: -# Thu 27 October 2022, 06:44:32 PM [GMT+1] +# Fri 28 October 2022, 04:08:44 PM [GMT+1] # #Description: # @@ -82,11 +82,18 @@ term_close() { } term_toggle() { - case "$(cat $TERMINAL_STATE)" in - open) term_close ;; - closed) term_open ;; - *) ;; - esac + cmdList=$(i3-msg -t get_marks) + me=$(basename "$0") + if [[ ${cmdList[*]} =~ $me ]]; then + case "$(cat $TERMINAL_STATE)" in + open) term_close ;; + closed) term_open ;; + *) ;; + esac + else + $me "start" + $me "toggle" + fi } case $1 in diff --git a/localbin/.local/bin/dropdown_terminal b/localbin/.local/bin/dropdown_terminal index 51a2f0dcc..910920653 100755 --- a/localbin/.local/bin/dropdown_terminal +++ b/localbin/.local/bin/dropdown_terminal @@ -12,7 +12,7 @@ #Created: # Thu 27 October 2022, 06:11:40 PM [GMT+1] #Modified: -# Thu 27 October 2022, 06:43:01 PM [GMT+1] +# Fri 28 October 2022, 04:08:50 PM [GMT+1] # #Description: # @@ -82,11 +82,18 @@ term_close() { } term_toggle() { - case "$(cat $TERMINAL_STATE)" in - open) term_close ;; - closed) term_open ;; - *) ;; - esac + cmdList=$(i3-msg -t get_marks) + me=$(basename "$0") + if [[ ${cmdList[*]} =~ $me ]]; then + case "$(cat $TERMINAL_STATE)" in + open) term_close ;; + closed) term_open ;; + *) ;; + esac + else + $me "start" + $me "toggle" + fi } case $1 in diff --git a/localbin/.local/bin/toggle_conky b/localbin/.local/bin/toggle_conky index e93710284..9c98cf4aa 100755 --- a/localbin/.local/bin/toggle_conky +++ b/localbin/.local/bin/toggle_conky @@ -12,7 +12,7 @@ #Created: # Fri 28 October 2022, 08:57:10 AM [GMT+1] #Modified: -# Fri 28 October 2022, 10:48:27 AM [GMT+1] +# Fri 28 October 2022, 04:17:57 PM [GMT+1] # #Description: # Toggle the conky on and off @@ -26,15 +26,14 @@ checkRun=$(pgrep 'conky' | wc -l) if command -v conky &>/dev/null; then if [[ ! $checkRun -ge "1" ]]; then ( - conky -c ~/.config/conky/conky_left.config - conky -c ~/.config/conky/conky_right.config - # sleep 2s i3-msg "gaps right all set 5; gaps right all set 330" + sleep 2s + conky -c ~/.config/conky/left.conkyrc + conky -c ~/.config/conky/right.conkyrc ) & else killall -q conky - echo "conky has been killed." - # sleep 2s + sleep 2s i3-msg "gaps inner all set 5; gaps outer all set 2" fi fi diff --git a/polybar/.config/polybar/modules.ini b/polybar/.config/polybar/modules.ini index c9b607119..1b0789adb 100644 --- a/polybar/.config/polybar/modules.ini +++ b/polybar/.config/polybar/modules.ini @@ -238,7 +238,7 @@ format-unmounted-background = ${color.mf} format-unmounted-foreground = ${color.fg} format-unmounted-padding = 1 -label-mounted = %mountpoint% : %free%/%total% +label-mounted = %mountpoint% : %used%/%free% label-unmounted = %mountpoint%: not mounted [module/filesystem_i] @@ -278,7 +278,7 @@ format-unmounted-background = ${color.mf} format-unmounted-foreground = ${color.fg} format-unmounted-padding = 1 -label-mounted = %mountpoint% : %free%/%total% +label-mounted = %mountpoint% : %used%/%free% label-unmounted = %mountpoint%: not mounted [module/homesystem_i]