mirror of https://github.com/hnhx/rice.git
changed bg, changed screenshot method, added zshrc
This commit is contained in:
parent
18fced8229
commit
41011de888
4
Makefile
4
Makefile
|
@ -6,8 +6,12 @@ all:
|
|||
cp ./dwmconfig.h ./dwm/config.h
|
||||
cp -f ./.xinitrc ~/.xinitrc
|
||||
feh --bg-scale ./bg.jpg
|
||||
chmod +x ./bar
|
||||
chmod +x ./screenshot
|
||||
|
||||
install:
|
||||
$(MAKE) -C st install
|
||||
$(MAKE) -C dwm install
|
||||
cp ./zshrc $(HOME)/.zshrc
|
||||
cp ./bar /usr/local/bin/
|
||||
cp ./screenshot /usr/local/bin
|
||||
|
|
BIN
bg.jpg
BIN
bg.jpg
Binary file not shown.
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 5.0 MiB |
|
@ -59,13 +59,13 @@ static const Layout layouts[] = {
|
|||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-b", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_gray1, "-sf", col_purple, NULL };
|
||||
static const char *termcmd[] = { "st", NULL };
|
||||
static const char *flameshotcmd[] = { "flameshot", "gui", NULL };
|
||||
static const char *screenshotcmd[] = { "screenshot", NULL };
|
||||
|
||||
static Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY|ShiftMask, XK_d, spawn, {.v = flameshotcmd } },
|
||||
{ MODKEY|ShiftMask, XK_d, spawn, {.v = screenshotcmd } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
scrot -f "/tmp/clipboard.png" -o -s -e 'xclip -selection clipboard -t image/png -i $f'
|
Loading…
Reference in New Issue