This commit is contained in:
Stephan Raabe
2023-11-10 21:12:15 +00:00
parent eca6b8659a
commit ea2a6adbf0
137 changed files with 2941 additions and 4897 deletions

View File

@@ -41,30 +41,6 @@ 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 browser chatgpt xwindow
modules-center = xworkspaces
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
[module/youtubesubs]
type = custom/script
exec = "python ~/private/youtube.py"
@@ -96,7 +72,7 @@ click-left = "chromium"
type = custom/text
content-foreground = ${colors.primary}
content = ""
click-left = "~/dotfiles/scripts/applauncher.sh"
click-left = "rofi -show drun"
[module/scrcpy]
type = custom/text
@@ -126,7 +102,7 @@ click-left = "xfreerdp -grab-keyboard /v:192.168.122.42 /size:100% /cert-ignore
type = custom/text
content-foreground = ${colors.primary}
content = " "
click-left = "~/dotfiles/scripts/powermenu.sh"
click-left = "~/dotfiles/qtile/scripts/powermenu.sh"
[module/xworkspaces]
type = internal/xworkspaces

View File

@@ -12,14 +12,12 @@
# -----------------------------------------------------
# Quit running polybar instances
# -----------------------------------------------------
polybar-msg cmd quit
killall polybar
# polybar-msg cmd quit
# -----------------------------------------------------
# Loading the configuration based on the username
# -----------------------------------------------------
if [[ $USER = "raabe" ]]
then
polybar -r mypolybar
else
polybar -r mybar
fi
polybar -r mybar