1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | /* See LICENSE file for copyright and license details. */
/* appearance */
static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
static const char normbordercolor[] = "#FF0000"; //cccccc_rojo_ventanas en las que no estamos.
static const char normbgcolor[] = "#000000"; //cccccc_negro_fondo barra.
static const char normfgcolor[] = "#FFFF00"; //000000_amarillo_letras barra sin ejecutar nada.
static const char selbordercolor[] = "#00FF00"; //0066ff_verde_ventana en la que estamos.
static const char selbgcolor[] = "#545454"; //0066ff_gris_fondo barra al ejecutar terminal
static const char selfgcolor[] = "#FFFF00"; //ffffff_amarillo_letras barra al ejecutar terminal
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[] = { "I", "II", "III", "IV", "V", "VI","VII" };
static const Rule rules[] = {
/* class instance title tags mask isfloating monitor */
{ NULL, NULL, NULL, 0, False, -1 },
};
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
static const Layout layouts[] = {
/* symbol arrange function */
/* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[]=", tile },
{ "[M]", monocle },
};
/* key definitions */
#define MODKEY Mod4Mask /*antes= Mod1Mask que es el alt, ahora esta la de windows*/
#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[] = { "gmrun", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
static const char *termcmd[] = { "urxvt", "-pe", "tabbed", NULL };
static const char *lockmonitor[] = { "xlock", NULL };
static const char *mpdprev[] = { "ncmpcpp", "prev", NULL };
static const char *mpdnext[] = { "ncmpcpp", "next", NULL };
static const char *mpdpause[] = { "ncmpcpp", "toggle", NULL};
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_z, spawn, {.v = lockmonitor } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.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 } },
{ MODKEY, XK_F1, spawn, {.v = mpdprev } },
{ MODKEY, XK_F2, spawn, {.v = mpdnext } },
{ MODKEY, XK_Escape, spawn, {.v = mpdpause } },
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 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} }, */
};
|
x
1 2 3 4 5 6 7 8 9 | out_to_console yes
out_to_x no
background no
update_interval 2
total_run_times 0
use_spacer none
TEXT
$mpd_artist $mpd_title :: ${cpu cpu}% ${loadavg 1 2 3} :: ${execi 150 sysctl |grep hw.sensors.lmtemp0 |head -n1 | sed 's/^.*\=//'}c :: $memperc% ($mem) :: ${downspeed fxp0} K/s :: ${upspeed fxp0} K/s :: ${time %a %b %d %I:%M%P}
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #setxkbmap -option terminate:crtl_alt_bksp
autocutsel &
exec setxkbmap es &
#feh --scale-down --bg-scale ~/img/fondos/16.jpg &
#$HOME/.fehbgx &
sh $HOME/.fehbg &
xbindkeys &
#xcompmgr -c &
#exec $HOME/.dwmstart
#conky -c .conkyrc-dwm
conky -c .conkyrc-dwm| while read -r; do xsetroot -name "$REPLY"; done &
exec dwm
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 | Xft.dpi: 96
Xft.antialias: true
Xft.hinting: full
Xft.hintstyle: hintslight
Xft.rgba: rgb
c64*font: xft:Adore64:autohint=false:antialias=false:size=7
c64*background: #3a319c
c64*foreground: #7b71d6
xterm*title: xterm
xterm*faceName: terminus:pixelsize=10
#xterm*geometry: 90x25
xterm.vt100.geometry: 90x25
xterm*boldMode: false
xterm*cutNewline: false
xterm*on4Clicks: group
xterm*on5Clicks: page
xterm*internalBorder: 2
xterm*background: #222222
xterm*foreground: #ddccbb
xterm*customization: color
xterm*metaSendsEscape: true
xterm*colorBD: #afd700
xterm*colorBDMode: false
xterm*cursorBlink: false
xterm*cursorColor: #ff9900
xterm*dynamiccolors: true
xterm*utf8: true
xterm*loginShell: true
!xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48,35:48,58:48,63:48,61:48,44:48,38:48,59:48
xterm*jumpScroll: true
xterm*multiScroll: true
xterm*saveLines: 30000
xterm*scrollBar: false
xterm*xftAntialias: false
!Xtrail-Colors
!black
!XTerm*color0: #222222
!XTerm*color8: #554444
!red
!XTerm*color1: #884422
!XTerm*color9: #cc5533
!XTerm*color1: #cd5c5c
!XTerm*color9: #cc5533
!green
!XTerm*color2: #778800
!XTerm*color10: #88aa22
!yellow
!XTerm*color3: #e8ae5b
!XTerm*color11: #ea6868
!blue
!XTerm*color4: #8866cc
!XTerm*color12: #9977dd
!magneta
!XTerm*color5: #885500
!XTerm*color13: #996600
!cyan
!XTerm*color6: #5555aa
!XTerm*color14: #7777aa
!white
!XTerm*color7: #665c64
!XTerm*color15: #c3c2c5
!!URxvt*font: -*-terminus-medium-r-*-*-*-*-*-*-*-*-*-*
!URxvt*boldFont: -*-terminus-medium-r-*-*-*-*-*-*-*-*-*-*
urxvt.termName: xterm-256color
urxvt.scrollBar: false
urxvt.imLocale: ja_JP.UTF-8
urxvt.loginShell: true
urxvt.saveLines: 512
urxvt.geometry: 90x25
urxvt.boldMode: false
urxvt.inheritPixmap: false
urxvt.xftAntialias: false
urxvt.jumpScroll: true
urxvt.tintColor: white
URxvt*internalBorder: 3
URxvt*internalBordercolor: #121212
urxvt.cursorBlink: false
urxvt.cursorColor: #ff8939
urxvt.cursorColor2: #121212
urxvt.colorBD: #857672
urxvt.colorIT: #bbbbbb
urxvt.colorUL: #999999
urxvt.underlineColor: #999999
urxvt.borderless: true
!Technobass - Foreground/Background
URxvt*foreground: #665c64
URxvt*background: #121212
!tabbed urxvt
!URxvt.perl-ext-common: default,tabbed
!Technicolor I & II - Foreground/Background
!URxvt*foreground: #b4b4b4
!URxvt*background: #121212
!Technicolor II
! -- black
!URxvt*color0: #000000
! -- red
!URxvt*color1: #A01515
! -- green
!URxvt*color2: #86BE51
! -- yellow
!URxvt*color3: #968a38
! -- blue
!URxvt*color4: #3b7b9c
! -- purple
!URxvt*color5: #A6397A
! -- cyan
!URxvt*color6: #3b9c5b
! -- white
!URxvt*color7: #E9E9E9
! -- bright-black
!URxvt*color8: #555753
! -- bright-red
!URxvt*color9: #C4362D
! -- bright-green
!URxvt*color10: #a6df36
! -- bright-yellow
!URxvt*color11: #e8621d
! -- bright-blue
!URxvt*color12: #6495ed
! -- bright-purple
!URxvt*color13: #8963B9
! -- bright-cyan
!URxvt*color14: #34E2E2
! -- bright-white
!URxvt*color15: #c3c2c5
!Technobass
! -- black
URxvt*color0: #000000
! -- red
URxvt*color1: #ff8888
! -- green
URxvt*color2: #80852d
! -- yellow
URxvt*color3: #ffaa55
! -- blue
URxvt*color4: #82b8f2
! -- purple
URxvt*color5: #ad7fa8
! -- cyan
URxvt*color6: #6b9b8b
! -- white
URxvt*color7: #babdb6
! -- bright-black
URxvt*color8: #555753
! -- bright-red
URxvt*color9: #e5505f
! -- bright-green
URxvt*color10: #b7e234
! -- bright-yellow
URxvt*color11: #e8621d
! -- bright-blue
URxvt*color12: #0088cc
! -- bright-purple
URxvt*color13: #cb99e1
! -- bright-cyan
URxvt*color14: #34E2E2
! -- bright-white
URxvt*color15: #e9e9e9
!Technicolor I
! black
!URxvt*color0: #000000
!URxvt*color8: #555753
! red
!URxvt*color1: #9e1828
!URxvt*color9: #cf6171
! green
!URxvt*color2: #80852d
!URxvt*color10: #7cbc8c
! yellow
!URxvt*color3: #968a38
!URxvt*color11: #fff796
! blue
!URxvt*color4: #414171
!URxvt*color12: #4186be
! magenta
!URxvt*color5: #963c59
!URxvt*color13: #cf9ebe
! cyan
!URxvt*color6: #418179
!URxvt*color14: #71bebe
! white
!URxvt*color7: #aaaaaa
!URxvt*color15: #c3c2c5
rxvt.termName: rxvt
rxvt.scrollBar: false
rxvt.loginShell: true
rxvt.saveLines: 512
rxvt.boldMode: false
rxvt.xftAntialias: false
rxvt.jumpScroll: true
rxvt*internalBorder: 3
rxvt*internalBordercolor: #222222
rxvt.cursorBlink: false
rxvt.cursorColor: #94bff3
rxvt.cursorColor2: #000000
rxvt.background: #222222
rxvt.foreground: #b4b4b4
rxvt.colorBD: #554444
rxvt.colorIT: #bbbbbb
rxvt.colorUL: #999999
rxvt.underlineColor: #999999
rxvt.borderless: true
rxvt*font: -*-terminus-medium-r-*-*-*-*-*-*-*-*-*-*
rxvt*boldFont: -*-terminus-medium-r-*-*-*-*-*-*-*-*-*-*
!Technicolor-Variant
rxvt*color0: #222222
rxvt*color1: #ba8b8b
rxvt*color2: #86af80
rxvt*color3: #c6d01e
rxvt*color4: #3c8ec4
rxvt*color5: #9a70b2
rxvt*color6: #9fc1cc
rxvt*color7: #e9e9e9
rxvt*color8: #71a3b7
rxvt*color9: #e5505f
rxvt*color10: #8cba87
rxvt.color11: #e0d95c
rxvt*color12: #5899c4
rxvt.color13: #ad73ba
rxvt*color14: #338eaa
rxvt*color15: #c3c2c5
!xclock*hourColor: rgb:0/0/0
!xclock*minuteColor: rgb:8/8/8
!xclock*secondColor: rgb:b/b/b
!xclock*majorColor: rgb:0/0/0
!xclock*minorColor: rgb:6/6/6
xcalc*ti.button1.vertDistance: 4
xcalc*ti.button2.vertDistance: 4
xcalc*ti.button3.vertDistance: 4
xcalc*ti.button4.vertDistance: 4
xcalc*ti.button5.vertDistance: 4
xcalc*ti.background: gray90
xcalc*ti.bevel.borderColor: gray65
xcalc*ti.bevel.borderWidth: 1
xcalc*ti.bevel.vertDistance: 4
xcalc*ti.bevel.defaultDistance: 0
xcalc*ti.bevel.background: rgb:b/c/b
xcalc*ti.bevel.screen*background: rgb:b/c/b
xcalc*ti.bevel.screen.borderColor: rgb:b/c/b
xcalc*ti.bevel.screen.vertDistance: 10
xcalc*ti.bevel.screen.horizDistance: 10
xcalc*ti.bevel.screen*left: chainLeft
xcalc*ti.bevel.screen*right: chainRight
xcalc*ti.bevel.screen*top: chainTop
xcalc*ti.bevel.screen*bottom: chainBottom
xcalc*ti.bevel.screen*LCD.foreground: gray10
xcalc*ti.bevel.screen*INV.vertDistance: 0
xcalc*ti.Command.borderColor: gray65
xcalc*ti.Command.background: gray85
xcalc*ti.Command.foreground: gray30
xcalc*ti.button5.background: rgb:e/b/b
xcalc*ti.button20.background: rgb:e/d/c
xcalc*ti.button25.background: rgb:e/d/c
xcalc*ti.button30.background: rgb:e/d/c
xcalc*ti.button35.background: rgb:e/d/c
xcalc*ti.button40.background: rgb:b/b/e
xcalc*ti.button22.background: gray95
xcalc*ti.button23.background: gray95
xcalc*ti.button24.background: gray95
xcalc*ti.button27.background: gray95
xcalc*ti.button28.background: gray95
xcalc*ti.button29.background: gray95
xcalc*ti.button32.background: gray95
xcalc*ti.button33.background: gray95
xcalc*ti.button34.background: gray95
xcalc*ti.button37.background: gray95
xcalc*ti.button38.background: gray95
xcalc*ti.button39.background: gray95
xmessage*form.okay.shapeStyle: rectangle
xmessage*form.okay.background: IndianRed
xmessage*form.okay.foreground: rgb:e/b/b
xmessage*message*background: ivory3
xmessage*background: gray85
xmessage*foreground: gray15
xmessage*Scrollbar.width: 1
xmessage*Scrollbar.borderWidth: 0
xmessage*Text.?.cursorColor: rgb:d/5/5
xmessage*Text.borderColor: gray65
xmessage*Text*background: gray95
xmessage*Command.highlightThickness: 1
xmessage*Command.internalWidth: 5
xmessage*Command.internalHeight: 3
xmessage*Command.borderColor: gray40
xmessage*Command.shapeStyle: Rectangle
xmessage*Command.background: gray80
xmessage*font: -*-motoko-*-*-*-*-*-*-*-*-*-*-*-*
xman*font: -*-nu-*-*-*-*-*-*-*-*-*-*-*
xman*jumpScroll: true
xman*multiScroll: true
xman*scrollBar: 0
xman*background: #040404
!xman*foreground: #d1a375
xman*foreground: #afd700
xman*manualFontNormal: -*-proggyoptis-*-*-*-*-*-*-*-*-*-*-*-*
xman*manualFontBold: -*-proggyoptis-*-*-*-*-*-*-*-*-*-*-*-*
xman*manualFontItalic: -*-proggyoptis-*-*-*-*-*-*-*-*-*-*-*-*
xman*directoryFontNormal: -*-proggyoptis-*-*-*-*-*-*-*-*-*-*-*-*
xman*manualFontBoldColor: #afd700
xman*manualFontItalicColor: #6495ed
xfontsel*background: #121212
xfontsel*foreground: #ce5666
!xfontsel*font: -*-clean-*-*-*-*-*-*-*-*-*-*-iso8859-2
xfontsel*font: -*-weep-*-*-*-*-*-*-*-*-*-*-*-*
dclock*background: #1c1c1c
dclock*foreground: #00587c
dclock*geometry: 175x70
dclock*seconds: no
dclock*miltime: yes
dclock*font: -*-motoko-*-*-*-*-*-*-*-*-*-*-*-*
!dclock*font: -misc-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-*-*
!Mwm*background: blue
!Mwm*foreground: gold
!Mwm*activeBackground: red
!Mwm*activeForeground: white
!Mwm*frameBorderWidth: 4
!Mwm*resizeBorderWidth: 4
!Mwm*iconSize: 32x32
!Mwm*saveUnder: True
!Mwm*feedback*background: Black
!Mwm*feedback*foreground: cyan
!Mwm*feedback*fontList: -b&h-lucida-medium-r-*-*-12-*-*-*-*-*-*-*
!Mwm*icon*background: Gray80
!Mwm*icon*foreground: Black
!Mwm*icon*fontList: -b&h-lucida-medium-r-*-*-12-*-*-*-*-*-*-*
!Mwm*menu*background: Black
!Mwm*menu*foreground: cyan
!Mwm*menu*fontList: -b&h-lucida-medium-r-*-*-12-*-*-*-*-*-*-*
!Mwm*title*fontList: -b&h-lucida-medium-r-*-*-12-*-*-*-*-*-*-*
! ---| EMACS |--- {{{
!emacs*font: -jmk-neep alt-medium-r-semicondensed--11-100-75-75-c-50-iso8859-15
!Emacs*Background: grey15
!Emacs*Foreground: grey84
emacs*menubar*foreground:#d0d0d0
emacs*menubar*Background:#1c1c1c
!emacs.geometry: 85x45
!.Emacs21.pane.menubar.background: gray75
!.Emacs21.pane.menubar.foreground: gray20
!.Emacs21.pane.menubar.height: 30
!.Emacs21.pane.menubar.font: -jmk-neep alt-medium-r-semicondensed--11-100-75-75-c-50-iso8859-15
!}}}
XConsole*background: #222222
XConsole*foreground: #dccbba
Xconsole*faceName: terminus:pixelsize=10
XConsole*borderWidth: 2
XConsole*borderColor: grey
XConsole.text.geometry: 480x130
XConsole.verbose: true
|
x
Notes
Simple dwm setup, In OpenBSD 5.2.
The font in the terminal is terminus-medium, (including dwm), the config of dwm, includes shortcuts to control ncmpcpp, default layout is floating, modkey is superkey (win key).