This commit is contained in:
Stephan Raabe 2023-08-17 10:27:39 +02:00
parent fd6c8511a1
commit 3bfbeac789
3 changed files with 51 additions and 6 deletions

View File

@ -34,7 +34,31 @@ font-0 = "Fira Sans SemiBold:size=11;2"
font-1 = "Font Awesome 6 Free Solid:pixelsize=11;2"
modules-left = appmenu xworkspaces brave outlook teams calculator chatgpt
modules-center = xwindow
modules-right = battery youtubesubs xkeyboard mysystem filesystem pulseaudio memory cpu date exit
modules-right = battery xkeyboard mysystem filesystem pulseaudio memory cpu date exit
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
tray-position = right
tray-detached = false
[bar/mypolybar]
width = 100%
height = 20pt
radius = 0
background = ${colors.background}
foreground = ${colors.foreground}
border-size = 0pt
border-color = #00000000
padding-left = 2
padding-right = 1
module-margin = 2
separator = ""
separator-foreground = ${colors.disabled}
font-0 = "Fira Sans SemiBold:size=11;2"
font-1 = "Font Awesome 6 Free Solid:pixelsize=11;2"
modules-left = appmenu xworkspaces brave outlook teams calculator chatgpt
modules-center = xwindow
modules-right = battery xkeyboard youtubesubs mysystem filesystem pulseaudio memory cpu date exit
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
@ -48,6 +72,7 @@ format-prefix = " "
format-prefix-foreground = ${colors.primary}
interval = 300
click-left = "brave --app=https://studio.youtube.com"
label-foreground = #FFFFFF
[module/outlook]
type = custom/text

View File

@ -1,7 +1,27 @@
#!/usr/bin/env bash
# ____ _ _ ____ _ _
# / ___|| |_ __ _ _ __| |_ | _ \ ___ | |_ _| |__ __ _ _ __
# \___ \| __/ _` | '__| __| | |_) / _ \| | | | | '_ \ / _` | '__|
# ___) | || (_| | | | |_ | __/ (_) | | |_| | |_) | (_| | |
# |____/ \__\__,_|_| \__| |_| \___/|_|\__, |_.__/ \__,_|_|
# |___/
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
# -----------------------------------------------------
# Quit running polybar instances
# -----------------------------------------------------
polybar-msg cmd quit
# killall -q polybar
polybar -r mybar
echo "Bars launched..."
# -----------------------------------------------------
# Loading the configuration based on the username
# -----------------------------------------------------
if [[ $USER = "raabe" ]]
then
polybar -r mypolybar
else
polybar -r mybar
fi

View File

@ -177,8 +177,8 @@ ColorI=(colordict['colors']['color9'])
layout_theme = {
"border_width": 3,
"margin": 15,
"border_focus": ColorC,
"border_normal": "FFFFFF",
"border_focus": "FFFFFF",
"border_normal": ColorC,
"single_border_width": 3
}