GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mastergreg/dzen2_python: xmonad bar written in python using dzen2

BranchesTags
Open more actions menu

Latest commit

 

History

106 Commits
106 Commits

Folders and files

NameName
Last commit message
Last commit date
dzen_python
dzen_python
 
 
icons/dzen2
icons/dzen2
 
 
IMPORTANT
IMPORTANT
 
 
README
README
 
 
TODO
TODO
 
 
dzen_pythonrc
dzen_pythonrc
 
 
screenshot.png
screenshot.png
 
 
setup.py
setup.py
 
 

Repository files navigation

DEPENDS ON

dzen2
python
python-psutil
python-mpd
hddtemp

INSTALL


add the executable in your PATH [personally i use ~/bin with a link to dzen_python]

copy the sample config file dzen_pythonrc to ~/.dzen_pythonrc
add this to your ~/.xmonad/xmonad.hs



pythonDzenPP :: PP
pythonDzenPP = defaultPP {
  ppCurrent  = dzenColor "#000001" "#000010" . pad
    , ppVisible  = dzenColor "#000002" "#000020" . pad
    , ppHidden   = dzenColor "#000003" "#000030" . pad
    , ppHiddenNoWindows = dzenColor "#000004" "#000040"
    , ppUrgent   = dzenColor "#000005" "#000050"
    , ppWsSep    = ""
    , ppSep      = ""
    , ppLayout   = dzenColor "#000007" "#000070" 
    , ppTitle    = dzenColor "#000006" "#000060". shorten 20
}




and here is a sample of my main function 

main = do
   xmproc <- spawnPipe "killall dzen2; dzen_python"
   xmonad $ withUrgencyHook  NoUrgencyHook defaults {
       logHook   = dynamicLogWithPP $ pythonDzenPP {
           ppOutput = hPutStrLn xmproc
         }
 }



extract the dzen2 tarball to your prefered icons location (sth like /home/YOURNAME/.icons/dzen2) and edit the ICON_PATH varible in the config file (~/.dzen_pythonrc)

About

xmonad bar written in python using dzen2

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.