You are not logged in.
Xd
...MikereDD
:Go Away & Give My Pillow Back!!:
aur pkgbuilds - mostly fortune-mod's & fonts
Offline
http://omploader.org/tMW54eg
http://omploader.org/tMW55MwDwm 5.5
I made a few customizations, so some common tasks can sometimes be easily done with just one hand and a mouse:
On the status text -left click toggles an urxvt htop window, right click brings up a nice dzen menu app launcher, mouse wheel shrinks/expands master area, middle click brings another dzen menu, only with choices to lock screen, reboot or shutdown
On the window title - left click zooms, right click toggles floating, mouse wheel shifts focus, middle click closes windowI'm enjoying dwm immensely, I knew I should have tried it sooner...
Looks tight, nice work on those mousebindings!
Would you mind sharing your config.h?
Offline
Nice setup, like the background. You might wanna obfuscate your MAC address though .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
http://omploader.org/vMW00OA/ootput-scr … -thumb.png
Feeling oh-so-Productive
What is the font in urxvt ?
Offline
moljac024 wrote:http://omploader.org/tMW54eg
http://omploader.org/tMW55MwDwm 5.5
I made a few customizations, so some common tasks can sometimes be easily done with just one hand and a mouse:
On the status text -left click toggles an urxvt htop window, right click brings up a nice dzen menu app launcher, mouse wheel shrinks/expands master area, middle click brings another dzen menu, only with choices to lock screen, reboot or shutdown
On the window title - left click zooms, right click toggles floating, mouse wheel shifts focus, middle click closes windowI'm enjoying dwm immensely, I knew I should have tried it sooner...
Looks tight, nice work on those mousebindings!
Would you mind sharing your config.h?
Not at all
config.h
/* See LICENSE file for copyright and license details. */
/* appearance */
static const char font[] = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*";
static const char normbordercolor[] = "#000000";
static const char normbgcolor[] = "#000000";
static const char normfgcolor[] = "#ffffff";
static const char selbordercolor[] = "#0066ff";
static const char selbgcolor[] = "#0066ff";
static const char selfgcolor[] = "#ffffff";
static unsigned int borderpx = 1; /* border pixel of windows */
static unsigned int snap = 1; /* snap pixel */
static Bool showbar = True; /* False means no bar */
static Bool topbar = True; /* False means bottom bar */
/* tagging */
/*static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };*/
static const char tags[][MAXTAGLEN] = { "main", "dev", "web", "chat", "media", "misc" };
static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
static Rule rules[] = {
/* class instance title tags mask isfloating */
{ "Gimp", NULL, NULL, 0, True },
{ "Firefox", NULL, NULL, 1 << 2, False },
{ "Gran Paradiso", NULL, NULL, 1 << 2, False },
{ "stalonetray", NULL, NULL, 1 << 5, False },
};
/* layout(s) */
static float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static Bool resizehints = False; /* False means respect size hints in tiled resizals */
static Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
};
/* key definitions */
#define MODKEY Mod4Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
/*static const char *termcmd[] = { "uxterm", NULL };*/
static const char *termcmd[] = { "urxvt", NULL };
static const char *htopcmd[] = { "start-close-term-app", "htop" };
static const char *menucmd[] = { "dzen2-menu", NULL };
static const char *sysmenucmd[] = { "dzen2-sysmenu", NULL };
static const char *screenshotcmd[] = { "custom-screenshot", NULL };
static const char *lockcmd[] = { "gnome-screensaver-command", "-l" };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_q, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY|ShiftMask, XK_c, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
/*Custom bindings*/
{ MODKEY, XK_Print, spawn, {.v = screenshotcmd } },
{ MODKEY, XK_s, spawn, {.v = lockcmd } },
{ Mod1Mask, XK_Tab, focusstack, {.i = +1 } },
{ Mod1Mask|ShiftMask, XK_Tab, focusstack, {.i = -1 } },
{ Mod1Mask, XK_F4, killclient, {0} },
{ Mod1Mask, XK_F2, spawn, {.v = dmenucmd } },
/*Custom bindgins*/
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
};
/* button definitions */
/* click can be a tag number (starting at 0),
* ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
static Button buttons[] = {
/* click event mask button function argument */
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
{ ClkWinTitle, 0, Button1, zoom, {0} },
{ ClkWinTitle, 0, Button2, killclient, {0} },
{ ClkWinTitle, 0, Button3, togglefloating, {0} },
{ ClkWinTitle, 0, Button4, focusstack, {.i = -1 } },
{ ClkWinTitle, 0, Button5, focusstack, {.i = +1 } },
{ ClkStatusText, 0, Button1, spawn, {.v = htopcmd } },
{ ClkStatusText, 0, Button2, spawn, {.v = sysmenucmd } },
{ ClkStatusText, 0, Button3, spawn, {.v = menucmd } },
{ ClkStatusText, 0, Button4, setmfact, {.f = -0.05} },
{ ClkStatusText, 0, Button5, setmfact, {.f = +0.05} },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
};
start-close-term-app
#!/bin/bash
grep_output=`ps -e | grep $1`
if [ "$grep_output" == "" ]; then
urxvt -e "$1"
else
killall "$1"
fi
dzen2-menu (stole this one from ashren )
#!/bin/bash
#
# Dzen2 App Launcher script box version by Rasmus Edgar.
# -tw = Width of titlebar, -w = Width of slavewindow,
# -l = length of slavewindow. Remember to adjust -l accordingly when adding
# apps. ^pa(*) is for text/decoration alignment.
#
# The getcurpos(x+y) programs are minor hacks of Robert Manea's getcurpos available
# on his website. The only thing that is changed in the source code is the removal of
# one of the "%d" and e.xbutton.*'s.
#
# Menu script starts below.
#
# Needed Applications:
AP1=urxvt
AP2=gvim
AP3=thunar
AP4=firefox
AP5=gcalctool
AP6=gnome-alsamixer
AP7="wicd-client -n"
# Menu location:
XP=1099
YP=17
# Move cursor:
xdotool mousemove 1200 40
# Font:
#FONT="-*-dina-bold-r-*-*-15-*-*-*-*-*-iso8859-1"
FONT="-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*"
# Menu title:
TI="------app menu-----"
# Colors:
FG1=#9ab8c2
#FG1=#ffffff
#BG1=#43464f
BG1=#252525
#BG1=#000000
# Text piped to Dzen2
(echo " $TI" ; echo -e "^fg(${FG1})\
\n^fg(${FG1}) ${AP1}\
\n^fg(${FG1}) ${AP2}\
\n^fg(${FG1}) ${AP3}\
\n^fg(${FG1}) ${AP4}\
\n^fg(${FG1}) ${AP5}\
\n^fg(${FG1}) ${AP6}\
\n^fg(${FG1}) ${AP7}")\
| (dzen2 -y "$YP" -x "$XP" -fn "$FONT" -bg "$BG1" -fg "$FG1" -l 7 -tw 180 -ta l -w 180 -m -p -e 'onstart=uncollapse;enterslave=grabmouse;button1=menuexec,exit;button2=exit;button3=exit')
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
MreDD wrote:ootput wrote:Woah! Do you reckon that font is legible?
hehehe, just seems that way, my resolution is 3120x1050 looks fine here.
The conky font seems fine, but the irssi font -- god, worst spacing scheme I've
ever seen!
Toldya so
Offline
whordijk wrote:moljac024 wrote:http://omploader.org/tMW54eg
http://omploader.org/tMW55MwDwm 5.5
I made a few customizations, so some common tasks can sometimes be easily done with just one hand and a mouse:
On the status text -left click toggles an urxvt htop window, right click brings up a nice dzen menu app launcher, mouse wheel shrinks/expands master area, middle click brings another dzen menu, only with choices to lock screen, reboot or shutdown
On the window title - left click zooms, right click toggles floating, mouse wheel shifts focus, middle click closes windowI'm enjoying dwm immensely, I knew I should have tried it sooner...
Looks tight, nice work on those mousebindings!
Would you mind sharing your config.h?
Not at all
Thanks!
Offline
Nice backbround, where can I find it?
archlinux on Macbook Pro 10,1
Offline
Nice backbround, where can I find it?
Offline
froli wrote:Nice backbround, where can I find it?
Many thanks!
archlinux on Macbook Pro 10,1
Offline
ootput wrote:MreDD wrote:hehehe, just seems that way, my resolution is 3120x1050 looks fine here.
The conky font seems fine, but the irssi font -- god, worst spacing scheme I've
ever seen!Toldya so
hahaha ya you did, but it's that terminator and antialias... eh so fux it i'll just stick to urxvt.
...MikereDD
:Go Away & Give My Pillow Back!!:
aur pkgbuilds - mostly fortune-mod's & fonts
Offline
Offline
Another openbox one for me, can never settle on one xD
Nice one
archlinux on Macbook Pro 10,1
Offline
working on a 24 look for me desktop, i need a gtk theme that will fit, any recomendations?
i would embed it, but its huge. http://i246.photobucket.com/albums/gg10 … _scrot.png
i want a gtk theme to look like this: http://img78.imageshack.us/img78/3225/ctu10rx4.jpg
Last edited by markp1989 (2009-05-12 21:09:35)
Desktop: E8400@4ghz - DFI Lanparty JR P45-T2RS - 4gb ddr2 800 - 30gb OCZ Vertex - Geforce 8800 GTS - 2*19" LCD
Server/Media Zotac GeForce 9300-ITX I-E - E5200 - 4gb Ram - 2* ecogreen F2 1.5tb - 1* wd green 500gb - PicoPSU 150xt - rtorrent - xbmc - ipazzport remote - 42" LCD
Offline
@markp1989: Ha, good idea, nicely executed. Hope you find a gtk theme that is fitting.
Happy Hacking!
Twitter: http://twitter.com/bobbyrburden/
Website: http://codebutcher.com/
Offline
I must admit, not my style markp1989, but I am diggin' it!
Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.
Offline
working on a 24 look for me desktop, i need a gtk theme that will fit, any recomendations?
i would embed it, but its huge. http://i246.photobucket.com/albums/gg10 … _scrot.png
i want a gtk theme to look like this: http://img78.imageshack.us/img78/3225/ctu10rx4.jpg
Not something I'd use, but that's still damn cool.
Offline
Another openbox one for me, can never settle on one xD
I'm trying out PekWM and was wondering how people are getting their conky to show on a black bar, is that just the background or are you using some sort of panel?
Arch x86_64 - GitHub
Offline
kourosh wrote:Another openbox one for me, can never settle on one xD
I'm trying out PekWM and was wondering how people are getting their conky to show on a black bar, is that just the background or are you using some sort of panel?
You can configure conky to be that way
own_window yes
own_window_transparent no
own_window_color XXXXXX (whatever you like)
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
rakka wrote:kourosh wrote:Another openbox one for me, can never settle on one xD
I'm trying out PekWM and was wondering how people are getting their conky to show on a black bar, is that just the background or are you using some sort of panel?
You can configure conky to be that way
own_window yes own_window_transparent no own_window_color XXXXXX (whatever you like)
Yep thats pretty much it, got there before me
I quite randomly tweaked my .conkyrc until i found how to do it
Last edited by kourosh (2009-05-12 22:51:49)
Offline
Great! Thank you both for the response, having used awesome for a while I wasn't sure how other's were setting their conkys up to look so nice http://omploader.org/vMW55MQ that's what ive got so far, but will definitely be doing more with conky. haha
Arch x86_64 - GitHub
Offline
Great! Thank you both for the response, having used awesome for a while I wasn't sure how other's were setting their conkys up to look so nice http://omploader.org/vMW55MQ that's what ive got so far, but will definitely be doing more with conky. haha
Nice wallpaper. Link?
Offline
WMii ;-)
Thumb:
http://s3.amazonaws.com/scrnshots.com/s … g_med_rectconky | screen | irssi | centerim | kdx client | terminator | urxvt | moc
Fullsize:
http://s3.amazonaws.com/scrnshots.com/s … 9_delaypng
Where could i get those two wallpapers?
Cheers
Matthew
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline