main
TitanE 10 months ago
parent 983b35fc8b
commit 17b541bcb6

@ -11,12 +11,12 @@ static unsigned int swallowfloating;
static const char *fonts[] = { "JetBrainsMono Nerd Font Propo:size=12" }; static const char *fonts[] = { "JetBrainsMono Nerd Font Propo:size=12" };
static const char dmenufont[] = "JetBrainsMono Nerd Font Propo:size=12"; static const char dmenufont[] = "JetBrainsMono Nerd Font Propo:size=12";
static const char col_gray1[] = "#222222"; static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444"; static const char col_gray2[] = "#4C566A";
static const char col_gray3[] = "#bbbbbb"; static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee"; static const char col_gray4[] = "#eeeeee";
static const char col_black[] = "#282a36"; static const char col_black[] = "#282a36";
static const char col_cyan[] = "#005577"; static const char col_cyan[] = "#005577";
static const char col_purple[] = "#bd93f9"; static const char col_purple[] = "#81A1C1";
static const char *colors[][3] = { static const char *colors[][3] = {
/* fg bg border */ /* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
@ -24,7 +24,7 @@ static const char *colors[][3] = {
}; };
/* tagging */ /* tagging */
static const char *tags[] = { "", "󰖟", "", "", "", "󰋩", "", "", "" }; static const char *tags[] = { "", "󰖟", "󰀄", "", "", "󰋩", "", "", "" };
static const Rule rules[] = { static const Rule rules[] = {
/* xprop(1): /* xprop(1):
@ -69,12 +69,14 @@ static const char *dmenucmd[] = { "dmenu_run", "-c", "-g", "4", "-l", "15", "-m"
static const char *termcmd[] = { "/usr/local/bin/st", NULL }; static const char *termcmd[] = { "/usr/local/bin/st", NULL };
static const char *browsecmd[] = { "/usr/bin/librewolf", "-p", "browsing", NULL }; static const char *browsecmd[] = { "/usr/bin/librewolf", "-p", "browsing", NULL };
static const char *acccmd[] = { "/usr/bin/librewolf", "-p", "accounts", NULL }; static const char *acccmd[] = { "/usr/bin/librewolf", "-p", "accounts", NULL };
static const char *volup[] = { "/usr/bin/volume", "up", NULL };
static const char *voldown[] = { "/usr/bin/volume", "down", NULL };
static const char *volmute[] = { "/usr/bin/volume", "mute", NULL };
static const char *filebrowse[] = { "/usr/bin/thunar", NULL }; static const char *filebrowse[] = { "/usr/bin/thunar", NULL };
static const char *sharecmd[] = { "/usr/local/bin/st", "-c", "floating-term", "-g", "130x35", "-e", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/shr", NULL }; static const char *sharecmd[] = { "/usr/local/bin/st", "-c", "floating-term", "-g", "130x35", "-e", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/shr", NULL };
static const char *viewnote[] = { "/usr/local/bin/st", "-c", "floating-term", "-g", "130x35", "-e", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/viewnote", NULL };
static const char *takenote[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/note", NULL };
static const char *bmcmd[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/bookmarks", NULL }; static const char *bmcmd[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/bookmarks", NULL };
static const char *volup[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/system/volume", "up", NULL };
static const char *voldown[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/system/volume", "down", NULL };
static const char *volmute[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/system/volume", "mute", NULL };
static const char *lockcmd[] = { "slock", NULL }; static const char *lockcmd[] = { "slock", NULL };
static const char *powercmd[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/system/power", NULL }; static const char *powercmd[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/system/power", NULL };
static const char *screenshotcmd[] = { "flameshot", "gui", NULL }; static const char *screenshotcmd[] = { "flameshot", "gui", NULL };
@ -91,6 +93,8 @@ static const Key keys[] = {
{ MODKEY, XK_F9, spawn, {.v = volmute } }, { MODKEY, XK_F9, spawn, {.v = volmute } },
{ MODKEY, XK_F10, spawn, {.v = voldown } }, { MODKEY, XK_F10, spawn, {.v = voldown } },
{ MODKEY, XK_F11, spawn, {.v = volup } }, { MODKEY, XK_F11, spawn, {.v = volup } },
{ MODKEY, XK_n, spawn, {.v = takenote } },
{ MODKEY|ShiftMask, XK_n, spawn, {.v = viewnote } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } }, { MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } },
{ MODKEY|ShiftMask, XK_w, spawn, {.v = acccmd } }, { MODKEY|ShiftMask, XK_w, spawn, {.v = acccmd } },

BIN
dwm

Binary file not shown.

BIN
dwm.o

Binary file not shown.
Loading…
Cancel
Save