guest@dotshare [~/groups/wms/dwm] $ ls Gasmask/ | cat

Gasmask (scrot)

cinelli Nov 06, 2012 (wms/dwm)

config.h(raw, dl)

SCROT

  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
└─➤ cat config.h
/* dwm - configuration file */
/*                          F. Cinelli */

/* fonts, colors, borders */
static const char font[]            = "DejaVu Sans Mono:pixelsize=8:antialias=true:autohint=true";
static const char normbordercolor[] = "#444444";
static const char normbgcolor[]     = "#222222";
static const char normfgcolor[]     = "#bbbbbb";
static const char selbordercolor[]  = "#444444";
static const char selbgcolor[]      = "#222222";
static const char selfgcolor[]      = "#adbd00";
static const unsigned int borderpx  = 0;        /* border pixel of windows */
static const unsigned int snap      = 13;       /* snap pixel */
static const Bool showbar           = True;     /* False means no bar */
static const Bool topbar            = True;     /* False means bottom bar */

static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static const Rule rules[] = {
	/* xprop(1):
	 *	WM_CLASS(STRING) = instance, class
	 *	WM_NAME(STRING) = title
	 */
	/* class      instance    title       tags mask     isfloating   monitor */
	{ "Firefox",  NULL,       NULL,       1 << 8,       False,       -1 },
};     /*  please not that tag mask begins at 0. making 8 actually 9     */

/* 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 ... order matters here, the first defined is going to act as defautl */
  { "[F]",  NULL },    /* float */
  { "[T]",  tile },    /* tile */
  { "[M]", monocle },
};

/* key definitions */
#define MODKEY Mod1Mask

#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} },

/* commands (set for easy keybinding definitions, set these to your needs)*/
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
static const char *termcmd[]  = { "termite",  NULL };
static const char *emailcmd[] = { "sylpheed", NULL };
static const char *webcmd[]   = { "firefox",  NULL };
static const char *chatcmd[]  = { "pidgin",   NULL };


static Key keys[] = {
	/* modifier                     key        function        argument */
	{ MODKEY,                       XK_p,      spawn,          {.v = dmenucmd } },
	{ MODKEY|ShiftMask,             XK_Return, spawn,          {.v = termcmd  } },
  { MODKEY|ShiftMask,             XK_p,      spawn,          {.v = chatcmd  } },
  { MODKEY|ShiftMask,             XK_e,      spawn,          {.v = emailcmd } },
  { MODKEY|ShiftMask,             XK_f,      spawn,          {.v = webcmd   } },
	{ 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 } },
	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} },
};

CLICK TO VIEW

x

hexchat.conf(raw, dl)

  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
