aboutsummaryrefslogtreecommitdiff
path: root/.config/polybar
diff options
context:
space:
mode:
authorXander Swan <email>2025-12-03 10:00:41 -0500
committerXander Swan <email>2025-12-03 10:00:41 -0500
commit61fedccf381bcfdf91d497d3de053271e85e4430 (patch)
tree0700e8bfca6e4ca00e8d4e8f5a891470ad375861 /.config/polybar
parent34687f97048339fd34412e4af8556495015658ef (diff)
update dotfiles
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config.ini45
-rw-r--r--.config/polybar/launch.sh6
2 files changed, 43 insertions, 8 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index a2e85ea..694ae4b 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -25,12 +25,10 @@ secondary = #991133
alert = #A54242
disabled = #707880
-[bar/bar1]
+[bar/primary]
width = 100%
height = 20pt
-; dpi = 96
-
background = ${colors.background}
foreground = ${colors.foreground}
@@ -42,6 +40,7 @@ border-size = 0pt
padding-left = 0
padding-right = 1
+monitor = HDMI-A-1
module-margin = 1
bottom = true
@@ -60,6 +59,40 @@ cursor-scroll = ns-resize
enable-ipc = true
+[bar/secondary]
+width = 100%
+height = 20pt
+
+background = ${colors.background}
+foreground = ${colors.foreground}
+
+line-size = 3pt
+
+border-color = #00000000
+border-size = 0pt
+
+padding-left = 0
+padding-right = 1
+
+monitor = DVI-D-0
+module-margin = 1
+
+bottom = true
+
+separator = :
+separator-foreground = ${colors.disabled}
+
+font-0 = MartianMono Nerd Font:size=11:weight=Medium;1
+
+modules-left = user xworkspaces
+modules-center =
+modules-right = xwindow time
+
+cursor-click = pointer
+cursor-scroll = ns-resize
+
+enable-ipc = true
+
[module/user]
type = custom/script
exec = "echo `whoami`@`hostname`"
@@ -92,14 +125,14 @@ label-urgent-padding = 1
label-empty = %name%
label-empty-padding = 1
-pin-workspaces = false
-group-by-monitor = false
+pin-workspaces = true
+group-by-monitor = true
enable-click = false
enable-scroll = false
[module/xwindow]
type = internal/xwindow
-label = %title:0:60:...%
+label = %title:0:50:...%
[module/filesystem]
type = internal/fs
diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh
index 44eb462..83cf90a 100644
--- a/.config/polybar/launch.sh
+++ b/.config/polybar/launch.sh
@@ -7,7 +7,9 @@ polybar-msg cmd quit
# killall -q polybar
# Launch bar1 and bar2
-echo "---" | tee -a /tmp/polybar1.log
-polybar bar1 2>&1 | tee -a /tmp/polybar1.log & disown
+# echo "---" | tee -a /tmp/polybar1.log
+# polybar bar1 2>&1 | tee -a /tmp/polybar1.log & disown
+polybar --reload primary &
+polybar --reload secondary &
echo "Bars launched..."