repositories

voidwalker.py

Penetration testing arsenal builder and workspace manager for macOS and Linux

clonegit clone https://git.daemon-sec.xyz/voidwalker.py.git
config.iniConfig256 lines6.7 KiBraw download
;==========================================================
;  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      = #191724
surface   = #1f1d2e
overlay   = #26233a
muted     = #6e6a86
subtle    = #908caa
text      = #e0def4
love      = #eb6f92
gold      = #f6c177
rose      = #ebbcba
pine      = #31748f
foam      = #9ccfd8
iris      = #c4a7e7
hl_med    = #403d52
hl_high   = #524f67
transparent = #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 = 6pt
height = 30pt
radius = 11
bottom = false
fixed-center = true

; surface (not base) so the bar reads as raised against the wallpaper
background = ${colors.surface}
foreground = ${colors.text}

line-size = 2pt
border-size = 1pt
border-color = ${colors.overlay}

padding-left = 1
padding-right = 1
module-margin = 1
separator = %{F#403d52}·%{F-}

; MesloLGS NF ships text + Nerd-Font glyphs in one family (installed by install.sh)
font-0 = MesloLGS NF:size=10;3
font-1 = MesloLGS NF:size=13;4
font-2 = MesloLGS NF:size=10:weight=bold;3

modules-left = launcher bspwm xwindow
modules-center = date
modules-right = target vpn pulseaudio cpu memory filesystem network xkeyboard updates tray powermenu

cursor-click = pointer
cursor-scroll = ns-resize
enable-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 = 2
tray-maxsize = 18

wm-restack = bspwm
override-redirect = false

;==========================================================
; workspaces
[module/bspwm]
type = internal/bspwm
pin-workspaces = true
occupied-scroll = false

; map desktop names (1-9,0) -> Nerd-Font glyphs
ws-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 = 1

label-occupied = %icon%
label-occupied-foreground = ${colors.subtle}
label-occupied-padding = 1

label-urgent = %icon%
label-urgent-foreground = ${colors.love}
label-urgent-padding = 1

label-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/xwindow
format = <label>
label = %title:0:60:…%
label-foreground = ${colors.subtle}
label-empty =

;==========================================================
; ACTIVE PENTEST TARGET (reads pentest-env state file)
[module/target]
type = custom/script
exec = ~/.config/polybar/scripts/target.sh
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.gold}
format-foreground = ${colors.gold}
; click -> drop into a terminal target switcher
click-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/script
exec = ~/.config/polybar/scripts/vpn.sh
interval = 3
format-foreground = ${colors.foam}

;==========================================================
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.iris}
label = %percentage:2%%
label-foreground = ${colors.text}

[module/memory]
type = internal/memory
interval = 3
format-prefix = " "
format-prefix-foreground = ${colors.pine}
label = %percentage_used:2%%
label-foreground = ${colors.text}

[module/filesystem]
type = internal/fs
interval = 30
mount-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/network
interface-type = wired
interval = 3
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-connected = %{F#9ccfd8}%{F-} %ifname%
label-connected-foreground = ${colors.text}
label-disconnected = %{F#eb6f92}%{F-} down
label-disconnected-foreground = ${colors.muted}

;==========================================================
[module/pulseaudio]
type = internal/pulseaudio
format-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/date
interval = 1
date = %a %d %b
time = %H:%M
label = %{F#c4a7e7} %{F-}%date%  %{F#9ccfd8} %{F-}%time%
label-foreground = ${colors.text}

;==========================================================
; keyboard layout + caps-lock indicator
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format = <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/script
exec = ~/.config/polybar/scripts/updates.sh
interval = 1800
format-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/text
content = 
content-foreground = ${colors.iris}
content-padding = 1
click-left = rofi -show drun &

;==========================================================
[module/powermenu]
type = custom/text
content = 
content-foreground = ${colors.love}
content-padding = 1
click-left = ~/.config/rofi/powermenu.sh

;==========================================================
[settings]
screenchange-reload = true
pseudo-transparency = false