From fcd0c532f3e3ab7bf0e3b3587ce9b05e3e8f1b7d Mon Sep 17 00:00:00 2001 From: "stephan.raabe" Date: Mon, 6 Feb 2023 17:28:27 +0100 Subject: [PATCH] Qtile Bar Tweak --- qtile/__pycache__/config.cpython-310.pyc | Bin 5423 -> 5400 bytes qtile/config.py | 41 +++++++++++++---------- scripts/growthrate.sh | 6 ---- scripts/launchVM.sh | 5 +++ 4 files changed, 28 insertions(+), 24 deletions(-) delete mode 100755 scripts/growthrate.sh create mode 100755 scripts/launchVM.sh diff --git a/qtile/__pycache__/config.cpython-310.pyc b/qtile/__pycache__/config.cpython-310.pyc index 0feb2c3bbcc326d74341ff7a9acb1209c18de0f0..5e896df063391037797f23bedddeeca38192febc 100644 GIT binary patch delta 854 zcmYLG&rj4q6z+6qyRvKn#V9eF5KneBG4W*7C}=bujDiqN8f97fX8U8?9hi3cvHVyS zJoZ3(;RxJ38ME=|U!Yz*Ht}GhCYD`;-YTnHRf`gi>GBVw zw5eVoKR;Y{DcOj&Xu0i7!wYzcbBc{aCCoF`slpUYhlHuyGdmKV4M>=oP(}=h3;Zz*+I$}4J%>sDPFeTu-1ZG1Db0IN_Zn6P((Iik~?IGv-wuNny z-QJNvgtROADd%*xdROaD6N6N9cck^4nbSQ}(i_m!In3*`xaL^N5vG(x$KNGv5EfuD zB%29ZI!3JoO{V1XF}VV(UE^AYpdAuDz~W7KrO)HOfNK$mz67uJ7ArW*&I-JN^$lsA z=&L{`B<*eIjPfAg&d<2qsK-hz9eaKF2ef=VVA-bS;tDDr3oH)txztzr&j)NVs2JSk zA}-drV5Z>B28erDAXchIV9zs+q{mj_8Fz0CFRyBHoU3_3=Aom)uv*d8lGXE05@VPq z#-fkC*Uo-H=*t-TB=HnCEuSVtpGp&VWxOaCUNx(M_4*C$8USBtRQ#YSGJbCe)6DEe zzwc;NjN)04B#d?*sw3on)-EB&F~mL9X28?@UUc~sxsp6UL?dw|UTsZSiBT3TR($+m zED-h1*S-~5u@jFIJvsTUxA@#{;8h-1J=VE-DkPVV^Skd$tZBm&w>%C_m)%Y-4E%99+rth=y!TZ56@qT{+u592lQ&+=D`@VCvSQ-UO1WF^nmeyAi;TMgT`rQ=IhKi-+R;Uk9`;`utFh6&^~2< z=#9O?6?*jXmLt=hcwZiCwiesOD73URE{SOC@Dg5CD7=Q!E`h~J!ak%O12kBQC~{2D z0l)wgEWtu{Ig+t%K?UrTQ3e&3BWm@51Fl8DJD|WK8LC*LYQ-2du2~eCrZHlVw``Ob zdAUts1%*zVJgqt1p4;sWq=SCi^V(!5V`Wrk5w!||x&oof(S0Lt2Nn_04iBg?1glVs z=$=4pXJ{R23*BPUH3w|l!n&+F0yY-$0 z=G?!!v58U{(+%RobLmOLAoV2GtHxiMVU_s9kCdn=!_Po=;OcVh$E6dEeu#Xsvygkv6hzxDR;z(;1;*J zDTop`62)iwvJvn~=Y4-eQY^tK$G6WPUR0iO=2n9w_q^iaZRT*{Bs(p>LMMMAqN8VW z|E-wxPPz<2$9N#_=ugI9hQ8iYG743wOl3(rQ8MzelFJE9#e?WLr{t*gOS&Wp)=&9F MKDm4|{yseQ2dpIdYXATM diff --git a/qtile/config.py b/qtile/config.py index e070ebf..d48cbc4 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -181,35 +181,40 @@ screens = [ Screen( top=bar.Bar( [ - # widget.CurrentLayout(), - widget.GroupBox(), - widget.Prompt(), - widget.WindowName(), - widget.Chord( - chords_colors={ - "launch": ("#ff0000", "#ffffff"), - }, - name_transform=lambda name: name.upper(), + widget.GroupBox( + highlight_method='block', + block_highlight_text_color='ffffff', + foreground='ffffff', + fontsize=14, + active=ColorC + ), + widget.WindowName( + fontsize=14 ), - # widget.TextBox("default config", name="default"), - # widget.TextBox("Press <M-r> to spawn", foreground="#d75f5f"), - # NB Systray is incompatible with Wayland, consider using StatusNotifier instead - # widget.StatusNotifier(), widget.Systray(), - widget.Volume(fmt='Vol: {}'), - # widget.Clipboard(), + widget.Volume( + fmt='Vol: {}', + fontsize=14 + ), widget.CheckUpdates( + fontsize=14, distro="Arch", no_update_string="No updates", update_interval=600, mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e yay')} ), - widget.Clock(format="%Y-%m-%d %a %I:%M %p"), - widget.QuickExit(countdown_start=3), + widget.Clock( + format="%Y-%m-%d %a %I:%M %p", + fontsize=14 + ), + widget.QuickExit( + countdown_start=3, + fontsize=14 + ), ], 24, opacity=0.7, - border_width=[2, 0, 2, 0], # Draw top and bottom borders + border_width=[3, 0, 3, 0], # Draw top and bottom borders ), ), ] diff --git a/scripts/growthrate.sh b/scripts/growthrate.sh deleted file mode 100755 index 6d68184..0000000 --- a/scripts/growthrate.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -read -p 'Start Value: ' startval -read -p 'End Value: ' endval -let growthrate=(($endval-$startval)/$startval) -echo $growthrate - diff --git a/scripts/launchVM.sh b/scripts/launchVM.sh new file mode 100755 index 0000000..d4367eb --- /dev/null +++ b/scripts/launchVM.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +virsh --connect qemu:///system start RDPWindows +virt-viewer --connect qemu:///system RDPWindows & +