mirror of
https://github.com/hnhx/rice.git
synced 2025-01-24 10:18:00 -03:00
changed bg, changed screenshot method, added zshrc
This commit is contained in:
parent
18fced8229
commit
41011de888
7 changed files with 16 additions and 2 deletions
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
|
||||
|
|
0
bar
Normal file → Executable file
0
bar
Normal file → Executable file
BIN
bg.jpg
BIN
bg.jpg
Binary file not shown.
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 5 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 } },
|
||||
|
|
BIN
rice.png
Normal file
BIN
rice.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
2
screenshot
Executable file
2
screenshot
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
scrot -f "/tmp/clipboard.png" -o -s -e 'xclip -selection clipboard -t image/png -i $f'
|
8
zshrc
Normal file
8
zshrc
Normal file
|
@ -0,0 +1,8 @@
|
|||
autoload -Uz compinit
|
||||
zstyle ':completion:*' menu select
|
||||
zstyle ':completion::complete:*' gain-privileges 1
|
||||
compinit
|
||||
|
||||
export PATH=$PATH:/opt/lite
|
||||
|
||||
PROMPT="%n:%F{blue}%~%f/ $ "
|
Loading…
Add table
Reference in a new issue