feat: prtsc feh
This commit is contained in:
parent
2531b7c294
commit
f8ee677aa1
@ -32,7 +32,7 @@ static const Rule rules[] = {
|
||||
* WM_NAME(STRING) = title
|
||||
*/
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
{ NULL, NULL, NULL, 0, 0, -1 },
|
||||
{ "feh", NULL, NULL, 0, 1, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
@ -62,7 +62,7 @@ static const char *wwwcmd[] = { "firefox", NULL };
|
||||
static const char *pwwwcmd[] = { "firefox", "--private-window", NULL };
|
||||
static const char *calccmd[] = { "alacritty", "-epython", NULL };
|
||||
static const char *fmcmd[] = { "pcmanfm", NULL };
|
||||
static const char *prtsccmd[] = { "sh", "-c", "gm import png:- | xclip -sel c -t image/png", NULL };
|
||||
static const char *prtsccmd[] = { "sh", "-c", "gm import png:- | xclip -sel c -t image/png && xclip -sel c -o | feh -", NULL };
|
||||
static const char *lvolcmd[] = { "set-vol", "-5", NULL };
|
||||
static const char *rvolcmd[] = { "set-vol", "+5", NULL };
|
||||
static const char *mutecmd[] = { "set-vol", "m", NULL };
|
||||
|
5
.xinitrc
5
.xinitrc
@ -4,13 +4,12 @@ dbus-update-activation-environment --systemd DISPLAY XAUTHORITY
|
||||
|
||||
# startup
|
||||
autorandr -c &
|
||||
xss-lock -n screensaver -- lock &
|
||||
xss-lock -n feh --fullscreen "$XDG_CONFIG_HOME/wallpapers/lock.png" -- lock &
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 || # arch
|
||||
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 || # debian
|
||||
/usr/libexec/polkit-gnome-authentication-agent-1 & # fedora
|
||||
picom &
|
||||
gammastep 2> /dev/null &
|
||||
gammastep &
|
||||
sbar &
|
||||
flameshot &
|
||||
|
||||
exec dwm
|
||||
|
@ -1 +0,0 @@
|
||||
#!/usr/bin/env -Sfeh --fullscreen "${XDG_CONFIG_HOME}/wallpapers/lock.png"
|
Loading…
Reference in New Issue
Block a user