Author Topic: The Main vsido forum XMonad thread  (Read 2501 times)

Digit

  • Techno Hippie
  • Posts: 295
  • savant (alegedly), polymath (wannabe)
    • View Profile
    • wastedartist.com
The Main vsido forum XMonad thread
« on: September 14, 2013, 08:14:16 PM »
this is the main xmonad thread at vsido.org


http://xmonad.org

as requested, here's a screenshot of it. 


valroadie

  • Posts: 53
    • View Profile
Re: The Main vsido forum XMonad thread
« Reply #1 on: September 15, 2013, 01:38:30 AM »
Come on we can do better than that! :P



Xmonad + xmobar

Digit

  • Techno Hippie
  • Posts: 295
  • savant (alegedly), polymath (wannabe)
    • View Profile
    • wastedartist.com
Re: The Main vsido forum XMonad thread
« Reply #2 on: September 24, 2013, 11:13:10 AM »
we can indeed.  i just wanted to show off what a plain xmonad looks like on start up, with no background.   ;)

a lot of people reach that point, dont realise it's working, and give up. lol.

valroadie

  • Posts: 53
    • View Profile
Re: The Main vsido forum XMonad thread
« Reply #3 on: September 25, 2013, 02:18:08 AM »
Just thought I would throw my config in here as well as another screenie to what it looks like.



And here are the configs for xmonad and xmobar! It is a fairly plain WM unless you REALLY get in depth with the customization.

EDIT: If you like the font in the SS's you will need to DL the Inconsolata font as so: sudo apt-get install fonts-inconsolata

I just want to say, if you like to use as MUCH screen space as you can to produce maximum efficiency, then xmonad is your WM to turn to!
For instance, this is my screen when mildly busy, I am in 5 IRC rooms as well as watching a movie and can compile something too! Not amazing you say? Well here is the thing, it is all on a 13" screen!



Xmonad

Code: [Select]
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
import XMonad.Actions.SpawnOn
 
myManageHook = composeAll
    [ className =? "Gimp"      --> doFloat
    , className =? "Vncviewer" --> doFloat
    ]
 
main = do
    xmproc <- spawnPipe "/usr/bin/xmobar ~/xmobarrc"
    xmonad $ defaultConfig
        { manageHook = manageDocks <+> myManageHook -- make sure to include myManageHook definition from above
                        <+> manageHook defaultConfig
        , layoutHook = avoidStruts  $  layoutHook defaultConfig
        , logHook = dynamicLogWithPP xmobarPP
                        { ppOutput = hPutStrLn xmproc
                        , ppTitle = xmobarColor "#868686" "" . shorten 50
                        }
        , modMask = mod4Mask     -- Rebind Mod to the Windows key
        } `additionalKeys`
        [ ((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock")
        , ((controlMask, xK_Print), spawn "")
        , ((0, xK_Print), spawn "")
        , ((mod4Mask, xK_i), spawn "iceweasel")
        , ((mod4Mask .|. shiftMask, xK_Return), spawn "terminator")
        , ((mod4Mask, xK_w), spawn "xterm -exec weechat")
        , ((mod4Mask, xK_e), spawn "emacs")
        , ((mod4Mask, xK_x), spawn "xchat")
        , ((mod4Mask, xK_c), kill)
        , ((mod4Mask, xK_g), spawn "geany")
        , ((mod4Mask, xK_v), spawn "vlc")
        , ((mod4Mask, xK_0), spawn "scrot")
        , ((mod4Mask, xK_f), spawn "thunar")
        ]

Xmobar

Code: [Select]
Config { font = "xft:inconsolata-9:medium"
       , bgColor = "#000000"
       , fgColor = "#93ADBC"
       , position = TopW R 100
       , lowerOnStart = True
       , commands = [ Run Weather "KMWA" ["-t"," <station>: <tempF>F","-L","60","-H","85","--normal","green","--high","red","--low","lightblue"] 36000
                    , Run Cpu ["-L","3","-H","80","--normal","green","--high","red"] 10
                    , Run Memory ["-t","Mem: <usedratio>%"] 10
                    , Run Swap [] 10
                    , Run Network "wlan0" ["-L","0","-H","300","--normal","green","--high","red"] 10
                    , Run Date "%a %b %_d | %l:%M %p" "date" 10
                    , Run Com "~/.xmonad/get-volume" [] "Sound" 10
                    , Run StdinReader
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "<fc=#695DFF>%StdinReader%</fc> }{ <fc=#00FF22>%cpu%</fc> | <fc=#6200C4>%memory%</fc> | <fc=#F2FF00>%wlan0%</fc> | <fc=#FFFFFF>%KMWA%</fc>  | <fc=#FFFFFF>%date%</fc>"
       }

VastOne

  •      v-ger
  • Posts: 3931
    • View Profile
    • VSIDO Community
Re: The Main vsido forum XMonad thread
« Reply #4 on: September 25, 2013, 04:44:36 PM »
^ Nice one Roadie!
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

valroadie

  • Posts: 53
    • View Profile
Re: The Main vsido forum XMonad thread
« Reply #5 on: September 25, 2013, 07:55:15 PM »
Thanks! Maybe I should include a warning, "WARNING! Not for people too old to read the label on the front of a milk jug!" Haha.

I admit it may be an eye strain for people.

PackRat

  • Posts: 1909
    • View Profile
Re: The Main vsido forum XMonad thread
« Reply #6 on: October 22, 2015, 06:03:45 PM »
Work in progress - xmonad, conky piped to dzen2 for statusbar.



took me most of the morning to get this working because I did not see this little item on the official xmonad download page:

Quote
Notes for Debian/Ubuntu users:

On debian, xmonad is split into three packages, and it might not be obvious what they do.

    xmonad lets you run xmonad in its default configuration.
    libghc-xmonad-dev lets you write a configuration file using core functionality.
    libghc-xmonad-contrib-dev includes all of the contrib modules.

When installing from apt, those additional files show up in the recommended list so I didn't bother installing them. They are required if you want to customize xmonad (and who doesn't do that with their window manager!). Pulls in a bunch of dependencies (haskell mostly).

We'll see how far I get with this.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

PackRat

  • Posts: 1909
    • View Profile
Re: The Main vsido forum XMonad thread
« Reply #7 on: October 29, 2015, 05:51:09 PM »
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo