Commit 37b6f3ea authored by peacerebel's avatar peacerebel
Browse files

Use interface type instead of hardcoded interface and update script path

parent 6f6862a8
......@@ -146,7 +146,7 @@ label = MEM %percentage_used%%
[module/wlan]
type = internal/network
interface = wlp2s0
interface-type = wireless
interval = 3.0
format-connected = <label-connected>
......@@ -158,7 +158,7 @@ label-connected-underline = ${colors.brown}
type = custom/script
exec = ~/.config/polybar/popup-calendar.sh
interval = 5
click-left = ~/polybar-scripts/polybar-scripts/popup-calendar/popup-calendar.sh --popup &
click-left = ~/.config/polybar/popup-calendar.sh --popup &
; [module/date]
; type = internal/date
......
#!/bin/sh
BAR_HEIGHT=22 # polybar height
BORDER_SIZE=1 # border size from your wm settings
BAR_HEIGHT=0 # polybar height
BORDER_SIZE=0 # border size from your wm settings
YAD_WIDTH=222 # 222 is minimum possible value
YAD_HEIGHT=193 # 193 is minimum possible value
DATE="$(date +"%a %d, %b %Y %H:%M")"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment