From c9c13b62ce789082548d6ad399cb2382f9d9c495 Mon Sep 17 00:00:00 2001 From: The-Repo-Club Date: Tue, 15 Aug 2023 20:33:52 +0100 Subject: [PATCH] Update --- dconf/.config/dconf/user | Bin 3595 -> 4155 bytes flexiflow/.config/flexiflow/autostart.sh | 94 +++++++++++------- .../.local/bin/flexiflow_bar/bar_updates | 8 +- picom/.config/picom/picom.conf | 4 +- 4 files changed, 62 insertions(+), 44 deletions(-) diff --git a/dconf/.config/dconf/user b/dconf/.config/dconf/user index cce2c24f4a10d91dd8441262ccdcb7b81cee15c6..3de2751ed0ed6f32992b363e0a7a62ac6f1f990d 100644 GIT binary patch literal 4155 zcmbW4eQ*?K9mh97A}=X{7Q<^5Xi9;4Tx>8P32oX$NJtFK$P{d=!`|JKyES*a$L{8Z z7b_iU0rd~8rA6Lk&_Qck1*TQh7I2_r$3cfGGcr{wg0$7vkq%5{6s@1{-lhcql$j6T zZ+`dev(NsX-|xA-#rNC3W4oah|C@lG8y@{JbJ;*}ke1=akeH#U7zX7~5u+(az{r?U zXl2Z3R8+yuaLXXZ;Xe%HL2D6{2QdXNZiSD)M`Na<)1d}#hZ%#Ig`W){gW5sdg`XQU zA6*dBhz_t2e-AXly>MSlGb$FvEJl|=J9NY>MUM{~|BkLvPH(b$txM>8@Is^Wl5!$n z&K1{CB`mvt(>mo%eiY-!pp)S*M_)awxV+*s(K}&M(~&pYh|8A~uSM&j{rq#uPU7;z znZF5bftPN3&L|i1Rm7L04=KK^>XB*0<)<)DKdOa%{>+wEhA8mv?HuXnw`Ju#{&=&Z|)ZQ}9FJH|( ztI#x@+1B>d7~=93jL)M*_}S%`N2>1RmH!RsCRqRQo+Eb?V2s)@@h zz6#C2_-hZZE+Z~Kl6VmfVZ{4$CoUl_ul%n^H^SPTqfY9+^1APKbSKR2+}NnPl2_io zhn|3Eat9aI6PH)s&Y%~eq5A%)kK}J5eii)}G|u_raP5n{>R~uVFb;PA;^IHGzw(oa z*P?ZBZ1E4~s2}B(w$z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T7{VVHwbfX&JT*l&6=n;4odFC zWye8ZCSUThZe;wdWBQFBM-0?!b~#1Q_i`p=K^*DiUe6nw%g21-^W+r%*vQ1O^>b`Y zdC3`H!En=P?PEDmepM4i)p`WaPI7C{GGS#&eT! zOz$31J{WL(GeA5FSra;zv79&v3T&01xxc!z#A7^MsnF#53i>H31jNqbT@11&rKmW` zGm#>b(!Ho!*1e!!qx(~5P4$=6dL5IsaiB0z)7*7H?=e>bgTIf@Ah|kY{8J2#9puwN${d%yrf3TQ|M4PP2SG&E=kQDe&^w^s1uq4Y zfa0L{y;d+4=)KGVJtiB3UMUPdYcerT>W9e!ZHXd@w63BzXp2N7%TN05l}ZI$&Q0X% zJd%;v$r8{E0kg1>{8;DxTV9+VO*-dB)GKuL7_v zkpiqoCVR;Q#Zn)^dyj;%pYe0a7E`H>Jm01QX|;BlGR9Pj-E|sE`>f=QOyOP5rI(3q zzj3;07CKaTCUL5aTRwe9H74h-K#-E6*10Nry~Zh6zc=xJ=S;WZS_(~%35}oOB+;@` z9|jA+e4uy#W^e3&yh$lA#3F3@H;P-c)=sEmq1U!+|WyeM`!* @@ -21,60 +21,78 @@ # # -if command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev/null; then - if ! pgrep -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" >/dev/null; then - /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & +if command -v /usr/libexec/polkit-gnome-authentication-agent-1 &>/dev/null; then + if ! pgrep -f "/usr/libexec/polkit-gnome-authentication-agent-1" >/dev/null; then + /usr/libexec/polkit-gnome-authentication-agent-1 & else echo "polkit-gnome already Running" fi fi -if ! command -v feh &>/dev/null; then - echo "feh could not be found" +if command -v picom &>/dev/null; then + if ! pgrep -x "picom" >/dev/null; then + picom --config "$HOME"/.config/picom/picom.conf & + else + echo "picom already Running" + fi else + echo "picom could not be found" +fi + +#################### +## Fix Background ## +#################### +if command -v feh &>/dev/null; then if ! test -f "$HOME/.fehbg"; then echo "$HOME/.fehbg could not be found" else sh "$HOME/.fehbg" - sleep 2s - sh "$HOME/.fehbg" + ( + sleep 2s + sh "$HOME/.fehbg" + ) & fi -fi - -if ! command -v picom &>/dev/null; then - echo "picom could not be found" - exit else - if ! pgrep -x "picom" >/dev/null; then - picom --config $HOME/.config/repowm/picom.conf & - else - echo "picom already Running" - fi + echo "feh could not be found" fi -# ############### -# ## Auto Lock ## -# ############### +############### +## Auto Lock ## +############### if command -v xautolock &>/dev/null; then - # shellcheck disable=SC2155 - if ! pgrep -x "xautolock" >/dev/null; then - ( - sleep 2s - xautolock \ - -time 15 -locker "multimonitorlock -l -- --time-str=%I:%M:%S %p" \ - -detectsleep - ) & - else - echo "xautolock already Running" - fi + # shellcheck disable=SC2155 + if ! pgrep -x "xautolock" >/dev/null; then + ( + sleep 2s + xautolock \ + -time 15 -locker "multimonitorlock -l -- --time-str=%I:%M:%S %p" \ + -detectsleep + ) & + else + echo "xautolock already Running" + fi else - echo "xautolock could not be found" + echo "xautolock could not be found" fi -# ################ -# ## Other Junk ## -# ################ +if command -v xss-lock &>/dev/null; then + # shellcheck disable=SC2155 + if ! pgrep -x "xss-lock" >/dev/null; then + ( + sleep 2s + xss-lock -- multimonitorlock -l -- --time-str="%I:%M:%S %p" + ) & + else + echo "xss-lock already Running" + fi +else + echo "xss-lock could not be found" +fi + +################ +## Other Junk ## +################ systemctl --user import-environment DISPLAY XAUTHORITY @@ -82,9 +100,9 @@ if command -v dbus-update-activation-environment >/dev/null 2>&1; then dbus-update-activation-environment DISPLAY XAUTHORITY fi -# # see https://wiki.archlinux.org/title/GNOME/Keyring#xinitrc +# see https://wiki.archlinux.org/title/GNOME/Keyring#xinitrc eval "$(/usr/bin/gnome-keyring-daemon --start)" export SSH_AUTH_SOCK -# # see https://github.com/NixOS/nixpkgs/issues/14966#issuecomment-520083836 +# see https://github.com/NixOS/nixpkgs/issues/14966#issuecomment-520083836 mkdir -p "$HOME"/.local/share/keyrings diff --git a/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates b/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates index c307aa006..f11ca7b12 100755 --- a/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates +++ b/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates @@ -7,14 +7,14 @@ get_updates() { updates=$(yay -Pn) timestamp=$(date +%s) - icon=" " + icon="  " if [ -z "$updates" ]; then - updatecount="Fully Updated" + updatecount=" Fully Updated" elif [ "$updates" -ge "1" ]; then - updatecount="$updates Update" + updatecount=" $updates Update" else - updatecount="$updates Updates" + updatecount=" $updates Updates" fi [[ -f $configFile ]] && . $configFile if [ -z "$LastUsed" ] || [ -z "$Message" ]; then diff --git a/picom/.config/picom/picom.conf b/picom/.config/picom/picom.conf index c9df77de2..98c33201b 100644 --- a/picom/.config/picom/picom.conf +++ b/picom/.config/picom/picom.conf @@ -162,8 +162,8 @@ rounded-corners-exclude = [ "class_g = 'Pavucontrol'", "class_g = 'discord'", # Window Manager Stuff - "class_g = 'repowm'", - "class_g = 'repowmsystray'", + "class_g = 'flexiflow'", + "class_g = 'flexiflowsystray'", "class_g = 'scratchpad_terminal'", "class_g = 'Software Management - dnfdragora'", "QTILE_INTERNAL:32c = 1"