dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit f3578d94e876f353f6d98d6217b8eb237ca3c98a
parent 4ca0e3f69c1ab4d4a5a813298c4d12b1216ee11e
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Tue, 21 Apr 2020 19:36:00 +0200

Reconfigure autostart in dwm

Also adapt to new statusbar script

Diffstat:
Msuckless/dwm/config.h | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/suckless/dwm/config.h b/suckless/dwm/config.h @@ -51,12 +51,13 @@ static const Rule rules[] = { { NULL, "mpv-youtube", NULL, 1<<6, 0, -1 }, { NULL, NULL, "mpv-youtube.bash", 1<<6, 0, -1 }, { NULL, NULL, "youtube-viewer", 1<<6, 0, -1 }, + { NULL, NULL, "mpsyt", 1<<6, 0, -1 }, { "Thunderbird", NULL, NULL, 1<<7, 0, -1 }, { NULL, NULL, "mutt", 1<<7, 0, -1 }, { "Firefox", NULL, NULL, 1<<8, 0, -1 }, { "Nightly", NULL, NULL, 1<<8, 0, -1 }, { "qutebrowser", NULL, NULL, 1<<8, 0, -1 }, - { NULL, NULL, "mpsyt", 1<<8, 0, -1 }, + { NULL, "surf", NULL, 1<<8, 0, -1 }, }; /* layout(s) */ @@ -86,7 +87,7 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-c", "-p", "Run:", "-l", dmenuln, "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; -static const char *statusbarcmd[] = { "dmenu_statusbar", "-c", "-p", "System Info:", "-l", "8", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; /* Define command for starting dmenu-based statusbar */ +static const char *statusbarcmd[] = { "statusbar", NULL }; /* Define command for starting dmenu-based statusbar */ static const char *lockcmd[] = { "slock", NULL }; /* Define command for locking screen */ static const char *volumeupcmd[] = { "pactl", "set-sink-volume", "0", "+1%", NULL }; static const char *volumedowncmd[] = { "pactl", "set-sink-volume", "0", "-1%", NULL };