;==========================================================; polybar/config.ini — pentest-env Rose Pine bar (X11/BSPWM); Deployed to ~/.config/polybar/config.ini; Launch via ~/.config/polybar/launch.sh (called from bspwmrc);==========================================================[colors]base=#191724surface=#1f1d2eoverlay=#26233amuted=#6e6a86subtle=#908caatext=#e0def4love=#eb6f92gold=#f6c177rose=#ebbcbapine=#31748ffoam=#9ccfd8iris=#c4a7e7hl_med=#403d52hl_high=#524f67transparent=#00000000;==========================================================[bar/main]monitor=${env:MONITOR:}; floating "Style B": one rounded bar detached from the edge. It sits inside; the bspwm gap — bspwmrc sets `top_padding` so tiled windows clear it.width=99%offset-x=0.5%offset-y=6ptheight=30ptradius=11bottom=falsefixed-center=true; surface (not base) so the bar reads as raised against the wallpaperbackground=${colors.surface}foreground=${colors.text}line-size=2ptborder-size=1ptborder-color=${colors.overlay}padding-left=1padding-right=1module-margin=1separator=%{F#403d52}·%{F-}; MesloLGS NF ships text + Nerd-Font glyphs in one family (installed by install.sh)font-0=MesloLGS NF:size=10;3font-1=MesloLGS NF:size=13;4font-2=MesloLGS NF:size=10:weight=bold;3modules-left=launcher bspwm xwindowmodules-center=datemodules-right=target vpn pulseaudio cpu memory filesystem network xkeyboard updates tray powermenucursor-click=pointercursor-scroll=ns-resizeenable-ipc=true; tray only on the primary bar (launch.sh sets TRAY_POSITION=none on the others)tray-position=${env:TRAY_POSITION:right}tray-background=${colors.base}tray-padding=2tray-maxsize=18wm-restack=bspwmoverride-redirect=false;==========================================================; workspaces[module/bspwm]type=internal/bspwmpin-workspaces=trueoccupied-scroll=false; map desktop names (1-9,0) -> Nerd-Font glyphsws-icon-0=1;ws-icon-1=2;ws-icon-2=3;ws-icon-3=4;ws-icon-4=5;ws-icon-5=6;ws-icon-6=7;ws-icon-7=8;ws-icon-8=9;ws-icon-9=0;ws-icon-default=format=<label-state> <label-mode>label-focused=%icon%label-focused-foreground=${colors.foam}label-focused-background=${colors.overlay}label-focused-padding=1label-occupied=%icon%label-occupied-foreground=${colors.subtle}label-occupied-padding=1label-urgent=%icon%label-urgent-foreground=${colors.love}label-urgent-padding=1label-empty=%icon%label-empty-foreground=${colors.muted}label-empty-padding=1; layout / state badges (monocle, fullscreen, floating)label-monocle=label-tiled=label-fullscreen=label-floating=label-pseudotiled=label-locked=label-sticky=label-private=label-marked=;==========================================================; focused window title[module/xwindow]type=internal/xwindowformat=<label>label=%title:0:60:…%label-foreground=${colors.subtle}label-empty=;==========================================================; ACTIVE PENTEST TARGET (reads pentest-env state file)[module/target]type=custom/scriptexec=~/.config/polybar/scripts/target.shinterval=2format-prefix=" "format-prefix-foreground=${colors.gold}format-foreground=${colors.gold}; click -> drop into a terminal target switcherclick-left=alacritty -e bash -lc 'pe target ls; read -rp "use> " t && pe target use "$t"' &;==========================================================; VPN / tun0 — essential for HTB/THM box work[module/vpn]type=custom/scriptexec=~/.config/polybar/scripts/vpn.shinterval=3format-foreground=${colors.foam};==========================================================[module/cpu]type=internal/cpuinterval=2format-prefix=" "format-prefix-foreground=${colors.iris}label=%percentage:2%%label-foreground=${colors.text}[module/memory]type=internal/memoryinterval=3format-prefix=" "format-prefix-foreground=${colors.pine}label=%percentage_used:2%%label-foreground=${colors.text}[module/filesystem]type=internal/fsinterval=30mount-0=/format-mounted-prefix=" "format-mounted-prefix-foreground=${colors.rose}label-mounted=%percentage_used%%label-unmounted=;==========================================================; network: auto-shows whichever iface is up[module/network]type=internal/networkinterface-type=wiredinterval=3format-connected=<label-connected>format-disconnected=<label-disconnected>label-connected=%{F#9ccfd8}%{F-} %ifname%label-connected-foreground=${colors.text}label-disconnected=%{F#eb6f92}%{F-} downlabel-disconnected-foreground=${colors.muted};==========================================================[module/pulseaudio]type=internal/pulseaudioformat-volume=<ramp-volume> <label-volume>label-volume=%percentage%%label-volume-foreground=${colors.text}label-muted=" muted"label-muted-foreground=${colors.muted}ramp-volume-0=ramp-volume-1=ramp-volume-2=ramp-volume-foreground=${colors.iris}click-right=pavucontrol &;==========================================================[module/date]type=internal/dateinterval=1date=%a %d %btime=%H:%Mlabel=%{F#c4a7e7} %{F-}%date% %{F#9ccfd8} %{F-}%time%label-foreground=${colors.text};==========================================================; keyboard layout + caps-lock indicator[module/xkeyboard]type=internal/xkeyboardblacklist-0=num lockformat=<label-layout> <label-indicator>format-prefix=" "format-prefix-foreground=${colors.subtle}label-layout=%layout%label-layout-foreground=${colors.text}label-indicator-on-capslock=" CAPS"label-indicator-on-capslock-foreground=${colors.love};==========================================================; pending apt updates (empty when up to date; script is best-effort)[module/updates]type=custom/scriptexec=~/.config/polybar/scripts/updates.shinterval=1800format-prefix=" "format-prefix-foreground=${colors.gold}format-foreground=${colors.gold};==========================================================; far-left launcher glyph — click opens the rofi app menu (swap the icon if you like)[module/launcher]type=custom/textcontent=content-foreground=${colors.iris}content-padding=1click-left=rofi -show drun &;==========================================================[module/powermenu]type=custom/textcontent=content-foreground=${colors.love}content-padding=1click-left=~/.config/rofi/powermenu.sh;==========================================================[settings]screenchange-reload=truepseudo-transparency=false