changed bg, changed screenshot method, added zshrc

This commit is contained in:
hnhx 2022-11-06 21:05:27 +01:00
parent 18fced8229
commit 41011de888
7 changed files with 16 additions and 2 deletions

View File

@ -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
View File

BIN
bg.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 5.0 MiB

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

2
screenshot Executable file
View 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
View 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/ $ "