You are not logged in.
Offline
Since I mention logout, is that a standard dwm thing? or did you hack it up yourself? I tend to use the "exit bspwm" sxhdc command or just use a terminal to reboot/shutdown, which is not that elegant. I can also call up the bl-exit dialogue through an sxhdc command but that's not very elegant either.
What is the problem, and what sort of elegance are you looking for?
Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos
Offline
phuturism wrote:Since I mention logout, is that a standard dwm thing? or did you hack it up yourself? I tend to use the "exit bspwm" sxhdc command or just use a terminal to reboot/shutdown, which is not that elegant. I can also call up the bl-exit dialogue through an sxhdc command but that's not very elegant either.
What is the problem, and what sort of elegance are you looking for?
good questions, I should know in advance that one must be specific on the BL forums :-)
Not really a problem, but as I use bspwm when I call the bl-exit dialog, it will default to the appropriate size node for the desktop I'm on, which could be full screen (or half-screen for example), so just looks ugly. I should be able to configure this in bspwm as a floating node of a particular size but haven't looked into this yet.
Elegance as you infer is in the eye of the beholder, but I liked dobbie's minimalist dropdown menu in his screenshot above - kinda looks like drun (rofi) or something.
Offline
I use bspwm when I call the bl-exit dialog, it will default to the appropriate size node for the desktop I'm on, which could be full screen (or half-screen for example), so just looks ugly. I should be able to configure this in bspwm as a floating node of a particular size but haven't looked into this yet.
Yes you can; set a rule in your bspwmrc file:
bspc rule -a WM_CLASS state=floating layer=above
use xprop to find the class name for the bl-exit dialog.
It looks like @Dobbie3 is using a custom dmenu or rofi exit script; those work great with tiling window managers.
Last edited by PackRat (2021-01-01 14:40:59)
You must unlearn what you have learned.
-- yoda
Offline
Dobbie03 wrote:phuturism wrote:Epic - love the logout dialog.
Is that polybar at the top?
Thank you, yes it is polybar. I like the default bar that comes with dwm but it is super limited to styling. Polybar is so much more flexible.
Yes, I'm using polybar with bspwm now. Harder to configure for a non-dev like me but I can see its power and adaptability.
Since I mention logout, is that a standard dwm thing? or did you hack it up yourself? I tend to use the "exit bspwm" sxhdc command or just use a terminal to reboot/shutdown, which is not that elegant. I can also call up the bl-exit dialogue through an sxhdc command but that's not very elegant either.
I'm using a patched version of dmenu with a logout script.
#!/bin/sh
# A dmenu wrapper script for system functions.
# For non-systemd init systems.
case "$(readlink -f /sbin/init)" in
*runit*) hib="sudo -A zzz" ;;
*openrc*) reb="sudo -A openrc-shutdown -r"; shut="sudo -A openrc-shutdown -p" ;;
esac
cmds="\
lock slock
logout kill -TERM $(pgrep -u $USER "\bdwm$")
reboot systemctl reboot
shutdown systemctl poweroff
refresh dwm kill -HUP $(pgrep -u $USER "\bdwm$")"
choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu)" || exit 1
`echo "$cmds" | grep "^$choice " | cut -d ' ' -f2-`
One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/
Dobbie's Suckless
Offline
Not really a problem....
Ah, OK, it's about design.
For a moment I thought you were refering to something called "Gracefully Close the Session", then I got confused and had to ask.
Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos
Offline
phuturism wrote:Not really a problem....
Ah, OK, it's about design.
For a moment I thought you were refering to something called "Gracefully Close the Session", then I got confused and had to ask.
No problem,
Offline
phuturism wrote:Dobbie03 wrote:Thank you, yes it is polybar. I like the default bar that comes with dwm but it is super limited to styling. Polybar is so much more flexible.
Yes, I'm using polybar with bspwm now. Harder to configure for a non-dev like me but I can see its power and adaptability.
Since I mention logout, is that a standard dwm thing? or did you hack it up yourself? I tend to use the "exit bspwm" sxhdc command or just use a terminal to reboot/shutdown, which is not that elegant. I can also call up the bl-exit dialogue through an sxhdc command but that's not very elegant either.
I'm using a patched version of dmenu with a logout script.
#!/bin/sh # A dmenu wrapper script for system functions. # For non-systemd init systems. case "$(readlink -f /sbin/init)" in *runit*) hib="sudo -A zzz" ;; *openrc*) reb="sudo -A openrc-shutdown -r"; shut="sudo -A openrc-shutdown -p" ;; esac cmds="\ lock slock logout kill -TERM $(pgrep -u $USER "\bdwm$") reboot systemctl reboot shutdown systemctl poweroff refresh dwm kill -HUP $(pgrep -u $USER "\bdwm$")" choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu)" || exit 1 `echo "$cmds" | grep "^$choice " | cut -d ' ' -f2-`
Thanks, will take a look at this Dobbie
Offline
Excellent scrots, y'all. These are seriously awesome!
Offline
@tamberoo, welcome! Follow us in the latest Monthly Scrot thread...
Offline
On the build again..
One, two, a one, two, three, four
On the build again
Just can't wait to get on the build again
The life I love is making music with my friends
And I can't wait to get on the build again
On the build again
Goin' places that I've never been
Seein' things that I may never see again
And I can't wait to get on the build again
On the build again
Like a band of gypsies we go down the highway
We're the best of friends
Insisting that the world keep turning our way
And our way
Is on the build again
I just can't wait to get on the build again
The life I love is makin' music with my friends
And I can't wait to get on the build again
On the build again
Like a band of gypsies we go down…
The worst day of fishing is better than the best day at work.
Offline