You are not logged in.
Have anybody managed to get dropbox status icons to display through dzen? When I use i3 window manager, I don't get the status icons when running dropboxd (I don't really rely on the icons alone but they are nice to have).
I've looked at the dzen and dropbox sites and looked through a few dzen threads but I have not found anything on this (I apologize if I've missed anything obvious). Dropbox uses .png images but that can be changed to xbm.
Offline
Have anybody managed to get dropbox status icons to display through dzen? When I use i3 window manager, I don't get the status icons when running dropboxd (I don't really rely on the icons alone but they are nice to have).
I've looked at the dzen and dropbox sites and looked through a few dzen threads but I have not found anything on this (I apologize if I've missed anything obvious). Dropbox uses .png images but that can be changed to xbm.
The dropbox-cli package in AUR is a command line interface to dropbox. You can make use of it!
Offline
Today I tried dmplex to pipe the output of a script and the output of conky-cli to dzen2. It works so far, but very, very slow and conky only appears, when I hit Ctrl+C. Is this normal? If yes, is there another way to do this?
What I did:
mkfifo .dmpipe
tail -f .dmpipe | dmplex | dzen2 -p -ta l
./myscript > .dmpipe #the script writes the number as well
echo "2" | conky > .dmpipe
When I pipe them seperately and directly to dzen, it works perfect, but of course only one of each...
Offline
Does anybody know how can I get the workspace switcher like in awesome in xmonad?
Offline
nixfag: Try this: http://www.arch-ed.dk/wiki/doku.php?id= … workspaces
Offline
Ashren: I've tried that and it didn't work.Here's the config : http://sprunge.us/jOZI?hs
And here's the error:
$ xmonad --recompile
Error detected while loading xmonad configuration file: /home/derp/.xmonad/xmonad.hs
xmonad.hs:7:3: parse error on input `main'
Please check the file for errors.
xmonad: xmessage: executeFile: does not exist (No such file or directory)
Last edited by nixfag (2011-04-16 14:14:05)
Offline
nixfag: You need to install xdotool.
Offline
Ashren: I do have xdotool installed.
Offline
nixfag: Your indentation looks wrong.
Look here: http://www.arch-ed.dk/wiki/doku.php?id=xmonad.hs
and here:
ttp://haskell.org/haskellwiki/Xmonad/Config_archive
Offline
I've used the template config at that page and modified a little bit,here it is http://sprunge.us/WVOZ?hs
I've also added those lines for clickable workspaces.Now how do I run dzen2 so it will show the workspaces?I've tried running 'dzen2' but it doesn't output anything and shows nothing.
I just want a bar that sits on the top,has clickable workspaces,prints the active window title and then shows the system tray.
Offline
Does anyone know if it's possible to wrap the window title (or logTitle) with xdotool tags?
I've recently come back to Xmonad after years of dwm and I miss the ability to kill focused clients by middle-clicking the window title in the statusbar. It seems this would be easy enough, given that it can be done to the workspaces and layouts, but my haskell foo is sadly lacking.
Edit:
Turns out it wasn't that difficult at all...for anyone else interested:
ppTitle = dzenColor "#ffffff" ""
. wrap "^ca(1,xdotool key super+k)^ca(2,xdotool key super+shift+c)"
" ^ca()^ca()" . shorten 20 . dzenEscape
Clicking the left button on the window title will cycle to the next client; clicking the middle button will kill the selected client.
The rest of the config, and a mouse-less xmobar version, can be found at github:
http://github.com/thayerwilliams
Last edited by thayer (2011-05-29 00:15:44)
thayer williams ~ cinderwick.ca
Offline
ppTitle = dzenColor "#ffffff" "" . wrap "^ca(1,xdotool key super+k)^ca(2,xdotool key super+shift+c)" " ^ca()^ca()" . shorten 20
You probably miss ". dzenEscape" (afrer "shorten"): consider the case when <title> contents "^ca(1, ...)".
Offline
You probably miss ". dzenEscape" (afrer "shorten"): consider the case when <title> contents "^ca(1, ...)".
Good catch, thanks! I've updated the snippet.
thayer williams ~ cinderwick.ca
Offline
Little question, there's a way (hack, patch, etc.) to prevent dzen dimming?
Last edited by cyrusza (2011-06-07 13:59:57)
Offline
Little question, there's a way (hack, patch, etc.) to prevent dzen dimming?
Dimming? What exactly is it doing?
thayer williams ~ cinderwick.ca
Offline
cyrusza wrote:Little question, there's a way (hack, patch, etc.) to prevent dzen dimming?
Dimming? What exactly is it doing?
After 8 seconds bar content darkens, like a "power saving" mode.
Offline
thayer wrote:cyrusza wrote:Little question, there's a way (hack, patch, etc.) to prevent dzen dimming?
Dimming? What exactly is it doing?
After 8 seconds bar content darkens, like a "power saving" mode.
I've never heard of that before, but whatever it is I'm fairly certain it isn't dzen causing it; there is no dimming feature in dzen.
thayer williams ~ cinderwick.ca
Offline
cyrusza wrote:thayer wrote:Dimming? What exactly is it doing?
After 8 seconds bar content darkens, like a "power saving" mode.
I've never heard of that before, but whatever it is I'm fairly certain it isn't dzen causing it; there is no dimming feature in dzen.
Strange. I have this behaviour with both WMFS and ScrotWM and i thought it was a default undocumented feature. Maybe the dev has some hints to debug this.
Offline
thayer wrote:cyrusza wrote:After 8 seconds bar content darkens, like a "power saving" mode.
I've never heard of that before, but whatever it is I'm fairly certain it isn't dzen causing it; there is no dimming feature in dzen.
Strange. I have this behaviour with both WMFS and ScrotWM and i thought it was a default undocumented feature. Maybe the dev has some hints to debug this.
Ok, found the culprit, it's the cairo composite manager
Offline
Hi
I have an arch xbm logo that I'd like displayed in dzen
anyone know a good way to go about doing this?
Offline
Hi
I have an arch xbm logo that I'd like displayed in dzen
anyone know a good way to go about doing this?
^i(/path/to/icon.xbm)
Offline
eriksatie wrote:Hi
I have an arch xbm logo that I'd like displayed in dzen
anyone know a good way to go about doing this?
^i(/path/to/icon.xbm)
this is the error I'm getting when I execute that
arch.sh: line 1: syntax error near unexpected token `~/.icons/arch.xbm'
arch.sh: line 1: `^i(~/.icons/arch.xbm)'
Offline
this is the error I'm getting when I execute that
arch.sh: line 1: syntax error near unexpected token `~/.icons/arch.xbm' arch.sh: line 1: `^i(~/.icons/arch.xbm)'
echo 'my shiny icon: ^i(/home/USER/.icons/arch.xbm)' | dzen2 -p
Offline
jOaNbE wrote:Have anybody managed to get dropbox status icons to display through dzen? When I use i3 window manager, I don't get the status icons when running dropboxd (I don't really rely on the icons alone but they are nice to have).
I've looked at the dzen and dropbox sites and looked through a few dzen threads but I have not found anything on this (I apologize if I've missed anything obvious). Dropbox uses .png images but that can be changed to xbm.
The dropbox-cli package in AUR is a command line interface to dropbox. You can make use of it!
I have tried doing this, and was mostly successful. Here is my code. Note that I am a beginner in shell scripting, so the following might contain errors I don't know yet.
#!/bin/sh
DZEN_ICONPATH="${HOME}/.dzen"
BOOL=0
while true; do
dropbox running
DROPBOXRUNNING=$?
if [[ $DROPBOXRUNNING -eq 1 ]]; then
DROPBOXSTATUS=` dropbox status`
if [[ $DROPBOXSTATUS = "Idle" ]]; then
DROPBOXLINE="^i(${DZEN_ICONPATH}/dropbox-idle.xpm)"
elif [[ $DROPBOXSTATUS = "Starting..." ]]; then
DROPBOXLINE="^i(${DZEN_ICONPATH}/dropbox-logo.xpm)"
else
if [[ $BOOL -eq 0 ]]; then
DROPBOXLINE="^i(${DZEN_ICONPATH}/dropbox-busy.xpm)"
else
DROPBOXLINE="^i(${DZEN_ICONPATH}/dropbox-busy2.xpm)"
fi
BOOL=~$BOOL
fi
else
DROPBOXLINE="^ca(1,dropbox start)^i(${DZEN_ICONPATH}/dropbox-x.xpm)^ca()"
fi
echo "$DROPBOXLINE"
sleep 1s
done | dzen2
When dropbox is not running, clicking on the icon starts it. I am using the dropbox-cli and dzen2-xft-xpm-xinerama-svn packages from AUR.
I am trying to add more stuff to this. Lets see how it goes.
Offline
Moved to newbie section.
Last edited by Jabrick (2011-10-22 22:18:20)
Offline