Closed hhhorb closed 2 months ago
How did you build beta15? Did you specify any options with meson setup? And did you ninja -C build install it? (The later is needed to make sure the modules are installed in the right location).
Can you try running sfwbar -d -g "module:" and post it's output please?
On Wed, 3 Jul 2024, 21:18 hhhorb, @.***> wrote:
Hey, I upgraded today from beta13 (available in Debian sid) to beta15. (I also unofficially packaged it until it gets uploaded to sid... https://github.com/hhhorb/01micko_hhhorb/tree/main/sfwbar )
My config for beta13 had ' include("pulse-module.widget")' and that gave me a volume icon in the tray. That module is not recognized anymore, and having " include("volume.widget")' doesn't give me anything. What am I missing?
While I'm here, what's the vertical line to the left of the cpu widget?
Great panel to use with labwc, thanks!
— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/197, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFGGYXT3IUV5EMMVJNLZKRMBNAVCNFSM6AAAAABKKIE36CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4DSMZZG42TKNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Wow, caught you at the right time! :^D
I built it by installing the dependencies and then running debmake and debuild. I haven't installed it via meson.
I see from sfwbar -d -g "module" that something's gone wron with my build...
16:32:56.87 module: register expr function 'mid' 16:32:56.87 module: register expr function 'replace' 16:32:56.87 module: register expr function 'pad' 16:32:56.87 module: register expr function 'extract' 16:32:56.87 module: register expr function 'time' 16:32:56.87 module: register expr function 'getlocale' 16:32:56.87 module: register expr function 'disk' 16:32:56.87 module: register expr function 'ActiveWin' 16:32:56.87 module: register expr function 'min' 16:32:56.87 module: register expr function 'max' 16:32:56.87 module: register expr function 'str' 16:32:56.87 module: register expr function 'val' 16:32:56.87 module: register expr function 'upper' 16:32:56.87 module: register expr function 'lower' 16:32:56.87 module: register expr function 'gtkevent' 16:32:56.87 module: register expr function 'bardir' 16:32:56.87 module: register expr function 'widgetid' 16:32:56.87 module: register expr function 'windowinfo' 16:32:56.87 module: register expr function 'escape' 16:32:56.87 module: register expr function 'read' 16:32:56.87 module: register expr function 'interfaceprovider' 16:32:56.87 module: register action 'Exec' 16:32:56.87 module: register action 'Function' 16:32:56.87 module: register action 'PipeRead' 16:32:56.87 module: register action 'MenuClear' 16:32:56.87 module: register action 'MenuItemClear' 16:32:56.87 module: register action 'Menu' 16:32:56.87 module: register action 'SwayCmd' 16:32:56.87 module: register action 'SwayWinCmd' 16:32:56.87 module: register action 'MpdCmd' 16:32:56.87 module: register action 'Config' 16:32:56.87 module: register action 'MapIcon' 16:32:56.87 module: register action 'SetMonitor' 16:32:56.87 module: register action 'SetLayer' 16:32:56.87 module: register action 'SetMirror' 16:32:56.87 module: register action 'SetBarSize' 16:32:56.87 module: register action 'SetBarMargin' 16:32:56.87 module: register action 'SetBarID' 16:32:56.87 module: register action 'SetExclusiveZone' 16:32:56.87 module: register action 'SetBarSensor' 16:32:56.87 module: register action 'SetBarVisibility' 16:32:56.87 module: register action 'SetValue' 16:32:56.87 module: register action 'SetStyle' 16:32:56.87 module: register action 'SetTooltip' 16:32:56.87 module: register action 'UserState' 16:32:56.87 module: register action 'PopUp' 16:32:56.87 module: register action 'ClientSend' 16:32:56.87 module: register action 'Focus' 16:32:56.87 module: register action 'Close' 16:32:56.87 module: register action 'Minimize' 16:32:56.87 module: register action 'Maximize' 16:32:56.87 module: register action 'UnMinimize' 16:32:56.87 module: register action 'UnMaximize' 16:32:56.87 module: register action 'Eval' 16:32:56.87 module: register action 'SwitcherEvent' 16:32:56.87 module: register action 'ClearWidget' 16:32:56.87 module: register action 'TaskbarItemDefault' 16:32:56.87 module: register action 'WorkspaceActivate' 16:32:56.89 module: bsdctl 16:32:56.89 module: bsdctl --> /usr/lib/x86_64-linux-gnu/sfwbar/bsdctl.so 16:32:56.89 module: failed to load bsdctl 16:32:56.89 module: calling function
str 16:32:56.89 module: bsdctl 16:32:56.89 module: bsdctl --> /usr/lib/x86_64-linux-gnu/sfwbar/bsdctl.so 16:32:56.89 module: failed to load bsdctl 16:32:56.89 module: calling function
str 16:32:56.89 module: calling function
str 16:32:56.89 module: calling function
str 16:32:56.89 module: calling function
str 16:32:56.89 module: calling function
min 16:32:56.89 module: calling function
str 16:32:56.89 module: calling function
min 16:32:56.89 module: calling function
str 16:32:56.89 module: bluez 16:32:56.89 module: bluez --> /usr/lib/x86_64-linux-gnu/sfwbar/bluez.so 16:32:56.89 module: calling init function for bluez 16:32:56.90 module: register expr function 'BluezGet' 16:32:56.90 module: register expr function 'BluezState' 16:32:56.90 module: register action 'BluezAck' 16:32:56.90 module: register action 'BluezAckRemoved' 16:32:56.90 module: register action 'BluezScan' 16:32:56.90 module: register action 'BluezConnect' 16:32:56.90 module: register action 'BluezDisconnect' 16:32:56.90 module: register action 'BluezPair' 16:32:56.90 module: register action 'BluezRemove' 16:32:56.90 module: calling function
BluezState 16:32:56.90 module: network 16:32:56.90 module: network --> /usr/lib/x86_64-linux-gnu/sfwbar/network.so 16:32:56.90 module: calling init function for network 16:32:56.90 module: register expr function 'NetInfo' 16:32:56.90 module: register expr function 'NetStat' 16:32:56.90 module: wifi-nm 16:32:56.90 module: wifi-nm --> /usr/lib/x86_64-linux-gnu/sfwbar/wifi-nm.so 16:32:56.90 module: calling init function for wifi-nm 16:32:56.90 module: adding provider: 'NetworkManager' for interface 'wifi' 16:32:56.90 module: wifi-iwd 16:32:56.90 module: wifi-iwd --> /usr/lib/x86_64-linux-gnu/sfwbar/wifi-iwd.so 16:32:56.90 module: calling init function for wifi-iwd 16:32:56.90 module: adding provider: 'IWD' for interface 'wifi' 16:32:56.90 module: calling function
NetInfo 16:32:56.90 module: calling function
pad 16:32:56.90 module: calling function
NetInfo 16:32:56.90 module: calling function
pad 16:32:56.90 module: calling function
NetInfo 16:32:56.90 module: calling function
NetInfo 16:32:56.90 module: calling function
pad 16:32:56.90 module: calling function
NetInfo 16:32:56.90 module: calling function
pad 16:32:56.90 module: calling function
NetInfo 16:32:56.90 module: calling function
pad 16:32:56.90 module: calling function
NetInfo 16:32:56.90 module: calling function
pad 16:32:56.90 module: calling function
str 16:32:56.90 module: calling function
NetStat 16:32:56.90 module: pulsectl 16:32:56.90 module: pulsectl --> /usr/lib/x86_64-linux-gnu/sfwbar/pulsectl.so 16:32:56.90 module: failed to load pulsectl 16:32:56.90 module: alsactl 16:32:56.90 module: alsactl --> /usr/lib/x86_64-linux-gnu/sfwbar/alsactl.so 16:32:56.90 module: failed to load alsactl
Thanks for the help. What's the vertical line next to the cpu widget? Feel free to mark this closed.
Can you try to ls -l /usr/lib/x86_64-linux-gnu/sfwbar/ ? I wonder if pulse.so is left over from the previous version or has wrong permissions on it?
On Wed, Jul 3, 2024 at 9:35 PM hhhorb @.***> wrote:
Wow, caught you at the right time! :^D
I built it by installing the dependencies and then running debmake and debuild. I haven't installed it via meson.
I see from sfwbar -d -g "module" that something's gone wron with my build...
16:32:56.87 module: register expr function 'mid' 16:32:56.87 module: register expr function 'replace' 16:32:56.87 module: register expr function 'pad' 16:32:56.87 module: register expr function 'extract' 16:32:56.87 module: register expr function 'time' 16:32:56.87 module: register expr function 'getlocale' 16:32:56.87 module: register expr function 'disk' 16:32:56.87 module: register expr function 'ActiveWin' 16:32:56.87 module: register expr function 'min' 16:32:56.87 module: register expr function 'max' 16:32:56.87 module: register expr function 'str' 16:32:56.87 module: register expr function 'val' 16:32:56.87 module: register expr function 'upper' 16:32:56.87 module: register expr function 'lower' 16:32:56.87 module: register expr function 'gtkevent' 16:32:56.87 module: register expr function 'bardir' 16:32:56.87 module: register expr function 'widgetid' 16:32:56.87 module: register expr function 'windowinfo' 16:32:56.87 module: register expr function 'escape' 16:32:56.87 module: register expr function 'read' 16:32:56.87 module: register expr function 'interfaceprovider' 16:32:56.87 module: register action 'Exec' 16:32:56.87 module: register action 'Function' 16:32:56.87 module: register action 'PipeRead' 16:32:56.87 module: register action 'MenuClear' 16:32:56.87 module: register action 'MenuItemClear' 16:32:56.87 module: register action 'Menu' 16:32:56.87 module: register action 'SwayCmd' 16:32:56.87 module: register action 'SwayWinCmd' 16:32:56.87 module: register action 'MpdCmd' 16:32:56.87 module: register action 'Config' 16:32:56.87 module: register action 'MapIcon' 16:32:56.87 module: register action 'SetMonitor' 16:32:56.87 module: register action 'SetLayer' 16:32:56.87 module: register action 'SetMirror' 16:32:56.87 module: register action 'SetBarSize' 16:32:56.87 module: register action 'SetBarMargin' 16:32:56.87 module: register action 'SetBarID' 16:32:56.87 module: register action 'SetExclusiveZone' 16:32:56.87 module: register action 'SetBarSensor' 16:32:56.87 module: register action 'SetBarVisibility' 16:32:56.87 module: register action 'SetValue' 16:32:56.87 module: register action 'SetStyle' 16:32:56.87 module: register action 'SetTooltip' 16:32:56.87 module: register action 'UserState' 16:32:56.87 module: register action 'PopUp' 16:32:56.87 module: register action 'ClientSend' 16:32:56.87 module: register action 'Focus' 16:32:56.87 module: register action 'Close' 16:32:56.87 module: register action 'Minimize' 16:32:56.87 module: register action 'Maximize' 16:32:56.87 module: register action 'UnMinimize' 16:32:56.87 module: register action 'UnMaximize' 16:32:56.87 module: register action 'Eval' 16:32:56.87 module: register action 'SwitcherEvent' 16:32:56.87 module: register action 'ClearWidget' 16:32:56.87 module: register action 'TaskbarItemDefault' 16:32:56.87 module: register action 'WorkspaceActivate' 16:32:56.89 module: bsdctl 16:32:56.89 module: bsdctl --> /usr/lib/x86_64-linux-gnu/sfwbar/bsdctl.so 16:32:56.89 module: failed to load bsdctl 16:32:56.89 module: calling functionstr16:32:56.89 module: bsdctl 16:32:56.89 module: bsdctl --> /usr/lib/x86_64-linux-gnu/sfwbar/bsdctl.so 16:32:56.89 module: failed to load bsdctl 16:32:56.89 module: calling functionstr16:32:56.89 module: calling functionstr16:32:56.89 module: calling functionstr16:32:56.89 module: calling functionstr16:32:56.89 module: calling functionmin16:32:56.89 module: calling functionstr16:32:56.89 module: calling functionmin16:32:56.89 module: calling functionstr16:32:56.89 module: bluez 16:32:56.89 module: bluez --> /usr/lib/x86_64-linux-gnu/sfwbar/bluez.so 16:32:56.89 module: calling init function for bluez 16:32:56.90 module: register expr function 'BluezGet' 16:32:56.90 module: register expr function 'BluezState' 16:32:56.90 module: register action 'BluezAck' 16:32:56.90 module: register action 'BluezAckRemoved' 16:32:56.90 module: register action 'BluezScan' 16:32:56.90 module: register action 'BluezConnect' 16:32:56.90 module: register action 'BluezDisconnect' 16:32:56.90 module: register action 'BluezPair' 16:32:56.90 module: register action 'BluezRemove' 16:32:56.90 module: calling functionBluezState16:32:56.90 module: network 16:32:56.90 module: network --> /usr/lib/x86_64-linux-gnu/sfwbar/network.so 16:32:56.90 module: calling init function for network 16:32:56.90 module: register expr function 'NetInfo' 16:32:56.90 module: register expr function 'NetStat' 16:32:56.90 module: wifi-nm 16:32:56.90 module: wifi-nm --> /usr/lib/x86_64-linux-gnu/sfwbar/wifi-nm.so 16:32:56.90 module: calling init function for wifi-nm 16:32:56.90 module: adding provider: 'NetworkManager' for interface 'wifi' 16:32:56.90 module: wifi-iwd 16:32:56.90 module: wifi-iwd --> /usr/lib/x86_64-linux-gnu/sfwbar/wifi-iwd.so 16:32:56.90 module: calling init function for wifi-iwd 16:32:56.90 module: adding provider: 'IWD' for interface 'wifi' 16:32:56.90 module: calling functionNetInfo16:32:56.90 module: calling functionpad16:32:56.90 module: calling functionNetInfo16:32:56.90 module: calling functionpad16:32:56.90 module: calling functionNetInfo16:32:56.90 module: calling functionNetInfo16:32:56.90 module: calling functionpad16:32:56.90 module: calling functionNetInfo16:32:56.90 module: calling functionpad16:32:56.90 module: calling functionNetInfo16:32:56.90 module: calling functionpad16:32:56.90 module: calling functionNetInfo16:32:56.90 module: calling functionpad16:32:56.90 module: calling functionstr16:32:56.90 module: calling functionNetStat16:32:56.90 module: pulsectl 16:32:56.90 module: pulsectl --> /usr/lib/x86_64-linux-gnu/sfwbar/pulsectl.so 16:32:56.90 module: failed to load pulsectl 16:32:56.90 module: alsactl 16:32:56.90 module: alsactl --> /usr/lib/x86_64-linux-gnu/sfwbar/alsactl.so 16:32:56.90 module: failed to load alsactl
Thanks for the help. What's the vertical line next to the cpu widget? Feel free to mark this closed.
— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/197#issuecomment-2207218016, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFHQAORHT3GBAH3RL6LZKROCXAVCNFSM6AAAAABKKIE36CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBXGIYTQMBRGY . You are receiving this because you commented.Message ID: @.***>
ls -l /usr/lib/x86_64-linux-gnu/sfwbar/
total 472
-rw-r--r-- 1 root root 27664 Jul 3 14:35 bluez.so
-rw-r--r-- 1 root root 14592 Jul 3 14:35 idleinhibit.so
-rw-r--r-- 1 root root 344168 Jul 3 14:35 libsfwbar.so
-rw-r--r-- 1 root root 22968 Jul 3 14:35 network.so
-rw-r--r-- 1 root root 32064 Jul 3 14:35 wifi-iwd.so
-rw-r--r-- 1 root root 32032 Jul 3 14:35 wifi-nm.so
-edit- trying to clean up formatting
It looks like pulse isn't installed. Can you try adding -Dpulse=enabled on your meson setup command when building?
On Wed, 3 Jul 2024, 21:42 hhhorb, @.***> wrote:
ls -l /usr/lib/x86_64-linux-gnu/sfwbar/ total 472 -rw-r--r-- 1 root root 27664 Jul 3 14:35 bluez.so -rw-r--r-- 1 root root 14592 Jul 3 14:35 idleinhibit.so -rw-r--r-- 1 root root 344168 Jul 3 14:35 libsfwbar.so -rw-r--r-- 1 root root 22968 Jul 3 14:35 network.so -rw-r--r-- 1 root root 32064 Jul 3 14:35 wifi-iwd.so -rw-r--r-- 1 root root 32032 Jul 3 14:35 wifi-nm.so
— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/197#issuecomment-2207234241, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFGU44MS4PS4IUN2AS3ZKRO3LAVCNFSM6AAAAABKKIE36CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBXGIZTIMRUGE . You are receiving this because you commented.Message ID: @.***>
Will do, I'll post back shortly.
Frustrating. Ran meson setup build -Dpulse=enabled with success. Ran ninja -C build and sudo ninja -C build install with success.
sfwbar -f hhh.config ** (sfwbar:44002): ERROR **: 17:11:16.926: Error reading config file pulse-module.widget Trace/breakpoint trap
Here's my config...
# theme = "Adwaita-dark"
# Override gtk icon theme
# IconTheme = "Adwaita"
# Display minimized windows on taskbars across all outputs
# DisownMinimized = true
# Select terminal emulator to use
#Set Term = "alacritty"
TriggerAction "SIGRTMIN+1", SwitcherEvent "forward"
TriggerAction "SIGRTMIN+2", SwitcherEvent "back"
Function("SfwbarInit") {
Config "PopUp 'XVolumeWindow' { AutoClose = true }"
}
# Window Placer
placer {
xorigin = 5 # place the first window at X% from the left
yorigin = 5 # place the first window at X% from the top
xstep = 5 # step by X% of desktop horizontally
ystep = 5 # step by X% of desktop vertically
children = true
}
# Task Switcher
switcher {
interval = 700
icons = true
labels = false
cols = 5
}
include("winops.widget")
layout {
size = "100%"
layer = "top"
mirror = "*"
exclusive_zone = "auto"
# sensor = 300
# monitor = "eDP-1"
css = "* { min-height: 28px }"
include("startmenu.widget")
taskbar {
style = "taskbar"
rows = 1;
icons = true;
labels = false;
sort = false;
# filter = workspace;
action[2] = Menu "winops"
action[3] = Close
action[Drag] = Focus
}
label {
css = "* { -GtkWidget-hexpand: true; }"
}
pager {
style = "pager"
rows = 1
pins = "1","2","3","4"
preview = true
action[Drag] = WorkspaceActivate
}
include("cpu.widget")
include("memory.widget")
tray {
rows = 1
}
include("battery-svg.widget")
# include("bluez.widget")
# include("idle.widget")
# include("rfkill-wifi.widget")
# include("rfkill-bt.widget")
include("network-module.widget")
include("showdesktop.widget")
# include("volume.widget")
include("pulse-module.widget")
# include("mpd-intmod.widget")
# include("sway-lang.widget")
grid {
css = "* { -GtkWidget-direction: bottom; }"
label {
value = Time("%l:%M")
style ="clock"
}
# label {
# value = Time("%x")
# style ="clock"
# }
}
}
#CSS
#hidden {
-GtkWidget-visible: false;
}
window#sfwbar {
-GtkWidget-direction: top;
background-color: rgba(0,0,0,0.6);
}
button,
button image {
min-height: 0px;
outline-style: none;
box-shadow: none;
background-image: none;
border-image: none;
}
label {
font: 14px Sans;
}
image {
-ScaleImage-symbolic: true;
}
button#startmenu,
button#module {
border: none;
padding: 3px;
margin: 0px 0px 0px 10px;
-GtkWidget-vexpand: true;
}
button#startmenu image,
button#module image {
min-height: 16px;
min-width: 16px;
padding: 0px;
margin: 0px;
-GtkWidget-valign: center;
-GtkWidget-vexpand: true;
}
button#taskbar_normal,
button#taskbar_active,
button#taskbar_normal:hover {
padding: 3px;
border-radius: 3px;
border-width: 0px;
-GtkWidget-hexpand: false;
margin: 0px 5px;
}
grid#taskbar > :not(:last-child) button#taskbar_normal:hover,
grid#taskbar > :not(:last-child) button#taskbar_active,
grid#taskbar > :not(:last-child) button#taskbar_normal {
border-radius: 0px;
border-right: 1px solid alpha(@theme_fg_color,0.15);
}
button#taskbar_active {
background-color: rgba(199,227,255,0.6);
}
button#taskbar_normal:hover {
background-color: rgba(213,213,213,0.6);
}
button#taskbar_normal grid,
button#taskbar_active grid,
button#taskbar_normal:hover grid {
-GtkWidget-valign: center;
}
button#taskbar_normal image,
button#taskbar_active image,
button#taskbar_normal:hover image {
min-width: 20px;
min-height: 20px;
padding-right: 0px;
-ScaleImage-symbolic: false;
}
button#taskbar_normal label,
button#taskbar_active label,
button#taskbar_normal:hover label {
}
button#tray_active,
button#tray_passive,
button#tray_attention {
margin: 0px;
border: none;
padding: 0px;
}
button#tray_passive {
-GtkWidget-visible: false;
}
button#tray_active image,
button#tray_passive image,
button#tray_attention image {
-GtkWidget-valign: center;
-GtkWidget-vexpand: true;
min-height: 16px;
min-width: 16px;
padding: 3px;
margin: 0px;
border: none;
}
grid#pager {
border-radius: 3px;
border-color: @theme_fg_color;
border-style: solid;
border-width: 1px;
margin: 2px;
padding: 0px;
}
button#pager_normal,
button#pager_visible,
button#pager_focused {
border-radius: 5px;
border: none;
outline: 0px;
margin-right: 2px;
margin-left: 2px;
padding: 0px;
-GtkWidget-halign: center;
-GtkWidget-valign: center;
}
button#pager_focused {
background-color: rgba(199,227,255,0.6);
}
button#pager_preview {
border-radius: 0;
border-color: #000000;
border-width: 0.25mm;
color: #777777;
min-width: 5cm;
min-height: 2.8125cm;
}
#menu_item,
#menu_item image,
#menu_item label {
-GtkWidget-halign: start;
}
#menu_item image {
min-width: 16px;
min-height: 16px;
padding-right: 2px;
}
label#clock {
padding-left: 2px;
padding-right: 2px;
-GtkWidget-vexpand: true;
-GtkWidget-valign: center;
font: 13pt Futura Bk BT;
font-weight: bold;
margin-right: 10px;
}
chart#cpu_chart {
background: rgba(127,127,127,0.3);
min-width: 9px;
-GtkWidget-vexpand: true;
margin: 2px;
border: 1px solid @theme_fg_color;
color: #6EAEA0;
}
progressbar#memory {
-GtkWidget-direction: top;
-GtkWidget-vexpand: true;
min-width: 9px;
border: 1px solid @theme_fg_color;
margin: 2px;
}
progressbar#memory trough {
min-height: 2px;
min-width: 9px;
border: none;
border-radius: 0px;
background: rgba(127,127,127,0.3);
}
progressbar#memory progress {
-GtkWidget-hexpand: true;
min-width: 9px;
border-radius: 0px;
border: none;
margin: 0px;
background-color: alpha(green,0.9);
}
grid#switcher_active image,
grid#switcher_active {
background-color: #bbddff;
}
grid#switcher_active image,
grid#switcher_active,
grid#switcher_normal image,
grid#switcher_normal {
min-width: 50px;
min-height: 50px;
border-radius: 5px;
padding: 5px;
-GtkWidget-direction: right;
-GtkWidget-hexpand: true;
-ScaleImage-symbolic: false;
}
window#switcher {
border: 1px solid @borders;
border-radius: 6px;
padding: 60px;
-GtkWidget-hexpand: true;
}
grid#switcher {
border-radius: 5px;
padding: 5px;
-GtkWidget-hexpand: true;
}
label#sway_lang {
margin-left: 3px;
margin-right: 5px;
}
Did pulse.so get installed in /usr/lib/x86_64-linux-gnu/sfwbar/ ?
Of not, it's probably best to look through the output of meson setup and ninja -C build install commands.
On Wed, 3 Jul 2024, 22:17 hhhorb, @.***> wrote:
Frustrating. Ran meson setup build -Dpulse=enabled with success. Ran ninja -C build and sudo ninja -C build install with success.
sfwbar -f hhh.config (sfwbar:44002): ERROR : 17:11:16.926: Error reading config file pulse-module.widget Trace/breakpoint trap
Here's my config...
theme = "Adwaita-dark"
Override gtk icon theme
IconTheme = "Adwaita"
Display minimized windows on taskbars across all outputs
DisownMinimized = true
Select terminal emulator to use
Set Term = "alacritty"
TriggerAction "SIGRTMIN+1", SwitcherEvent "forward" TriggerAction "SIGRTMIN+2", SwitcherEvent "back"
Function("SfwbarInit") { Config "PopUp 'XVolumeWindow' { AutoClose = true }" }
Window Placer
placer { xorigin = 5 # place the first window at X% from the left yorigin = 5 # place the first window at X% from the top xstep = 5 # step by X% of desktop horizontally ystep = 5 # step by X% of desktop vertically children = true }
Task Switcher
switcher { interval = 700 icons = true labels = false cols = 5 }
include("winops.widget")
layout {
size = "100%" layer = "top" mirror = "*" exclusive_zone = "auto"
sensor = 300
monitor = "eDP-1"
css = "* { min-height: 28px }"
include("startmenu.widget")
taskbar { style = "taskbar" rows = 1; icons = true; labels = false; sort = false;
filter = workspace;
action[2] = Menu "winops" action[3] = Close action[Drag] = Focus
}
label { css = "* { -GtkWidget-hexpand: true; }" }
pager { style = "pager" rows = 1 pins = "1","2","3","4" preview = true action[Drag] = WorkspaceActivate }
include("cpu.widget") include("memory.widget")
tray { rows = 1 }
include("battery-svg.widget")
include("bluez.widget")
include("idle.widget")
include("rfkill-wifi.widget")
include("rfkill-bt.widget")
include("network-module.widget") include("showdesktop.widget")
include("volume.widget")
include("pulse-module.widget")
include("mpd-intmod.widget")
include("sway-lang.widget")
grid { css = "* { -GtkWidget-direction: bottom; }" label { value = Time("%l:%M") style ="clock" }
label {
value = Time("%x")
style ="clock"
}
} }
CSS
hidden {
-GtkWidget-visible: false; }
window#sfwbar { -GtkWidget-direction: top; background-color: rgba(0,0,0,0.6); }
button, button image { min-height: 0px; outline-style: none; box-shadow: none; background-image: none; border-image: none; }
label { font: 14px Sans; }
image { -ScaleImage-symbolic: true; }
button#startmenu, button#module { border: none; padding: 3px; margin: 0px 0px 0px 10px; -GtkWidget-vexpand: true; }
button#startmenu image, button#module image { min-height: 16px; min-width: 16px; padding: 0px; margin: 0px; -GtkWidget-valign: center; -GtkWidget-vexpand: true; }
button#taskbar_normal, button#taskbar_active, button#taskbar_normal:hover { padding: 3px; border-radius: 3px; border-width: 0px; -GtkWidget-hexpand: false; margin: 0px 5px; }
grid#taskbar > :not(:last-child) button#taskbar_normal:hover, grid#taskbar > :not(:last-child) button#taskbar_active, grid#taskbar > :not(:last-child) button#taskbar_normal { border-radius: 0px; border-right: 1px solid @.***_fg_color,0.15); }
button#taskbar_active { background-color: rgba(199,227,255,0.6); }
button#taskbar_normal:hover { background-color: rgba(213,213,213,0.6); }
button#taskbar_normal grid, button#taskbar_active grid, button#taskbar_normal:hover grid { -GtkWidget-valign: center; }
button#taskbar_normal image, button#taskbar_active image, button#taskbar_normal:hover image { min-width: 20px; min-height: 20px; padding-right: 0px; -ScaleImage-symbolic: false; }
button#taskbar_normal label, button#taskbar_active label, button#taskbar_normal:hover label { }
button#tray_active, button#tray_passive, button#tray_attention { margin: 0px; border: none; padding: 0px; }
button#tray_passive { -GtkWidget-visible: false; }
button#tray_active image, button#tray_passive image, button#tray_attention image { -GtkWidget-valign: center; -GtkWidget-vexpand: true; min-height: 16px; min-width: 16px; padding: 3px; margin: 0px; border: none; }
grid#pager { border-radius: 3px; border-color: @theme_fg_color; border-style: solid; border-width: 1px; margin: 2px; padding: 0px; }
button#pager_normal, button#pager_visible, button#pager_focused { border-radius: 5px; border: none; outline: 0px; margin-right: 2px; margin-left: 2px; padding: 0px; -GtkWidget-halign: center; -GtkWidget-valign: center; }
button#pager_focused { background-color: rgba(199,227,255,0.6); }
button#pager_preview { border-radius: 0; border-color: #000000; border-width: 0.25mm; color: #777777; min-width: 5cm; min-height: 2.8125cm; }
menu_item,
menu_item image,
menu_item label {
-GtkWidget-halign: start; }
menu_item image {
min-width: 16px; min-height: 16px; padding-right: 2px; }
label#clock { padding-left: 2px; padding-right: 2px; -GtkWidget-vexpand: true; -GtkWidget-valign: center; font: 13pt Futura Bk BT; font-weight: bold; margin-right: 10px; }
chart#cpu_chart { background: rgba(127,127,127,0.3); min-width: 9px; -GtkWidget-vexpand: true; margin: 2px; border: 1px solid @theme_fg_color; color: #6EAEA0; }
progressbar#memory { -GtkWidget-direction: top; -GtkWidget-vexpand: true; min-width: 9px; border: 1px solid @theme_fg_color; margin: 2px; }
progressbar#memory trough { min-height: 2px; min-width: 9px; border: none; border-radius: 0px; background: rgba(127,127,127,0.3); }
progressbar#memory progress { -GtkWidget-hexpand: true; min-width: 9px; border-radius: 0px; border: none; margin: 0px; background-color: alpha(green,0.9); }
grid#switcher_active image, grid#switcher_active { background-color: #bbddff; }
grid#switcher_active image, grid#switcher_active, grid#switcher_normal image, grid#switcher_normal { min-width: 50px; min-height: 50px; border-radius: 5px; padding: 5px; -GtkWidget-direction: right; -GtkWidget-hexpand: true; -ScaleImage-symbolic: false; }
window#switcher { border: 1px solid @borders; border-radius: 6px; padding: 60px; -GtkWidget-hexpand: true; }
grid#switcher { border-radius: 5px; padding: 5px; -GtkWidget-hexpand: true; }
label#sway_lang { margin-left: 3px; margin-right: 5px; }
— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/197#issuecomment-2207318420, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFA2UX7M5J5XPGSFLIDZKRS7PAVCNFSM6AAAAABKKIE36CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBXGMYTQNBSGA . You are receiving this because you commented.Message ID: @.***>
It was all installed to /usr/local
I tried meson setup -Dprefix=/usr build, ninja -C build, sudo ninja -C build and that installed everything to /usr. /usr/lib/x86_64-linux-gnu/sfwbar/ has alsactl.so and pulsectl.so in it. I'm still getting the same error, Error reading config file pulse-module.widget Trace/breakpoint trap
OK, running sfwbar with no flags is giving me a volume module. I'll try rebuilding my config from the ground up.
I appreciate your help, I'm not a programmer so I mostly work things out by trial and error. Tedious, but I have learned a lot.
The vertical line is the pager, which isn't doing anything until support for it is added in wlroots?
Indeed that vertical line is a pager and it shouldn't appear on compositors without a side channel ipc. This should be fixed in the latest git version.
On Thu, Jul 4, 2024 at 2:21 AM hhhorb @.***> wrote:
The vertical line is the pager, which isn't doing anything until support for it is added in wlroots?
— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/197#issuecomment-2207793680, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFHLXHI7E62EGQH3WFTZKSPQVAVCNFSM6AAAAABKKIE36CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBXG44TGNRYGA . You are receiving this because you commented.Message ID: @.***>
Hey, I upgraded today from beta13 (available in Debian sid) to beta15. (I also unofficially packaged it until it gets uploaded to sid... https://github.com/hhhorb/01micko_hhhorb/tree/main/sfwbar )
My config for beta13 had ' include("pulse-module.widget")' and that gave me a volume icon in the tray. That module is not recognized anymore, and having " include("volume.widget")' doesn't give me anything. What am I missing?
While I'm here, what's the vertical line to the left of the cpu widget?
Great panel to use with labwc, thanks!