Edit scrotcmd
parent
fcbd987f4b
commit
9a0395f609
8
config.h
8
config.h
|
@ -5,6 +5,10 @@
|
||||||
#define BROWSER "firefox"
|
#define BROWSER "firefox"
|
||||||
#define SCREENSHOTS_PATH "/home/naki/pic/screenshots/"
|
#define SCREENSHOTS_PATH "/home/naki/pic/screenshots/"
|
||||||
|
|
||||||
|
#define SCROT_PATH "/home/naki/dwmscripts/scrot.sh"
|
||||||
|
|
||||||
|
#include "frappe.h"
|
||||||
|
|
||||||
/* appearance */
|
/* appearance */
|
||||||
static const unsigned int borderpx = 2; /* border pixel of windows */
|
static const unsigned int borderpx = 2; /* border pixel of windows */
|
||||||
static const unsigned int snap = 32; /* snap pixel */
|
static const unsigned int snap = 32; /* snap pixel */
|
||||||
|
@ -21,7 +25,6 @@ static const int sidepad = 5;
|
||||||
static const char *fonts[] = { "monospace:size=10", "fontawesome:size=12", "NotoColorEmoji:size=12" };
|
static const char *fonts[] = { "monospace:size=10", "fontawesome:size=12", "NotoColorEmoji:size=12" };
|
||||||
static const char dmenufont[] = "monospace:size=10";
|
static const char dmenufont[] = "monospace:size=10";
|
||||||
|
|
||||||
#include "theme.h"
|
|
||||||
static const char *colors[][3] = {
|
static const char *colors[][3] = {
|
||||||
/* fg bg border */
|
/* fg bg border */
|
||||||
[SchemeNorm] = { col_fg, col_bg, col_bg },
|
[SchemeNorm] = { col_fg, col_bg, col_bg },
|
||||||
|
@ -76,7 +79,8 @@ static const char *discordcmd[] = { "discord", NULL };
|
||||||
static const char *volupcmd[] = { "amixer", "-D", "pulse", "sset", "Master", "5%+", "unmute", NULL };
|
static const char *volupcmd[] = { "amixer", "-D", "pulse", "sset", "Master", "5%+", "unmute", NULL };
|
||||||
static const char *voldowncmd[] = { "amixer", "-D", "pulse", "sset", "Master", "5%-", "unmute", NULL };
|
static const char *voldowncmd[] = { "amixer", "-D", "pulse", "sset", "Master", "5%-", "unmute", NULL };
|
||||||
|
|
||||||
static const char *scrotcmd[] = { "scrot", "-s", "-f", SCREENSHOTS_PATH "/%F_%T_$wx$h.png", "-e", "xclip -selection clipboard -target image/png -i $f", NULL };
|
// static const char *scrotcmd[] = { "scrot", "-s", "-f", SCREENSHOTS_PATH "/%F_%T_$wx$h.png", "-e", "xclip -selection clipboard -target image/png -i $f", NULL };
|
||||||
|
static const char *scrotcmd[] = { SCROT_PATH, NULL };
|
||||||
|
|
||||||
static Key keys[] = {
|
static Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
|
|
1
dwm.c
1
dwm.c
|
@ -249,6 +249,7 @@ static int xerror(Display *dpy, XErrorEvent *ee);
|
||||||
static int xerrordummy(Display *dpy, XErrorEvent *ee);
|
static int xerrordummy(Display *dpy, XErrorEvent *ee);
|
||||||
static int xerrorstart(Display *dpy, XErrorEvent *ee);
|
static int xerrorstart(Display *dpy, XErrorEvent *ee);
|
||||||
static void zoom(const Arg *arg);
|
static void zoom(const Arg *arg);
|
||||||
|
void roundcorners(Client *c);
|
||||||
|
|
||||||
/* variables */
|
/* variables */
|
||||||
static const char broken[] = "broken";
|
static const char broken[] = "broken";
|
||||||
|
|
Loading…
Reference in New Issue