└─➤ cat hexchat.conf
version = 2.9.3
away_auto_unmark = 0
away_omit_alerts = 0
away_reason = I'm busy
away_show_message = 0
away_show_once = 0
away_size_max = 300
away_timeout = 60
away_track = 0
completion_amount = 5
completion_auto = 0
completion_sort = 0
completion_suffix = :
dcc_auto_chat = 0
dcc_auto_recv = 1
dcc_auto_resume = 1
dcc_blocksize = 1024
dcc_completed_dir = 
dcc_dir = /home/cinelli/.config/hexchat/downloads
dcc_fast_send = 1
dcc_global_max_get_cps = 0
dcc_global_max_send_cps = 0
dcc_ip = 
dcc_ip_from_server = 0
dcc_max_get_cps = 0
dcc_max_send_cps = 0
dcc_permissions = 384
dcc_port_first = 0
dcc_port_last = 0
dcc_remove = 0
dcc_save_nick = 0
dcc_send_fillspaces = 0
dcc_stall_timeout = 60
dcc_timeout = 180
dnsprogram = host
flood_ctcp_num = 5
flood_ctcp_time = 30
flood_msg_num = 5
flood_msg_time = 30
gui_autoopen_chat = 0
gui_autoopen_dialog = 0
gui_autoopen_recv = 0
gui_autoopen_send = 0
gui_chanlist_maxusers = 9999
gui_chanlist_minusers = 5
gui_compact = 1
gui_dialog_height = 256
gui_dialog_left = 0
gui_dialog_top = 0
gui_prefs.hex_gui_dialog_width = 500
gui_hide_menu = 0
gui_input_icon = 0
gui_input_nick = 0
gui_input_spell = 1
gui_input_style = 1
gui_join_dialog = 0
gui_lagometer = 2
gui_lang = 15
gui_mode_buttons = 0
gui_pane_left_size = 107
gui_pane_right_size = 77
gui_pane_right_size_min = 80
gui_quit_dialog = 0
gui_single = 0
gui_slist_fav = 0
gui_slist_select = 28
gui_slist_skip = 1
gui_tab_chans = 0
gui_tab_dialogs = 1
gui_tab_dots = 0
gui_tab_icons = 0
gui_tab_layout = 2
gui_tab_newtofront = 0
gui_tab_notices = 0
gui_tab_pos = 7
gui_tab_server = 0
gui_tab_small = 1
gui_tab_sort = 0
gui_tab_trunc = 20
gui_tab_utils = 0
gui_throttlemeter = 2
gui_topicbar = 1
gui_tray = 1
gui_tray_flags = 0
gui_ulist_buttons = 0
gui_ulist_count = 1
gui_ulist_doubleclick = QUERY %s
gui_ulist_hide = 0
gui_ulist_icons = 0
gui_ulist_pos = 3
gui_ulist_resizable = 1
gui_ulist_show_hosts = 0
gui_ulist_sort = 0
gui_ulist_style = 1
gui_url_mod = 0
gui_usermenu = 0
gui_win_height = 384
gui_win_left = 0
gui_win_modes = 0
gui_win_save = 1
gui_win_state = 0
gui_win_swap = 0
gui_win_top = 11
gui_win_ucount = 0
gui_win_width = 613
identd = 1
input_balloon_chans = 0
input_balloon_hilight = 0
input_balloon_priv = 0
input_balloon_time = 20
input_beep_chans = 0
input_beep_hilight = 0
input_beep_priv = 1
input_command_char = /
input_filter_beep = 0
input_flash_chans = 0
input_flash_hilight = 0
input_flash_priv = 0
input_perc_ascii = 0
input_perc_color = 0
input_tray_chans = 0
input_tray_hilight = 0
input_tray_priv = 0
irc_auto_rejoin = 0
irc_ban_type = 2
irc_conf_mode = 0
irc_extra_hilight = 
irc_hide_version = 0
irc_id_ntext = 
irc_id_ytext = 
irc_invisible = 0
irc_join_delay = 3
irc_logging = 0
irc_logmask = %n-%c.log
irc_nick1 = cinelli
irc_nick2 = cinelli_
irc_nick3 = cinelli__
irc_nick_hilight = 
irc_no_hilight = NickServ,ChanServ,InfoServ,N,Q
irc_part_reason = Leaving
irc_quit_reason = Leaving
irc_raw_modes = 0
irc_real_name = realname
irc_servernotice = 0
irc_skip_motd = 0
irc_user_name = cinelli
irc_wallops = 0
irc_who_join = 0
irc_whois_front = 0
net_auto_reconnect = 1
net_auto_reconnectonfail = 0
net_bind_host = 
net_ping_timeout = 0
net_proxy_auth = 0
net_proxy_host = 
net_proxy_pass = 
net_proxy_port = 0
net_proxy_type = 0
net_proxy_use = 0
net_proxy_user = 
net_reconnect_delay = 10
net_throttle = 1
notify_timeout = 15
notify_whois_online = 0
perl_warnings = 0
sound_command = 
sound_dir = /home/cinelli/.config/hexchat/sounds
stamp_log = 1
stamp_log_format = %b %d %H:%M:%S 
stamp_text = 1
stamp_text_format = %H:%M
text_autocopy_color = 0
text_autocopy_stamp = 0
text_autocopy_text = 1
text_background = 
text_color_nicks = 0
text_font = DejaVu Sans Mono 7
text_font_main = Monospace 9
text_font_alternative = Arial Unicode MS,Lucida Sans Unicode,MS Gothic,Unifont
text_indent = 1
text_max_indent = 256
text_max_lines = 500
text_replay = 0
text_search_case_match = 0
text_search_backward = 0
text_search_highlight_all = 0
text_search_follow = 1
text_search_regexp = 0
text_show_marker = 0
text_show_sep = 1
text_spell_langs = en_US
text_stripcolor_msg = 0
text_stripcolor_replay = 1
text_stripcolor_topic = 1
text_thin_sep = 1
text_tint_blue = 195
text_tint_green = 195
text_tint_red = 195
text_transparent = 0
text_wordwrap = 1
url_grabber = 1
url_grabber_limit = 100
url_logging = 0
 

x

colors.conf(raw, dl)

 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
└─➤ cat colors.conf
color_0 = ffff ffff ffff
color_1 = 0000 7c63 ffff
color_2 = 8b8b ffff 0000
color_3 = ffff 8d09 0000
color_4 = ffff 0000 0000
color_5 = ffff 63db 0000
color_6 = 5c5c 3535 6666
color_7 = ffff 7254 0000
color_8 = ffff d0fa 0000
color_9 = ffff 9ea7 0000
color_10 = 0000 ffff b051
color_11 = 0000 ffff f1f8
color_12 = 0000 7a97 ffff
color_13 = ffff 0000 5e1f
color_14 = 0000 0000 0000
color_15 = 0000 0000 0000
color_16 = ffff ffff ffff
color_17 = ffff ffff ffff
color_18 = adad bdbd 0000
color_19 = adad bdbd 0000
color_20 = adad bdbd 0000
color_21 = adad bdbd 0000
color_22 = adad bdbd 0000
color_23 = adad bdbd 0000
color_24 = adad bdbd 0000
color_25 = adad bdbd 0000
color_26 = adad bdbd 0000
color_27 = adad bdbd 0000
color_28 = ffff ffff ffff
color_29 = ffff ffff ffff
color_30 = ffff ffff ffff
color_31 = ffff ffff ffff
color_256 = d2d2 d2d2 d2d2
color_257 = 2222 2222 2222
color_258 = ffff ffff ffff
color_259 = 2222 2222 2222
color_260 = ffff 63db 0000
color_261 = 0000 7000 ffff
color_262 = 7c8a ffff 0000
color_263 = ffff 7254 0000
color_264 = 9999 ffff 0000
color_265 = ffff 0000 0000
 

x

Notes

This is my first theme. Built in Archlinux using DWM && Hexchat. It’s very clean and very light. Enjoy.

Shared:
DWM (config.h)
Hexchat (hexchat.conf & colors.conf)

Comments

Him said about 12 years ago

Very nice; the terminal colours go very well with the background, as does the GTK theme.

cinelli said about 12 years ago

Thank you.

Neuromatic said about 11 years ago

Looks very, very nice. Simply and awesome.