Qtile Bar Tweak

This commit is contained in:
stephan.raabe 2023-02-06 17:28:27 +01:00
parent 819f73fde9
commit fcd0c532f3
4 changed files with 28 additions and 24 deletions

View File

@ -181,35 +181,40 @@ screens = [
Screen( Screen(
top=bar.Bar( top=bar.Bar(
[ [
# widget.CurrentLayout(), widget.GroupBox(
widget.GroupBox(), highlight_method='block',
widget.Prompt(), block_highlight_text_color='ffffff',
widget.WindowName(), foreground='ffffff',
widget.Chord( fontsize=14,
chords_colors={ active=ColorC
"launch": ("#ff0000", "#ffffff"), ),
}, widget.WindowName(
name_transform=lambda name: name.upper(), 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.Systray(),
widget.Volume(fmt='Vol: {}'), widget.Volume(
# widget.Clipboard(), fmt='Vol: {}',
fontsize=14
),
widget.CheckUpdates( widget.CheckUpdates(
fontsize=14,
distro="Arch", distro="Arch",
no_update_string="No updates", no_update_string="No updates",
update_interval=600, update_interval=600,
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e yay')} mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e yay')}
), ),
widget.Clock(format="%Y-%m-%d %a %I:%M %p"), widget.Clock(
widget.QuickExit(countdown_start=3), format="%Y-%m-%d %a %I:%M %p",
fontsize=14
),
widget.QuickExit(
countdown_start=3,
fontsize=14
),
], ],
24, 24,
opacity=0.7, 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
), ),
), ),
] ]

View File

@ -1,6 +0,0 @@
#!/bin/bash
read -p 'Start Value: ' startval
read -p 'End Value: ' endval
let growthrate=(($endval-$startval)/$startval)
echo $growthrate

5
scripts/launchVM.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
virsh --connect qemu:///system start RDPWindows
virt-viewer --connect qemu:///system RDPWindows &