You are not logged in.
Offline
Hey, karabaja4 -- your screenshot disappeared. Can you repost it? I'll save it to my machine this time -- I wanna reference it if I try to go back to openbox.
Matt
"It is very difficult to educate the educated."
Offline
There seems to be a conky artifact in the bottom left of your screen - did you remove conky when you installed conky-cli? (I only ask because I did the same thing...)
Offline
eren wrote:There seems to be a conky artifact in the bottom left of your screen - did you remove conky when you installed conky-cli? (I only ask because I did the same thing...)
No i didn't installed conky-cli, still the same. But i'll look at tomorrow. Thanks.
Arch x86_64
Offline
Offline
Offline
Offline
http://cyb3rpunk.files.wordpress.com/20 … romini.png
dwm + tmux
conky + dzen based on jasonwryan's work.
Awesome setup! Mind sharing your Xdefaults and configs??
Offline
teh wrote:http://cyb3rpunk.files.wordpress.com/20 … romini.png
dwm + tmux
conky + dzen based on jasonwryan's work.Awesome setup! Mind sharing your Xdefaults and configs??
Sure. (and thanks)
Xdefaults:
!URxvt*font: xft:Envy Code R:pixelsize=12
URxvt*font: -*-dina-medium-r-normal-*-*-*-*-*-*-*-iso8859-1
URxvt*boldFont: -*-dina-bold-r-normal-*-*-*-*-*-*-*-iso8859-1
!Options
URxvt.termName:rxvt-256color
URxvt*urgentOnBell: true
URxvt*visualBell: true
URxvt*skipBuiltinGlyphs: true
URxvt*termName: rxvt-unicode
URxvt*borderless: 1
URxvt*scrollBar: false
URxvt*saveLines: 5000
URxvt.transparent: false
URxvt.tintColor: #e8e8e8
URxvt.shading: 20
!Links
URxvt*perl-ext-common: matcher
URxvt*urlLauncher: /usr/bin/uzbl-tabbed
URxvt*matcher.button: 1
URxvt*matcher.pattern.1: \\bwww\\.[\\w-]+\\.[\\w./?&@URxvt-]*[\\w/-]
!Cursor
URxvt*cursorColor: #454638
URxvt*cursorBlink: true
!Colors
*foreground: #737373
*background: #080808
*color0: rgb:00/00/00
*color1: rgb:ba/7f/7f
*color2: rgb:8e/ae/71
*color3: rgb:d2/b4/8c
*color4: rgb:5f/7b/8a
*color5: rgb:cd/cd/b4
*color6: rgb:68/68/68
*color7: rgb:ff/ff/ff
*color8: rgb:00/00/00
*color9: rgb:79/39/39
*color10: rgb:4f/5c/3a
*color11: rgb:cd/cd/c1
*color12: rgb:6b/7b/8a
*color13: rgb:cd/cd/b4
*color14: rgb:77/87/98
*color15: rgb:ca/ca/ca
config.h
/* See LICENSE file for copyright and license details. */
/* appearance */
static const char font[] = "-*-fixed-medium-r-*-*-12-*-*-*-*-*-iso8859-*";
static const char normbordercolor[] = "#5f5f5f";
static const char normbgcolor[] = "#080808";
static const char normfgcolor[] = "#737373";
static const char selbordercolor[] = "#777777";
static const char selbgcolor[] = "#080808";
static const char selfgcolor[] = "#e0e0e0";
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const Bool showbar = True; /* False means no bar */
static const Bool topbar = True; /* False means bottom bar */
/* tagging */
static const char *tags[] = { "t", "w", "g", "m",};
static const Rule rules[] = {
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, True, -1 },
{ "Opera", NULL, NULL, 1 << 1, False, -1 },
{ "emesene", NULL, NULL, 1 << 2, False, -1 },
};
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
include "bstack.c"
include "bstackhoriz.c"
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
{ "TTT", bstack },
{ "===", bstackhoriz },
};
/* 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[] = { "urxvt", NULL };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, 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_Return, 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 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
};
/* button definitions */
/* click can be 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, Button2, zoom, {0} },
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
{ 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} },
};
xinitrc
#! /bin/sh
setxkbmap -option terminate:ctrl_alt_bksp
sh ~/.fehbg &
# Dzen & conky
(sleep 3s && conky | dzen2 -x '660' -e '' -fg '#737373' -bg '#080808' -w '760' -h '14' -ta r -fn '-*-fixed-medium-r-*-*-12-*-*-*-*-*-iso8859-*' -p ) &
# Start dwm
exec dwm
conkyrc
background no
out_to_console yes
update_interval 2
total_run_times 0
use_spacer none
double_buffer yes
TEXT
${if_empty ${exec awk '{print $2}' /proc/acpi/ac_adapter/AC/state | grep 'on-line'}}^i(/home/ramon/dwm/dzen/bat_full_01.xpm)${else}^i(/home/ramon/dwm/dzen/ac_01.xpm)${endif} ${battery_percent}% • ^i(/home/ramon/dwm/dzen/cpu.xpm) ${cpu cpu1}% • ^i(/home/ramon/dwm/dzen/mem.xpm) ${memperc}% • ^i(/home/ramon/dwm/dzen/temp.xpm) ${acpitemp}°C • ^i(/home/ramon/dwm/dzen/fs_01.xpm) /sda1: ${fs_used_perc /}% | /sda4: ${fs_used_perc /home}% • ^i(/home/ramon/dwm/dzen/arch.xpm) ${execpi 900 /home/ramon/.Scripts/pacman-up.pl} • ${if_existing /proc/net/route wlan0}^i(/home/ramon/dwm/dzen/wifi_01.xpm) ^i(/home/ramon/dwm/dzen/net_down_03.xpm) ${downspeedf wlan0} ^i(/home/ramon/dwm/dzen/net_up_03.xpm) ${upspeedf wlan0}${else}${if_existing /proc/net/route eth0}^i(/home/ramon/dwm/dzen/wired.xpm) ^i(/home/ramon/dwm/dzen/net_down_03.xpm) ${downspeedf eth0} ^i(/home/ramon/dwm/dzen/net_up_03.xpm) ${upspeedf eth0}${endif}${endif} • ^fg(\#E0E0E0)${time %H:%M}^fg()
Prompt(zsh)
PROMPT=$'%{\e[0;35m%}%B┌─[%b%{\e[0;34m%}%n%{\e[0m%}@%{\e[0;34m%}%m%{\e[0;35m%}%B]%b%{\e[1;35m%}[%b%{\e[0;34m%}%~%{\e[0;35m%}%B]
%{\e[0;35m%}%B└─╼%b%{\e[1;30m%}%{\e[0m%} '
tmux.conf (jasonwryan's config with minimal mods by me)
unbind C-b
set -g prefix C-a
# more intuitive keybindings for splitting
unbind %
bind h split-window -v
unbind '"'
bind v split-window -h
# set vi keys
unbind [
bind Escape copy-mode
setw -g mode-keys vi
# send the prefix to client inside window (ala nested sessions)
bind-key a send-prefix
# toggle last window like screen
bind-key C-b last-window
# confirm before killing a window or the server
bind-key k confirm kill-window
bind-key K confirm kill-server
# toggle statusbar
bind-key b set-option status
# ctrl+left/right cycles thru windows
bind-key -n C-right next
bind-key -n C-left prev
# open a man page in new window
bind / command-prompt "split-window 'exec man %%'"
# quick view of processes
bind '~' split-window "exec htop"
# scrollback buffer n lines
set -g history-limit 5000
# listen for activity on all windows
set -g bell-action any
# on-screen time for display-panes in ms
set -g display-panes-time 2000
# start window indexing at one instead of zero
set -g base-index 1
# enable wm window titles
set -g set-titles on
# wm window title string (uses statusbar variables)
set -g set-titles-string "tmux:#I #W"
# session initialization
new -s TTYtter ttytter
neww -t 2
neww -d -t 3
neww -d -t 5
selectw -t 1
# statusbar --------------------------------------------------------------
set -g status-interval 1
set -g status-justify centre # center align window list
set -g status-left-length 30
set -g status-left '#[fg=magenta][#H] #[fg=blue][#(uname -r | cut -c 1-6)]'
set -g status-right '#[fg=blue][#(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",")] #[fg=magenta][%a %d/%m/%Y %H:%M#[fg=white]]'
# default statusbar colors
set -g status-fg white
set -g status-bg black
set -g status-attr bright
# default window title colors
set-window-option -g window-status-fg white
set-window-option -g window-status-bg default
set-window-option -g window-status-attr dim
# active window title colors
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg default
set-window-option -g window-status-current-attr bright
# command/message line colors
set -g message-fg white
set -g message-bg black
set -g message-attr bright
Sorry for the long post. *thinking about setting up a repository for config files*
Last edited by teh (2010-02-02 06:24:21)
arst
Offline
mrunion wrote:Hey, karabaja4 -- your screenshot disappeared. Can you repost it? I'll save it to my machine this time -- I wanna reference it if I try to go back to openbox.
Sorry about that.
Here's a new one (I made small MPD conky on this one):
that looks very cool. could you share your conkyrc(s)?
"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"
Offline
Lodger?
Last edited by Berticus (2010-02-02 11:01:16)
Offline
Lodger?
nope!!. why is that?
"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette
Offline
Offline
Berticus wrote:Lodger?
nope!!. why is that?
Offline
There seems to be a conky artifact in the bottom left of your screen - did you remove conky when you installed conky-cli? (I only ask because I did the same thing...)
Hey thanks my friend. I unistalled conky and installed conky-cli now, conky gone from my bottom of the screen.
Arch x86_64
Offline
Hey, this is great my friend. Will you share your dwm and xdefaults configs? And what is the media player?
Thanks
Arch x86_64
Offline
http://cyb3rpunk.files.wordpress.com/20 … romini.png
dwm + tmux
conky + dzen based on jasonwryan's work.
+1 to both of you
[ Arch i686 + Dwm + Vimprobable ]
Offline
Troolari wrote:Hey, this is great my friend. Will you share your dwm and xdefaults configs? And what is the media player?
Thanks
It's mpd+ncmpcpp, with pretty much the default settings, except for the playlist mode, which is set to columns.
Here's my config.h for the dwm. You can get the gaplessgrid.c, push.c and bstack.c from dwm's official site, and here's my current .Xdefaults.
Offline
Offline
Offline
Link to wallpaper please? Thanks
Offline