From 3db60c1a9d528d3c90481768646b5abd58ec9fc7 Mon Sep 17 00:00:00 2001 From: The-Repo-Club Date: Sat, 30 Sep 2023 16:37:54 +0100 Subject: [PATCH] Update --- .../clifm/profiles/default/dirhist.clifm | 2 + dconf/.config/dconf/user | Bin 8672 -> 9187 bytes fish/.config/fish/functions/99_ssh.fish | 2 +- .../flexiflow/flexiflow_bar/bar_updates.ini | 2 +- .../.local/bin/flexiflow_bar/bar_network | 61 +++++++++--------- .../.local/bin/flexiflow_bar/bar_updates | 53 +++++++-------- qtile/.config/qtile/core/keys.py | 8 +-- 7 files changed, 65 insertions(+), 63 deletions(-) diff --git a/clifm/.config/clifm/profiles/default/dirhist.clifm b/clifm/.config/clifm/profiles/default/dirhist.clifm index e4eff8a39..938c61da7 100644 --- a/clifm/.config/clifm/profiles/default/dirhist.clifm +++ b/clifm/.config/clifm/profiles/default/dirhist.clifm @@ -1 +1,3 @@ /home/repo +/home/repo/Downloads/GiveMeDaBadge +/home/repo diff --git a/dconf/.config/dconf/user b/dconf/.config/dconf/user index bf84e2279b70e8c25428b51f7f5b9ac017d4e2c3..47f694500fa5975e5ca5fb6e5672a1bc490f6b07 100644 GIT binary patch literal 9187 zcmbW73zQVqna7Klyah!OQ3C=hh&A2wU>>4@h{*5|kcXm+Ky`QZbUEE!ZB_Nm06q{w zaYaQzR6v}#XowNT$F8g|*kx4`jhbCFBu8BhzI9i8tQr$de*fwk7?G2lvwhB=|G&Sw zb?e^me&2U*^)TUl%X6%JU__q*aOQ~c%kYhD#)vz>LPyXEbOv48p)0z3gdVWa6C4iu zv_oIC9?=gR6+zEE77PT(x5Ei&;YVN)7#v{;JQNIThm+9q@`55h>kp9abfLX7Vf z5vpOK2GoJm+u;oKnP3d~NrbcD@n8a&2&P7u2Df24dPanq@GLMJoZk)?pf3a$fs4UB zupmMTPDf~fop!hc-PjIUbRM|iQs71KVJ&v?AT;s4IYJA(5G;;xIlKg11(t%VBP@rn z1uMXH;CgT)xCz`0ZUL*?VGa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$OX#QV@c&ewd$VkxXkf*h%8hZj34GB%Cbs z?q*}r))~__9PI#ptZk@vlTDfF7Z;ZmS5_96n#r;8aab|Ykj3!)CtU=!mk#a7tY%|yycC#gMjnbDS4LvJ>Y z?nCeGrohgssv!=ia83I}!TN-|x7OuEpvbrz%mbhrjgrx}S)-q{~ zqD}412f1{<&S9XpqE(w^oH~zaOfpWggm1)%kywWGVimmMd@E6(&&8(Am>p9onRc@I zCbP7-w5+JOqNupUY^oT$U~G92_x^9U&T~=IAvHz-UANC_88*D|3oE$6F*5oVXjBxK#-U$8G%V-UX z0Ix^k--QZ^EXKP<;qPnVI#c=Vg@wF_{J0)!d-u_Wj3Z$&(ZkW<2H!58 zhGJ_1r+|T=3Y3BKz-?eI7z3^b8PK{Bw7%nDGHw7&~wsV4|!*OF1@Kk+4d~l_k$gjxD!K#>TDkl5*QF zFH4ri?XpTOnZaifL)GWapdrK9!uQgG(;N{`SzZ}k_B|%7w$@2-IY+!MsE_H>zmd;| z`wcr%(ryUPh5e4&b9{=LBi>A=IpFVj@EXiTTF$W;pZsujBD7e3s-eJ`P9?R%1Ku&aI^&! zs!4X*x#sNr>?x*7F1}%q^HkWhz6x-jHKw9bXT$m-HVdV18%e-6O_$mV9)9Tv>)oiA zvGDKr?fp}m=ycEnRDu!Ud@vc@1&#v>Wj;L?YMO9#yuP>Y=Ivju!fWHLn?K(m^*w|& z1u8=N!`Fc/dev/null)" in - up) printf " %s %s \n" "^c$Foreground^^b$Purple^$icon_up" "^c$Foreground^^b$Purple_Bright^ Connected" ;; - down) printf " %s %s \n" "^c$Foreground^^b$Purple^$icon_down" "^c$Foreground^^b$Purple_Bright^ Disconnected" ;; - esac - - # printf " %s %s %s %s \n" "^c$Foreground^^b$Purple^$icon_down" "^c$Foreground^^b$Purple_Bright^ ${RKBPS^^}" "^c$Foreground^^b$Purple^$icon_up" "^c$Foreground^^b$Purple_Bright^ ${TKBPS^^}" + case "$(cat /sys/class/net/"${drive}"/operstate 2>/dev/null)" in + up) printf " %s %s \n" "^c$Foreground^^b$Purple^$icon_up" "^c$Foreground^^b$Purple_Bright^ Connected" ;; + down) printf " %s %s \n" "^c$Foreground^^b$Purple^$icon_down" "^c$Foreground^^b$Purple_Bright^ Disconnected" ;; + esac } diff --git a/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates b/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates index 78a8bf959..29b4032b5 100755 --- a/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates +++ b/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates @@ -1,36 +1,37 @@ #!/usr/bin/env bash get_updates() { - configFile=$HOME/.config/flexiflow/flexiflow_bar/bar_updates.ini + configFile=$HOME/.config/flexiflow/flexiflow_bar/bar_updates.ini - # load colors - . $HOME/.config/flexiflow_bar/bar_themes/minimal-mistakes + # load colors + . $HOME/.config/flexiflow_bar/bar_themes/minimal-mistakes - updates=$(yay -Qu | wc -l) - timestamp=$(date +%s) - icon="" + updates=$(yay -Qu | wc -l) + timestamp=$(date +%s) + icon="" - if [ "$updates" -ge "0" ]; then - updatecount="Fully Updated" - elif [ "$updates" -ge "1" ]; then - updatecount="$updates Update" - else - updatecount="$updates Updates" - fi - [[ -f $configFile ]] && . $configFile - if [[ -z "$LastUsed" ]] || [[ -z "$Message" ]]; then - printf "%s %s \n" "^c$Foreground^^b$Purple^ $icon " "^c$Foreground^^b$Purple_Bright^ $updatecount" - newtime=$(expr $timestamp + 900) - echo -e "LastUsed=${newtime}\nMessage='${updatecount}'" >$configFile - else - if [[ "$timestamp" -ge "$LastUsed" ]]; then - printf "%s %s \n" "^c$Foreground^^b$Purple^ $icon " "^c$Foreground^^b$Purple_Bright^ $updatecount" - newtime=$(expr $timestamp + 900) - echo -e "LastUsed=${newtime}\nMessage='${updatecount}'" >$configFile + if [ "$updates" -eq 0 ]; then + updatecount="Fully Updated" + elif [ "$updates" -eq 1 ]; then + updatecount="$updates Update" else - updatecount="$Message" - printf "%s %s \n" "^c$Foreground^^b$Purple^ $icon " "^c$Foreground^^b$Purple_Bright^ $updatecount" + updatecount="$updates Updates" + fi + + [[ -f $configFile ]] && . $configFile + if [[ -z "$LastUsed" ]] || [[ -z "$Message" ]]; then + printf "%s %s \n" "^c$Foreground^^b$Purple^ $icon " "^c$Foreground^^b$Purple_Bright^ $updatecount" + newtime=$(expr $timestamp + 900) + echo -e "LastUsed=${newtime}\nMessage='${updatecount}'" >$configFile + else + if [[ "$timestamp" -ge "$LastUsed" ]]; then + printf "%s %s \n" "^c$Foreground^^b$Purple^ $icon " "^c$Foreground^^b$Purple_Bright^ $updatecount" + newtime=$(expr $timestamp + 900) + echo -e "LastUsed=${newtime}\nMessage='${updatecount}'" >$configFile + else + updatecount="$Message" + printf "%s %s \n" "^c$Foreground^^b$Purple^ $icon " "^c$Foreground^^b$Purple_Bright^ $updatecount" + fi fi - fi } get_updates diff --git a/qtile/.config/qtile/core/keys.py b/qtile/.config/qtile/core/keys.py index f2e5fbe25..1601565fb 100644 --- a/qtile/.config/qtile/core/keys.py +++ b/qtile/.config/qtile/core/keys.py @@ -50,8 +50,8 @@ keys = [Key(*key) for key in [ # type: ignore ([mod], "Tab", lazy.next_layout()), # qtile stuff - ([mod, "control"], "b", lazy.hide_show_bar()), - ([mod, "control"], "s", lazy.shutdown()), + ([mod, "shift"], "b", lazy.hide_show_bar()), + ([mod, "shift"], "s", lazy.shutdown()), ([mod, "shift"], "r", restart), ([mod, "shift"], "e", lazy.spawn(cfg.power)), @@ -67,10 +67,10 @@ keys = [Key(*key) for key in [ # type: ignore ([mod], "y", lazy.spawn(cfg.youtube)), # web browser - ([mod], "b", lazy.spawn(cfg.browser)), + ([mod, "control"], "b", lazy.spawn(cfg.browser)), # code editor - ([mod], "c", lazy.spawn(cfg.editor)), + ([mod, "control"], "e", lazy.spawn(cfg.editor)), # backlight ([], "XF86MonBrightnessDown", lazy.spawn("brightnessctl set 5%-")),