diff --git a/Makefile b/Makefile index b5d05e2..7415517 100644 --- a/Makefile +++ b/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 diff --git a/bar b/bar old mode 100644 new mode 100755 diff --git a/bg.jpg b/bg.jpg index 648a62f..705aecd 100644 Binary files a/bg.jpg and b/bg.jpg differ diff --git a/dwmconfig.h b/dwmconfig.h index 5f69d7d..a7a892b 100644 --- a/dwmconfig.h +++ b/dwmconfig.h @@ -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 } }, diff --git a/rice.png b/rice.png new file mode 100644 index 0000000..ed0e225 Binary files /dev/null and b/rice.png differ diff --git a/screenshot b/screenshot new file mode 100755 index 0000000..383953e --- /dev/null +++ b/screenshot @@ -0,0 +1,2 @@ +#!/bin/sh +scrot -f "/tmp/clipboard.png" -o -s -e 'xclip -selection clipboard -t image/png -i $f' diff --git a/zshrc b/zshrc new file mode 100644 index 0000000..6014ea0 --- /dev/null +++ b/zshrc @@ -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/ $ "