You are not logged in.
Taters wrote:Working on a new terminal color scheme.
http://www.upload3r.com/serve/151109/1258332155.png
I'm going to replace the fugly dark-violet. The greens also need a bit of work...
What calendar/todo program is that?
It's calcurse.
Offline
Working on a new terminal color scheme.
http://www.upload3r.com/serve/151109/1258332155.png
I'm going to replace the fugly dark-violet. The greens also need a bit of work...
It's really beautiful!
And +2 for the Octopus Project music
arst
Offline
http://th05.deviantart.net/fs50/300W/i/ … obar10.png
Xmonad
Didn't really like my last screenie much. So giving this a try.
I really like it.
Arch i686 User
xmonad :: xmobar :: urxvt :: vim
Offline
http://th05.deviantart.net/fs50/300W/i/ … obar10.png
Xmonad
Didn't really like my last screenie much. So giving this a try.
Xmonad seems to have the most consistently beautiful screenshots (this certainly being one of the best).
You have convinced me to give it a try again, sometime when I have the time to configure it to my liking.
Last edited by CalcAndCoffee (2009-11-16 06:51:36)
Offline
Offline
Working on a new terminal color scheme.
http://www.upload3r.com/serve/151109/1258332155.png
I'm going to replace the fugly dark-violet. The greens also need a bit of work...
Xdefaults with colours.. NOOOWWWW.
Offline
kick52 wrote:This looks gorgeous!
I've never used a tiling WM before, but this screenshot makes me really want to try one. I always admire those ones who are able to set up their Awesome WMs, Xmonads, dwms and so on, and I'm still thinking whether to try dwm. If you don't mind though, would you be so kind and share some details of your configuration? Perhaps I can get familiar with Xmonad by looking at your configuration. If you don't mind--I don't want to mimic you.
Sure, will do so when I get home. Anything in particular or the whole thing?
Offline
http://th05.deviantart.net/fs50/300W/i/ … obar10.png
Xmonad
Didn't really like my last screenie much. So giving this a try.
you have a very beautiful desktop
could you please share your Xdefaults, xmonad.hs and ncmpcpp / calcurse configs ?
Offline
@kick52
Thanks for you response! I guess Xmonad has a global configuration file such as Awesome and dwm--it would be nice if I could take a look on it. In addition, what exactly are those colors in the bottom left corner? I've seen them on many screenshots so far, and I suppose they are the terminal colors, though I'm not sure because I never got familiar with them on my own. What exactly is done to get those colors?
Offline
@kick52
Thanks for you response! I guess Xmonad has a global configuration file such as Awesome and dwm--it would be nice if I could take a look on it. In addition, what exactly are those colors in the bottom left corner? I've seen them on many screenshots so far, and I suppose they are the terminal colors, though I'm not sure because I never got familiar with them on my own. What exactly is done to get those colors?
The colors are just a script showing off your terminal colors.
Offline
@kick52
Thanks for you response! I guess Xmonad has a global configuration file such as Awesome and dwm--it would be nice if I could take a look on it. In addition, what exactly are those colors in the bottom left corner? I've seen them on many screenshots so far, and I suppose they are the terminal colors, though I'm not sure because I never got familiar with them on my own. What exactly is done to get those colors?
It's a bit messy, but here's my Xmonad.hs. It allows me to have dzen running on the left, providing me Xmonad status. (The one on the right is a seperate dzen, I don't think there's a way to have one using two pipes.)
import XMonad
import XMonad.Layout.ResizableTile
import XMonad.Layout.LayoutHints
import XMonad.Layout.NoBorders
import XMonad.Layout.PerWorkspace
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.DynamicLog
import XMonad.Util.EZConfig
import XMonad.Util.Run
myLayoutHook = layoutHints . avoidStruts . smartBorders $ onWorkspace "main" ( Tall 2 (3/100) (1/2) ||| Full ) $
onWorkspace "www" ( Full ||| Tall 1 (3/100) (1/2) ) $
( Tall 1 (3/100) (1/3) ||| Full)
myDzenBar = "dzen2 -p -w 226 -ta l -fn -artwiz-lime-*-*-*-*-10-*-*-*-*-*-*-* -bg \"#1A1A19\" -fg \"#666666\""
myLogHook myDzenLogger = dynamicLogWithPP $ defaultPP { ppOutput = hPutStrLn myDzenLogger
, ppHidden = const ""
, ppSep = ""
, ppCurrent = dzenColor "#AA5c10" "" . wrap " " ""
, ppTitle = dzenColor "#444444" "" . shorten 40
, ppLayout = dzenColor "#a7a15e" "" .
(\x -> case x of
"Hinted Tall" -> "-"
"Hinted Full" -> "+") }
main = do
dzenPipe <- spawnPipe myDzenBar
xmonad $ defaultConfig
{ modMask = mod4Mask
, workspaces = ["main", "www", "mpd", "etc"]
, layoutHook = myLayoutHook
, logHook = myLogHook dzenPipe
, normalBorderColor = "#191919"
, focusedBorderColor = "#252525"
, borderWidth = 2
, terminal = "urxvt"
}
`additionalKeys`
[ ((mod4Mask, xK_a), sendMessage MirrorShrink)
, ((mod4Mask, xK_z), sendMessage MirrorExpand)
, ((mod4Mask, xK_r), spawn "dmenu_run")
]
The colour tester script is here: (I have no clue why it is so bloody hard to find on the net, it took me AGES..)
#!/bin/bash
#
T='gYw' # The test text
echo -e "\n 40m 41m 42m 43m\
44m 45m 46m 47m";
for FGs in ' m' ' 1m' ' 30m' '1;30m' ' 31m' '1;31m' ' 32m' \
'1;32m' ' 33m' '1;33m' ' 34m' '1;34m' ' 35m' '1;35m' \
' 36m' '1;36m' ' 37m' '1;37m';
do FG=${FGs// /}
echo -en " $FGs \033[$FG $T "
for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
do echo -en "$EINS \033[$FG\033[$BG $T \033[0m";
done
echo;
done
That's the main configuration.. Anything else?
Offline
could you please share your Xdefaults, xmonad.hs and ncmpcpp / calcurse configs ?
Certainly
Only thing I've changed with calcusrse is the color, which can be done in the program.
Xdefaults
!black
*color0: #000000
*color8: #505050
!red
*color1: #D81860
*color9: #F00060
!green
*color2: #B7CE42
*color10: #BDE077
!yellow
*color3: #ffc62c
*color11: #ffef63
!blue
*color4: #1b669f
*color12: #65a7da
!magenta
*color5: #a0c2de
*color13: #c9dee8
!cyan
*color6: #4db9d7
*color14: #77d7e7
!white
*color7: #b0b0b0
*color15: #e0e0e0
xmonad.hs (it's a little messy!)
-------------------- imports --------------------
-- necessary
import XMonad
import qualified XMonad.StackSet as W
import qualified Data.Map as M
import System.Exit
import Graphics.X11.Xlib
import Graphics.X11.ExtraTypes.XF86
import IO (Handle, hPutStrLn)
-- utils
import XMonad.Util.Run (spawnPipe)
import XMonad.Util.EZConfig
import XMonad.Util.Scratchpad
import XMonad.Util.Font
import XMonad.Util.XSelection
import XMonad.Util.WorkspaceCompare
import XMonad.Util.WindowProperties
-- actions
import XMonad.Actions.NoBorders
import XMonad.Actions.SwapWorkspaces
-- hooks
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.XPropManage
import XMonad.Hooks.UrgencyHook
import XMonad.Hooks.EwmhDesktops
import XMonad.Hooks.FadeInactive
-- Dialog and menu hooks
import Graphics.X11.Xlib.Extras
import Foreign.C.Types (CLong)
-- layouts
import XMonad.Layout.NoBorders
import XMonad.Layout.LayoutModifier
import XMonad.Layout.LayoutHints
import XMonad.Layout.ToggleLayouts
import XMonad.Layout.TwoPane
import XMonad.Layout.Tabbed
import XMonad.Layout.ResizableTile
import XMonad.Layout.Gaps
import XMonad.Layout.Named
import XMonad.Layout.PerWorkspace
import XMonad.Layout.IM
import XMonad.Layout.Grid
import XMonad.Layout.Spacing
import XMonad.Layout.Spiral
import XMonad.Layout.Tabbed
import Data.Ratio((%))
----------------------------------------------------------------
main = do
h <- spawnPipe "xmobar ~/.xmonad/xmobarrc"
xmonad $ defaultConfig
{ workspaces = [" main ", " www ", " code ", " misc "]
, modMask = mod1Mask
, borderWidth = 1
, normalBorderColor = "#111111"
, focusedBorderColor = "#a0c2de"
, terminal = "urxvt"
, keys = keys'
, logHook = logHook' h >> (fadeLogHook)
, layoutHook = layoutHook'
, manageHook = manageHook'
, startupHook = myStartupHook'
}
--------------------- Log Hooks --------------------------------
logHook' :: Handle -> X ()
logHook' h = dynamicLogWithPP $ customPP { ppOutput = hPutStrLn h }
customPP :: PP
customPP = defaultPP { ppCurrent = xmobarColor "#000000" "#4db9d7" . wrap "" ""
, ppTitle = shorten 80
, ppSep = "<fc=#4db9d7> | </fc>"
, ppHiddenNoWindows = xmobarColor "#777777" ""
, ppUrgent = xmobarColor "#AFAFAF" "#333333" . wrap "!" ""
}
fadeLogHook :: X ()
fadeLogHook = fadeInactiveLogHook fadeAmount
where fadeAmount = 0.9
------------------- Startup Hooks ------------------------------
-- By default do nothing.
myStartupHook' = do
-- spawn "xsetroot -cursor_name left_ptr"
-- spawn "nitrogen --restore"
-- spawn "/home/anomaly/.xmonad/autostart.sh"
return ()
--------------------- Layout hooks ------------------------------
layoutHook' = customLayout
--customLayout = onWorkspace "www" simpleTabbed $ avoidStrutsOn [u] (spiral (6/7) ||| spaced ||| smartBorders tiled ||| smartBorders (Mirror tiled) ||| noBorders Full) ||| Grid
customLayout = avoidStrutsOn [u] (smartBorders tiled ||| smartBorders (Mirror tiled) ||| spiral (6/7) ||| spaced ||| noBorders Full) ||| Grid ||| simpleTabbed
where
tiled = named "Tiled" $ ResizableTall 1 (2/100) (1/2) []
spaced = named "Spacing" $ spacing 6 $ Tall 1 (3/100) (1/2)
-- im = named "InstantMessenger" $ withIM (12/50) (Role "buddy_list") Grid
-- [[old (made gap for bottom)
-- customLayout = gaps [(D,16)] $ avoidStruts $ onWorkspace "im" im $ smartBorders tiled ||| smartBorders (Mirror tiled) ||| im ||| noBorders Full ||| Grid
-- ]]end
--------------- Dialog and menu hooks -------------------------------
getProp :: Atom -> Window -> X (Maybe [CLong])
getProp a w = withDisplay $ \dpy -> io $ getWindowProperty32 dpy a w
checkAtom name value = ask >>= \w -> liftX $ do
a <- getAtom name
val <- getAtom value
mbr <- getProp a w
case mbr of
Just [r] -> return $ elem (fromIntegral r) [val]
_ -> return False
checkDialog = checkAtom "_NET_WM_WINDOW_TYPE" "_NET_WM_WINDOW_TYPE_DIALOG"
checkMenu = checkAtom "_NET_WM_WINDOW_TYPE" "_NET_WM_WINDOW_TYPE_MENU"
manageMenus = checkMenu --> doFloat
manageDialogs = checkDialog --> doFloat
----------------------- Manage Hooks ---------------------------------
myManageHook :: ManageHook
myManageHook = composeAll . concat $
[ [ className =? c --> doFloat | c <- myFloats ]
, [ title =? t --> doFloat | t <- myOtherFloats ]
, [ resource =? r --> doIgnore | r <- myIgnores ]
-- , [ (className =? "URxvt" <&&> title =? "urxvt") --> doF (W.shift "1:main")]
, [ className =? "Shiretoko" --> doF (W.shift "www") ]
, [ className =? "Firefox" --> doF (W.shift "www") ]
-- , [ className =? "Gimp" --> doF (W.shift "etc") ]
-- , [ className =? "Gvim" --> doF (W.shift "code") ]
-- , [ className =? "OpenOffice.org 3.0" --> doF (W.shift "doc") ]
-- , [ className =? "Abiword" --> doF (W.shift "doc") ]
, [ className =? "Pidgin" --> doF (W.shift "im") ]
]
where
myIgnores = ["stalonetray"]
myFloats = []
myOtherFloats = ["alsamixer", "Настройки Firefox", "Загрузки", "Дополнения", "Clear Private Data", "Downloads", "urxvt-float", "galculator"]
manageHook' :: ManageHook
manageHook' = manageHook defaultConfig <+> manageDocks <+> manageMenus <+> manageDialogs <+> myManageHook
-- }}}
-------------------------------------------------------------------------------
-- {{{ Keys/Button bindings
keys' :: XConfig Layout -> M.Map (KeyMask, KeySym) (X ())
keys' conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
-- launching and killing programs
[ ((modMask, xK_Return ), spawn $ XMonad.terminal conf)
, ((modMask .|. shiftMask, xK_Return ), spawn "urxvt -pe tabbed")
, ((modMask, xK_p ), spawn "dmenu_run -fn \"-*-terminus-medium-r-normal-*-12-*-*-*-*-*-*-*\" -nb \"#111111\" -nf \"#c9dee8\" -sb \"#cccccc\" -sf \"#111111\"")
, ((modMask .|. shiftMask, xK_f ), spawn "firefox")
, ((modMask .|. shiftMask, xK_t ), spawn "thunar")
, ((modMask .|. shiftMask, xK_c ), kill)
-- layouts
, ((modMask, xK_space ), sendMessage NextLayout)
, ((modMask .|. shiftMask, xK_space ), setLayout $ XMonad.layoutHook conf)
, ((modMask, xK_b ), sendMessage ToggleStruts)
-- floating layer stuff
, ((modMask, xK_t ), withFocused $ windows . W.sink)
-- refresh
, ((modMask, xK_n ), refresh)
, ((modMask .|. shiftMask, xK_w ), withFocused toggleBorder)
-- focus
, ((modMask, xK_Tab ), windows W.focusDown)
, ((modMask, xK_j ), windows W.focusDown)
, ((modMask, xK_k ), windows W.focusUp)
, ((modMask, xK_m ), windows W.focusMaster)
-- swapping
, ((modMask .|. shiftMask, xK_m ), windows W.swapMaster)
, ((modMask .|. shiftMask, xK_j ), windows W.swapDown )
, ((modMask .|. shiftMask, xK_k ), windows W.swapUp )
-- increase or decrease number of windows in the master area
, ((modMask, xK_comma ), sendMessage (IncMasterN 1))
, ((modMask, xK_period ), sendMessage (IncMasterN (-1)))
-- resizing
, ((modMask, xK_h ), sendMessage Shrink)
, ((modMask, xK_l ), sendMessage Expand)
, ((modMask .|. shiftMask, xK_h ), sendMessage MirrorShrink)
, ((modMask .|. shiftMask, xK_l ), sendMessage MirrorExpand)
-- mpd controls
, ((modMask .|. controlMask, xK_h ), spawn "mpc prev")
, ((modMask .|. controlMask, xK_j ), spawn "mpc stop")
, ((modMask .|. controlMask, xK_k ), spawn "mpc toggle")
, ((modMask .|. controlMask, xK_l ), spawn "mpc next")
, ((modMask .|. controlMask, xK_y ), spawn "mpc seek -2%")
, ((modMask .|. controlMask, xK_u ), spawn "mpc volume -4")
, ((modMask .|. controlMask, xK_i ), spawn "mpc volume +4")
, ((modMask .|. controlMask, xK_o ), spawn "mpc seek +2%")
-- mpd controls via keyboard media buttons
-- set according to xmodmap -pk
--, ((0, 0x1008ff12), spawn "amixer set Master toggle")
--, ((0, xF86XK_AudioMute), spawn "amixer set Master toggle")
--, ((0, xF86XK_AudioRaiseVolume), spawn "mpc volume +4")
--, ((0, xF86XK_AudioLowerVolume), spawn "mpc volume -4")
, ((0, xF86XK_AudioMute), spawn "/home/anomaly/bin/volcontrol.rb -m")
, ((0, xF86XK_AudioRaiseVolume), spawn "/home/anomaly/bin/volcontrol.rb -u 4")
, ((0, xF86XK_AudioLowerVolume), spawn "/home/anomaly/bin/volcontrol.rb -d 4")
, ((0, xF86XK_AudioPlay), spawn "mpc toggle")
, ((0, xF86XK_AudioStop), spawn "mpc stop")
, ((0, xF86XK_AudioPrev), spawn "mpc prev")
, ((0, xF86XK_AudioNext), spawn "mpc next")
-- launching apps via media buttons
, ((0, 0x1008ff10), spawn "slock")
-- quit, or restart
, ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess))
, ((modMask , xK_q ), restart "xmonad" True)
]
++
-- mod-[1..9] %! Switch to workspace N
-- mod-shift-[1..9] %! Move client to workspace N
[((m .|. modMask, k), windows $ f i)
| (i, k) <- zip (XMonad.workspaces conf) [xK_F1 .. xK_F9]
, (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]]
-- ++
-- [((modMask .|. controlMask, k), windows $ swapWithCurrent i)
-- | (i, k) <- zip workspaces [xK_1 .. xK_4]]
-- }}}
ncmpcpp
##### connection settings #####
#
## set it in order to make tag editor and renaming files work properly
#
mpd_host = "localhost"
#
mpd_port = "6600"
#
mpd_music_dir = "/home/anomaly/Music"
#
#mpd_connection_timeout = "5"
#
mpd_crossfade_time = "5"
#
##### delays #####
#
## delay after playlist highlighting will be disabled (0 = don't disable)
#
playlist_disable_highlight_delay = "1"
#
## defines how long various messages are supposed to be visible
#
message_delay_time = "4"
#
##### song format #####
##
## for song format you can use:
##
## %l - length
## %f - short filename
## %F - full filename
## %a - artist
## %t - title
## %b - album
## %y - year
## %n - track number
## %g - genre
## %c - composer
## %p - performer
## %d - disc
## %C - comment
## %r - begin right align
##
## you can also put them in { } and then it will be displayed
## only if all requested values are available and/or define alternate
## value with { }|{ } eg. {%a - %t}|{%f}
##
## text can also have different color than the main window has,
## eg. if you want length to be green, write $3%l$9
##
## available values:
##
## - 0 - default window color
## - 1 - black
## - 2 - red
## - 3 - green
## - 4 - yellow
## - 5 - blue
## - 6 - magenta
## - 7 - cyan
## - 8 - white
## - 9 - end of current color
##
## Note: colors can be nested.
##
#
song_list_format = "{%a - }{$5%t$9}|{$8%f$9}%r{$3(%l)$9}"
#
#song_library_format = "{%n - }{%t}|{%f}"
#
#media_library_album_format = "{(%y) }%b"
#
#tag_editor_album_format = "{(%y) }%b"
#
#browser_playlist_prefix = "$2playlist$9 "
#
#selected_item_prefix = "$6"
#
#selected_item_suffix = "$9"
#
## colors are not supported for below veriables
#
song_status_format = "{%a - }{%t}|{%f}"
#
#song_window_title_format = "{%a - }{%t}|{%f}"
#
##### columns settings #####
##
## syntax of song columns list format is "column column etc."
##
## - syntax for each column is:
##
## (width of column in %)[column's color]{displayed tag}
##
## - color is optional (if you want the default one, type [])
##
#
song_columns_list_format = "(7)[magenta]{l} (30)[green]{a} (40)[white]{t} (40)[cyan]{b}"
#
##### various settings #####
#
playlist_display_mode = "columns" (classic/columns)
#
incremental_seeking = "yes"
#
#seek_time = "1"
#
autocenter_mode = "yes"
#
#repeat_one_mode = "no"
#
#default_place_to_search_in = "database" (database/playlist)
#
#media_library_left_column = "a" (possible values: a,y,g,c,p, legend above)
#
#default_find_mode = "wrapped" (wrapped/normal)
#
#default_space_mode = "add" (add/select)
#
#default_tag_editor_left_col = "albums" (albums/dirs)
#
#default_tag_editor_pattern = "%n - %t"
#
header_visibility = "yes"
#
#statusbar_visibility = "yes"
#
fancy_scrolling = "yes"
#
#follow_now_playing_lyrics = "no"
#
#ncmpc_like_songs_adding = "no" (enabled - add/remove, disabled - always add)
#
#display_screens_numbers_on_start = "yes"
#
#clock_display_seconds = "no"
#
enable_window_title = "yes"
#
##### colors definitions #####
#
colors_enabled = "yes"
#
#empty_tag_color = "cyan"
#
#header_window_color = "default"
#
#volume_color = "default"
#
#state_line_color = "default"
#
#state_flags_color = "default"
#
main_window_color = "white"
#
color1 = "white"
#
color2 = "red"
#
main_window_highlight_color = "cyan"
#
progressbar_color = "default"
#
statusbar_color = "default"
#
active_column_color = "cyan"
#
#window_border_color = "green"
#
#active_window_border = "red"
#
Last edited by dangerousHobo (2009-11-16 17:51:16)
Registered Linux user: #424635
Offline
http://th05.deviantart.net/fs50/300W/i/ … obar10.png
Xmonad
Didn't really like my last screenie much. So giving this a try.
mind sharing the wall too?
check this out
http://www.myspace.com/banditsinthewoods
Offline
Offline
dangerousHobo wrote:http://th05.deviantart.net/fs50/300W/i/ … obar10.png
Xmonad
Didn't really like my last screenie much. So giving this a try.mind sharing the wall too?
Registered Linux user: #424635
Offline
Taters wrote:Working on a new terminal color scheme.
http://www.upload3r.com/serve/151109/1258332155.png
I'm going to replace the fugly dark-violet. The greens also need a bit of work...
Xdefaults with colours.. NOOOWWWW.
Offline
Offline
WM - Openbox
GTK - Clearlooks zenburn
OBtheme - Zenburn
xdefaults - got themon the web, labelled as anrxc's xdefaults
panel is tint2
xdefaults
http://omploader.org/vMnNmbA
Offline
Offline
Offline
Offline