update dwm
This commit is contained in:
parent
d7ce56fcb7
commit
b49730c05e
1 changed files with 6 additions and 1 deletions
|
|
@ -58,6 +58,8 @@ static const char *const autostart[] = {
|
|||
SHAUTOSTART("betterlockscreen -w dim"), NULL,
|
||||
SHAUTOSTART("xss-lock -n /usr/share/doc/xss-lock/dim-screen.sh --transfer-sleep-lock -- ~/bin/lockscreen"), NULL,
|
||||
SHAUTOSTART("killall dunst; dunst"), NULL,
|
||||
// "feh", "--recursive", "--bg-fill", "~/Pictures/wallpaper", NULL,
|
||||
SHAUTOSTART("feh --recursive --bg-fill $HOME/Pictures/wallpaper"), NULL,
|
||||
// "killall", "dunst", NULL,
|
||||
// "dunst", NULL,
|
||||
NULL /* terminate */
|
||||
|
|
@ -82,6 +84,7 @@ static const Rule rules[] = {
|
|||
{ "Gimp", NULL, NULL, 0, 0, 1, 0, 0, -1 },
|
||||
{ "wezterm", NULL, NULL, 0, 0, 0, 1, 0, -1 },
|
||||
{ "st", NULL, NULL, 0, 0, 0, 1, 0, -1 },
|
||||
// { "albert", NULL, NULL, 0, 0, 1, 0, 0, -1 },
|
||||
{ "Gcr-prompter", NULL, NULL, 0, 1, 1, 1, 0, -1 },
|
||||
{ "st", NULL, "thesaurus-syn", 0, 1, 1, 1, 1, -1 },
|
||||
{ NULL, NULL, "Event Tester", 0, 0, 0, 0, 1, -1 }, /* xev */
|
||||
|
|
@ -133,6 +136,7 @@ static const Layout layouts[] = {
|
|||
#define TERM(cmd) { .v = (const char*[]){ TERM_CMD, cmd, NULL } }
|
||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||
static const char *dmenucmd[] = { "rofi", "-dpi", "1", "-show", "drun", NULL };
|
||||
static const char *albertcmd[] = { "albert", "toggle", NULL };
|
||||
static const char *calccmd[] = { "rofi", "-dpi", "1", "-show", "calc", "-modi", "calc", "-no-show-match", "-no-sort", "-kb-accept-custom", "Return", "-kb-accept-entry", "Control+Return", "-calc-command", "\"echo -n '{result}' | xclip\"", "-theme", "~/.config/rofi/calc.rasi", NULL};
|
||||
static const char *clipboardcmd[] = { "rofi", "-dpi", "1", "-modi", "clipboard:~/bin/cliphist-rofi-img", "-show", "clipboard", "-show-icons", "-theme", "~/.config/rofi/clipboard.rasi", NULL };
|
||||
static const char *termcmd[] = { TERM_CMD, NULL };
|
||||
|
|
@ -152,12 +156,13 @@ static const char *mediaplayprevcmd[] = { "/usr/bin/playerctl", "previous
|
|||
|
||||
static const Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
// { MODKEY, XK_space, spawn, {.v = albertcmd } },
|
||||
{ MODKEY, XK_space, spawn, {.v = dmenucmd } },
|
||||
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY|ShiftMask, XK_space, spawn, {.v = calccmd } },
|
||||
// { MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
// { MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY, XK_h, focusdir, {.i = 0 } },
|
||||
{ MODKEY, XK_l, focusdir, {.i = 1 } },
|
||||
{ MODKEY, XK_k, focusdir, {.i = 2 } },
|
||||
|
|
|
|||
Loading…
Reference in a new issue