Closed lf-araujo closed 2 years ago
I'm on the most recent commit and tried this out, and the network manager applet is showing.
nimdow -v
Glad you've been enjoying Nimdow! Hope to hear back so I can help get the issue resolved. It may be something unrelated to Nimdow, however
Sure, thanks:
# Start external programs
[[startProcess]]
command = "pkill nimdow"
keys = [ "Delete" ]
modifiers = [ "control", "alt" ]
[[startProcess]]
command = "firefox"
keys = [ "i" ]
modifiers = [ "super" ]
[[startProcess]]
command = "alacritty"
keys = [ "Return" ]
modifiers = [ "super" ]
[autostart]
exec = [
"xsetroot -cursor_name left_ptr",
"nm-applet",
"picom --experimental-backends",
"synapse",
# "/home/luis/.config/nimdow/volume.sh",
"/home/luis/.config/nimdow/date.sh",
"feh --bg-fill ~/Pictures/wallpaper.jpeg"
]
[settings]
# Window settings
gapSize = 12
borderWidth = 1
borderColorUnfocused = "#282a36"
borderColorFocused = "#50fa7b"
borderColorUrgent = "#ff5555"
# Bar settings
barHeight = 30
barBackgroundColor = "#282a36"
barForegroundColor = "#f8f8f2"
barSelectionColor = "#50fa7b"
barUrgentColor = "#ff5555"
barFonts = [
"monospace:size=10:anialias=false",
"FiraCode Nerd Font:size=10:anialias=false"
]
# General settings
loggingEnabled = false
# Window manager controls
[controls]
[controls.reloadConfig]
keys = [ "r" ]
modifiers = [ "super", "shift" ]
[controls.focusPrevious]
keys = [ "k" ]
modifiers = [ "super" ]
[controls.focusNext]
keys = [ "j" ]
modifiers = [ "super" ]
[controls.moveWindowPrevious]
keys = [ "k" ]
modifiers = [ "super", "shift" ]
[controls.moveWindowNext]
keys = [ "j" ]
modifiers = [ "super", "shift" ]
[controls.toggleFullscreen]
keys = [ "f" ]
modifiers = [ "super" ]
[controls.destroySelectedWindow]
keys = [ "d" ]
modifiers = [ "super" ]
[controls.moveWindowToTag]
keys = [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ]
modifiers = [ "super", "shift" ]
[controls.goToTag]
keys = [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ]
modifiers = [ "super" ]
[controls.goToPreviousTag]
keys = [ "w" ]
modifiers = [ "super" ]
[controls.toggleTagView]
keys = [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ]
modifiers = [ "super", "control" ]
[controls.toggleWindowTag]
keys = [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ]
modifiers = [ "super", "shift", "control" ]
[controls.focusPreviousMonitor]
keys = [ "comma" ]
modifiers = [ "super" ]
[controls.focusNextMonitor]
keys = [ "period" ]
modifiers = [ "super" ]
[controls.moveWindowToPreviousMonitor]
keys = [ "comma" ]
modifiers = [ "super", "shift" ]
[controls.moveWindowToNextMonitor]
keys = [ "period" ]
modifiers = [ "super", "shift" ]
[controls.increaseMasterCount]
keys = [ "z" ]
modifiers = [ "super" ]
[controls.decreaseMasterCount]
keys = [ "x" ]
modifiers = [ "super" ]
[controls.toggleFloating]
keys = [ "space" ]
modifiers = [ "super" ]
[controls.jumpToUrgentWindow]
keys = [ "u" ]
modifiers = [ "super" ]
And if you try launching nm-applet from a terminal, does it launch and is there any output?
There is no output, as if it initiated correctly. It appears normally on htop and in other desktops.
It is just not showing in the panel. The date script has the following content:
#!/bin/bash
get_volume() {
vol="$(pamixer --get-volume-human)"
if [[ "$vol" == "muted" ]]; then
printf "🔇 %s" "$vol"
else
printf "🔊 %s" "$vol"
fi
}
while true; do
DATE="$(date '+%a %d.%m.%Y')"
TIME="$(date '+%HH:%MM')"
# LAYOUT=" $(xkblayout-state print %s)"
BATTERY_INFO="$(upower -i /org/freedesktop/UPower/devices/DisplayDevice)"
BATTERY_STATE="$(echo "$BATTERY_INFO" | grep state | awk '{ print $2; }')"
BATTERY_LEVEL="$(echo "$BATTERY_INFO" | grep percentage | awk '{ print $2; }')"
xsetroot -name " $TIME | $DATE | $(get_volume) | $BATTERY_STATE ($BATTERY_LEVEL)"
sleep 1s
done
On Jan 12 2022, at 10:22 am, Avahe Kellenberger @.***> wrote:
And if you try launching nm-applet from a terminal, does it launch and is there any output? — Reply to this email directly, view it on GitHub (https://github.com/avahe-kellenberger/nimdow/issues/192#issuecomment-1011155630), or unsubscribe (https://github.com/notifications/unsubscribe-auth/ACNLSLUUIOB65UZ2QKJCHWDUVWMDJANCNFSM5LWVN5WA). Triage notifications on the go with GitHub Mobile for iOS (https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or Android (https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub). You are receiving this because you authored the thread.
Can you try only having nm-applet in your autostart script?
If that doesn't work, I'll publish a new release for you to try out.
Going to close this for now unless I hear back about it still not working; it's working locally for me.
If you're able, try compiling the most recent commit if you're having issues
Sorry for coming back to this so late. This has been corrected in one of the updates!
~However now the loop for time, date, and battery status is not working. Should I open a new issue? Can this be related to my nvidia driver?~
~Edit I had more time to go into this, the top bar mostly works as expected with the Nvidia driver on. However, the bash script for time and date is not being updated anymore. I am not sure what changed in my system. The toml file is still the same as top comment, the date.sh file is still the same as one of the comments above.~
Everything is working correctly, in my distro libboost seems not to be working, which made the date.sh fail as the volume was also being set in the same script. Thank you very much for this software.
Describe the bug Ok, long user of this software. Many thanks for this. I don't update too often as it works as intended. In last update, it stopped showing nm-applet at the bar.
To Reproduce
Expected behavior That sweet network indication at the top does not show anymore :(