You are not logged in.
Mark,
this might help you:
┌─[ 13:03 ][ blue:~ ] └─> pacman -Qo $(locate Gtk2.pm) /usr/lib/perl5/vendor_perl/Gtk2.pm is owned by gtk2-perl 1.221-1
I've always wondered --- how do you get a two-line shell prompt like that? I use urxvt.
Offline
Lich wrote:SpeedVin wrote:This statusbar is AWESOME!
Can you post your config?
ThanksAt work atm..I will post when I get home tonight. Want xmonad config too, or just the right part..with the system info?
Thanks.
I want XMonad config too
import XMonad
import System.Exit
import qualified XMonad.StackSet as W
import qualified Data.Map as M
import XMonad.Util.Run
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Layout.NoBorders
import XMonad.Layout.LayoutHints
myBar :: String
myBar = "conky-dzen.sh"
myLauncher :: String
myLauncher = "`dmenu_path | dmenu -fn '-xos4-terminus-medium-r-*-*-12-*-*-*-*-*-*-*' -nb '#323434' -nf '#888888' -sf '#FFFFFF' -sb '#212323'`"
myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
[ ((modMask .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
, ((modMask, xK_p ), spawn myLauncher)
, ((modMask .|. shiftMask, xK_c ), kill)
, ((modMask, xK_space ), sendMessage NextLayout)
, ((modMask .|. shiftMask, xK_space ), setLayout $ XMonad.layoutHook conf)
, ((modMask, xK_n ), refresh)
, ((modMask, xK_Tab ), windows W.focusDown)
, ((modMask, xK_j ), windows W.focusDown)
, ((modMask, xK_k ), windows W.focusUp )
, ((modMask, xK_m ), windows W.focusMaster )
, ((modMask, xK_Return), windows W.swapMaster)
, ((modMask .|. shiftMask, xK_j ), windows W.swapDown )
, ((modMask .|. shiftMask, xK_k ), windows W.swapUp )
, ((modMask, xK_h ), sendMessage Shrink)
, ((modMask, xK_l ), sendMessage Expand)
, ((modMask, xK_t ), withFocused $ windows . W.sink)
, ((modMask , xK_comma ), sendMessage (IncMasterN 1))
, ((modMask , xK_period), sendMessage (IncMasterN (-1)))
, ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess))
, ((modMask , xK_q ), restart "xmonad" True)
, ((modMask .|.shiftMask .|. controlMask , xK_c ), spawn "mousepad ~/.xmonad/xmonad.hs")
, ((modMask , xK_b ), sendMessage ToggleStruts)
]
++
[((m .|. modMask, k), windows $ f i)
| (i, k) <- zip (XMonad.workspaces conf) [xK_1 .. xK_4]
, (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]]
myMouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $
[ ((modMask, button1), (\w -> focus w >> mouseMoveWindow w))
, ((modMask, button2), (\w -> focus w >> windows W.swapMaster))
, ((modMask, button3), (\w -> focus w >> mouseResizeWindow w))
]
myLayouts = tiled ||| Mirror tiled ||| noBorders Full
where
tiled = Tall 1 (2/100) (1/2)
myManageHook = composeAll
[ className =? "MPlayer" --> doFloat
, className =? "Gimp" --> doFloat
, resource =? "desktop_window" --> doIgnore ]
main = do
h <- spawnPipe "dzen2 -w 440 -ta l -fn '-xos4-terminus-medium-r-*-*-12-*-*-*-*-*-*-*' -bg '#323434' -fg '#FFFFFF'"
xmonad $ defaultConfig {
terminal = "urxvt",
focusFollowsMouse = False,
borderWidth = 2,
modMask = mod4Mask,
workspaces = [" 1-Term "," 2-Web "," 3-IM "," 4-Work "],
normalBorderColor = "#323434",
focusedBorderColor = "#656767",
keys = myKeys,
mouseBindings = myMouseBindings,
layoutHook = avoidStruts $ smartBorders $ layoutHints myLayouts,
manageHook = myManageHook,
logHook = dynamicLogWithPP $ defaultPP {
ppCurrent = wrap "^fg(#FFFFFF)^bg(#212323)" "^fg()^bg()"
,ppVisible = wrap "^fg(#FFFFFF)^bg()" "^fg()^bg()"
,ppHidden = wrap "^fg(#C4DF90)^bg()" "^fg()^bg()"
,ppHiddenNoWindows = wrap "^fg(#808080)^bg()" "^fg()^bg()"
,ppUrgent = wrap "^fg(#FF0000)^bg()" "^fg()^bg()"
,ppTitle = wrap " ^fg(#B8DDEA)^bg()" "^fg()^bg()"
,ppLayout = \x -> "^fg(#FFE080)^bg()"
++ case x of
"Tall" -> "Tiled"
"Full" -> "Full"
"Mirror Tall" -> "Tiled Bottom"
_ -> x
++ "^fg()^bg()"
,ppSep = " "
,ppWsSep = ""
,ppOutput = hPutStrLn h
}
}
Nothing fancy here..but it's all I need for now
conky-dzen.sh
#!/bin/sh
FG='#888888'
BG='#323434'
FONT='-*-terminus-medium-r-normal-*-12-*-*-*-*-*-*-*'
conky -c ~/.conkyrc-dzen | dzen2 -e - -w '840' -x 440 -ta r -fg $FG -bg $BG -fn $FONT
And my messy ~/.conkyrc-dzen.
background no
out_to_console yes
out_to_x no
update_interval 1
total_run_times 0
TEXT
^fg(\#B8DDEA)Arch:^fg() ^fg(\#FFE080)${fs_free /home}^fg() / ^fg(\#C4DF90)${fs_size /home}^fg() | ^fg(\#959595)Temp:^fg() ^fg(\#CC896D)${acpitemp}°C^fg() | ^fg(\#959595)Freq:^fg() ^fg(\#B8DDEA)${freq} Mhz^fg() | ^fg(\#959595)Load:^fg() ^fg(\#C4DF90)${cpu}%^fg() | ^fg(\#C18FCB)WiFi:^fg() ^fg(\#C4DF90)${downspeedf wlan0}^fg() / ^fg(\#CC896D)${upspeedf wlan0}^fg() | ^fg(\#FFFFFF)${time %I:%M}^fg() ^fg(\#959595)${time %p} ^fg()
Last edited by Lich (2009-09-15 18:12:05)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
brisbin33 wrote:Mark,
this might help you:
┌─[ 13:03 ][ blue:~ ] └─> pacman -Qo $(locate Gtk2.pm) /usr/lib/perl5/vendor_perl/Gtk2.pm is owned by gtk2-perl 1.221-1
I've always wondered --- how do you get a two-line shell prompt like that? I use urxvt.
You can use \n in the PS1 variable
export PS1="┌─[ \[\e[30;1m\]\u\[\e[0m\] ][ \[\e[33;1m\]\w\[\e[0m\] ]\n└─╼ "
PROOF! ^^
Last edited by Lich (2009-09-15 18:16:46)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
Mark,
this might help you:
┌─[ 13:03 ][ blue:~ ] └─> pacman -Qo $(locate Gtk2.pm) /usr/lib/perl5/vendor_perl/Gtk2.pm is owned by gtk2-perl 1.221-1
That did it. thanx. pacman -Qo $(locate Gtk2.pm) is not working but just installing gtk2-perl is.
Offline
brisbin33 wrote:Mark,
this might help you:
┌─[ 13:03 ][ blue:~ ] └─> pacman -Qo $(locate Gtk2.pm) /usr/lib/perl5/vendor_perl/Gtk2.pm is owned by gtk2-perl 1.221-1
That did it. thanx. pacman -Qo $(locate Gtk2.pm) is not working but just installing gtk2-perl is.
of course. you need gtk2-perl to have the file on your system, you need to run sudo updatedb for locate to find the file, and you need both of these things for the pacman -Qo line to work . i was just showing you (perhaps convolutedly) which package you needed to install to solve your python error. im glad you got the overall intent of my post anyway.
@Simon, Lich is right, it's a simple \n; you can see my full .bashrc in my sig's configs link if you'd like the entire PS1 line.
//github/
Offline
Offline
Customized Awesome config with a mostly zenburn color scheme.
High quality Blade Runner wallpapers are so rare, please share your own.
You need to install an RTFM interface.
Offline
ootput wrote:Hi guys.
Back on Arch.
Same desktop settings, though.
Can you please share your ion configs (especially the one regarding the statusbar, but the look file too). Thanks
Hi Wr4!th,
I've submitted look_ootput_dark.lua to Ion3 darcs repo ages ago, but Tuomov hasn't gotten around to getting darcs to work on Windows yet.
cfg_statusbar.lua, and slightly customised statusd_mcpu.lua and statusd_netmon.lua
Everything else is fairly standard, or easily configured (window layout and kludges)
Let me know if you need anything else
Offline
Lich wrote:ootput wrote:Hi guys.
Back on Arch.
Same desktop settings, though.
Can you please share your ion configs (especially the one regarding the statusbar, but the look file too). Thanks
Hi Wr4!th,
I've submitted look_ootput_dark.lua to Ion3 darcs repo ages ago, but Tuomov hasn't gotten around to getting darcs to work on Windows yet.
cfg_statusbar.lua, and slightly customised statusd_mcpu.lua and statusd_netmon.lua
Everything else is fairly standard, or easily configured (window layout and kludges)
Let me know if you need anything else
Haha yeah your submission was in the package when I installed the Ubuntu ion3 ...thought the name looked familiar...but didn't quite make the connection. Congrats..you're a star . I'm seriouslly having a hard time trying out ion..does it have to have 20 diff configs, and LUA ones at that? . It's the only thing keeping me away from it tbh, cheers for the status bar thingies
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
Ubuntu probably has my older look_ootput, which features a brighter blue. My eyes aren't what they used to be, so I designed this with a much darker blue and grey that would blend into my bluestripe background. The frame title only appears when there is more than one multiplexed object (min_tabs.lua) , so I rarely see the theme in action (eg. with the MC frame) in the tiling layout. I'd always see it in the scratchpad - which was customised to act as a floatwm - though, but I rarely use the scratchpad besides for the occasional Gimp or random GTK app.
Lua is awesome for extending Ion3's capabilities.. there's a pretty nice document on it on the author's site. The syntax is pretty easy to make sense of after a bit of light hacking.
Here's my cfg_user.lua listing of lua scripts used:
dopath("bindsearch")
dopath("cfg_mouse")
dopath("emacs_bindings")
dopath("frame_client_menu")
dopath("histcompl")
dopath("min_tabs")
dopath("ion3_emacs")
dopath("named_scratchpad")
dopath("warp_center")
Offline
http://i31.tinypic.com/2cdixl3_th.png
Customized Awesome config with a mostly zenburn color scheme.
Any chance of the rest of us seeing that config ?
It looks interesting, and although I don't use awesome I'd give it a whirl with that config...
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Ubuntu probably has my older look_ootput, which features a brighter blue. My eyes aren't what they used to be, so I designed this with a much darker blue and grey that would blend into my bluestripe background. The frame title only appears when there is more than one multiplexed object (min_tabs.lua) , so I rarely see the theme in action (eg. with the MC frame) in the tiling layout. I'd always see it in the scratchpad - which was customised to act as a floatwm - though, but I rarely use the scratchpad besides for the occasional Gimp or random GTK app.
Lua is awesome for extending Ion3's capabilities.. there's a pretty nice document on it on the author's site. The syntax is pretty easy to make sense of after a bit of light hacking.
Here's my cfg_user.lua listing of lua scripts used:
dopath("bindsearch") dopath("cfg_mouse") dopath("emacs_bindings") dopath("frame_client_menu") dopath("histcompl") dopath("min_tabs") dopath("ion3_emacs") dopath("named_scratchpad") dopath("warp_center")
On the min_tab thingie is quite nice to have..been wondering about that actually. I'ma give Ion another go
[edit] This might seem dumb but is there an option to restart ion3 (only the wm, not close the open apps) after I change the config? exiting and starting again is quite painful.
Last edited by Lich (2009-09-16 12:27:00)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
Offline
session/restart
where's that?!
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
Oh, not sure if Ubuntu uses menu instead of dialog for F12... but for dialog, sess<tab>/rest<tab> should do it. Haven't seen the menu since ion2, so dunno where the menu entry is placed.
Offline
Oh, not sure if Ubuntu uses menu instead of dialog for F12... but for dialog, sess<tab>/rest<tab> should do it. Haven't seen the menu since ion2, so dunno where the menu entry is placed.
oh F12 works...thanks for that..you got mail btw
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
mechmg93 wrote:http://img36.imageshack.us/img36/559/19771899.th.jpg
- kde 4.3
- custom wallpaper
- glassified plasma themeWow I love your wallpaper, could you share it? thanks
Mikes on AUR
Offline
Arch x86_64 on a Core 2 Duo, 2 GB PC, with Xfce. Pure delight.
GTK theme - Aurora (pacman -S gtk-aurora-engine, commnuity)
Xfwm theme - Axiom, here -> http://xfce-look.org/content/download.p … 98509cb98f (from Xfce-look)
Icon theme - GNOME Alternatives (requires GNOME icon theme, pacman -S gnome-icon-theme), here -> http://art.gnome.org/download/themes/ic … ves.tar.gz (from GNOME Art)
Wallpaper (1280x1024) made by me, here -> http://i31.tinypic.com/33m98wx.jpg
Conky config here -> http://www.filedropper.com/conky
(Attention: modify everything from /home/dima to ~ or whatever you want and make sure that both .conky and .conkycalendar are executable)
Last edited by Iguleder (2009-09-16 13:50:07)
Offline
SpeedVin wrote:Lich wrote:At work atm..I will post when I get home tonight. Want xmonad config too, or just the right part..with the system info?
Thanks.
I want XMonad config tooimport XMonad import System.Exit import qualified XMonad.StackSet as W import qualified Data.Map as M import XMonad.Util.Run import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Layout.NoBorders import XMonad.Layout.LayoutHints myBar :: String myBar = "conky-dzen.sh" myLauncher :: String myLauncher = "`dmenu_path | dmenu -fn '-xos4-terminus-medium-r-*-*-12-*-*-*-*-*-*-*' -nb '#323434' -nf '#888888' -sf '#FFFFFF' -sb '#212323'`" myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $ [ ((modMask .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf) , ((modMask, xK_p ), spawn myLauncher) , ((modMask .|. shiftMask, xK_c ), kill) , ((modMask, xK_space ), sendMessage NextLayout) , ((modMask .|. shiftMask, xK_space ), setLayout $ XMonad.layoutHook conf) , ((modMask, xK_n ), refresh) , ((modMask, xK_Tab ), windows W.focusDown) , ((modMask, xK_j ), windows W.focusDown) , ((modMask, xK_k ), windows W.focusUp ) , ((modMask, xK_m ), windows W.focusMaster ) , ((modMask, xK_Return), windows W.swapMaster) , ((modMask .|. shiftMask, xK_j ), windows W.swapDown ) , ((modMask .|. shiftMask, xK_k ), windows W.swapUp ) , ((modMask, xK_h ), sendMessage Shrink) , ((modMask, xK_l ), sendMessage Expand) , ((modMask, xK_t ), withFocused $ windows . W.sink) , ((modMask , xK_comma ), sendMessage (IncMasterN 1)) , ((modMask , xK_period), sendMessage (IncMasterN (-1))) , ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess)) , ((modMask , xK_q ), restart "xmonad" True) , ((modMask .|.shiftMask .|. controlMask , xK_c ), spawn "mousepad ~/.xmonad/xmonad.hs") , ((modMask , xK_b ), sendMessage ToggleStruts) ] ++ [((m .|. modMask, k), windows $ f i) | (i, k) <- zip (XMonad.workspaces conf) [xK_1 .. xK_4] , (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]] myMouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $ [ ((modMask, button1), (\w -> focus w >> mouseMoveWindow w)) , ((modMask, button2), (\w -> focus w >> windows W.swapMaster)) , ((modMask, button3), (\w -> focus w >> mouseResizeWindow w)) ] myLayouts = tiled ||| Mirror tiled ||| noBorders Full where tiled = Tall 1 (2/100) (1/2) myManageHook = composeAll [ className =? "MPlayer" --> doFloat , className =? "Gimp" --> doFloat , resource =? "desktop_window" --> doIgnore ] main = do h <- spawnPipe "dzen2 -w 440 -ta l -fn '-xos4-terminus-medium-r-*-*-12-*-*-*-*-*-*-*' -bg '#323434' -fg '#FFFFFF'" xmonad $ defaultConfig { terminal = "urxvt", focusFollowsMouse = False, borderWidth = 2, modMask = mod4Mask, workspaces = [" 1-Term "," 2-Web "," 3-IM "," 4-Work "], normalBorderColor = "#323434", focusedBorderColor = "#656767", keys = myKeys, mouseBindings = myMouseBindings, layoutHook = avoidStruts $ smartBorders $ layoutHints myLayouts, manageHook = myManageHook, logHook = dynamicLogWithPP $ defaultPP { ppCurrent = wrap "^fg(#FFFFFF)^bg(#212323)" "^fg()^bg()" ,ppVisible = wrap "^fg(#FFFFFF)^bg()" "^fg()^bg()" ,ppHidden = wrap "^fg(#C4DF90)^bg()" "^fg()^bg()" ,ppHiddenNoWindows = wrap "^fg(#808080)^bg()" "^fg()^bg()" ,ppUrgent = wrap "^fg(#FF0000)^bg()" "^fg()^bg()" ,ppTitle = wrap " ^fg(#B8DDEA)^bg()" "^fg()^bg()" ,ppLayout = \x -> "^fg(#FFE080)^bg()" ++ case x of "Tall" -> "Tiled" "Full" -> "Full" "Mirror Tall" -> "Tiled Bottom" _ -> x ++ "^fg()^bg()" ,ppSep = " " ,ppWsSep = "" ,ppOutput = hPutStrLn h } }
Nothing fancy here..but it's all I need for now
conky-dzen.sh
#!/bin/sh FG='#888888' BG='#323434' FONT='-*-terminus-medium-r-normal-*-12-*-*-*-*-*-*-*' conky -c ~/.conkyrc-dzen | dzen2 -e - -w '840' -x 440 -ta r -fg $FG -bg $BG -fn $FONT
And my messy ~/.conkyrc-dzen.
background no out_to_console yes out_to_x no update_interval 1 total_run_times 0 TEXT ^fg(\#B8DDEA)Arch:^fg() ^fg(\#FFE080)${fs_free /home}^fg() / ^fg(\#C4DF90)${fs_size /home}^fg() | ^fg(\#959595)Temp:^fg() ^fg(\#CC896D)${acpitemp}°C^fg() | ^fg(\#959595)Freq:^fg() ^fg(\#B8DDEA)${freq} Mhz^fg() | ^fg(\#959595)Load:^fg() ^fg(\#C4DF90)${cpu}%^fg() | ^fg(\#C18FCB)WiFi:^fg() ^fg(\#C4DF90)${downspeedf wlan0}^fg() / ^fg(\#CC896D)${upspeedf wlan0}^fg() | ^fg(\#FFFFFF)${time %I:%M}^fg() ^fg(\#959595)${time %p} ^fg()
Thanks Lich that really very niece and simple config !
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Offline
You can use \n in the PS1 variable
export PS1="┌─[ \[\e[30;1m\]\u\[\e[0m\] ][ \[\e[33;1m\]\w\[\e[0m\] ]\n└─╼ "
PROOF! ^^
That my dear friend, is the perfect PS1 for a netbook.
Thank you very much.
This Is My Truth, Tell Me Yours
Offline
I'm seeing a lot of ion3 screenshots lately. Might as well share my own
do you happen to have that wallpaper in 1920x1080 (or x1200)? i try to grab simple dark backgrounds whenever i can, that one's quite nice.
//github/
Offline
I'm seeing a lot of ion3 screenshots lately. Might as well share my own
I want your font(s) please
[edit] gtk theme too
Last edited by Lich (2009-09-16 20:43:09)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
Square wrote:I'm seeing a lot of ion3 screenshots lately. Might as well share my own
do you happen to have that wallpaper in 1920x1080 (or x1200)? i try to grab simple dark backgrounds whenever i can, that one's quite nice.
I hope that's a tile. I had one that was called "mosaic", I lost it...Been looking for something similar to it and this could be it...so +1 for your request
@timttmy: np mate. had it lying around for months..I use a simpler one atm
export PS1='\[\033[1;32m\][\[\033[1;33m\] \W \[\033[1;32m\]]\[\033[0m\]\[\033[0;34m\] \$\[\033[0m\] '
[ ~ ] $
Last edited by Lich (2009-09-16 20:41:43)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline