From 31762b5ecc0287f7eaec3c9c46267918c8d3bda8 Mon Sep 17 00:00:00 2001 From: Victor Isan Date: Tue, 18 Feb 2025 12:26:55 +0100 Subject: [PATCH] dock shortcuts --- config.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index ff70f77..c864a30 100644 --- a/config.h +++ b/config.h @@ -16,7 +16,7 @@ static int swallowfloating = 0; /* 1 means swallow floating windows by static int smartgaps = 0; /* 1 means no outer gap when there is only one window */ static int showbar = 1; /* 0 means no bar */ static int topbar = 1; /* 0 means bottom bar */ -static char *fonts[] = { "IntelOneMono:size=13", "NotoColorEmoji:pixelsize=10:antialias=true:autohint=true" }; +static char *fonts[] = { "IntoneMonoNerdFontMono:size=13", "NotoColorEmoji:pixelsize=10:antialias=true:autohint=true", "font-awesome"}; static char normbgcolor[] = "#222222"; static char normbordercolor[] = "#444444"; static char normfgcolor[] = "#bbbbbb"; @@ -51,6 +51,7 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating isterminal noswallow monitor */ { "Plexamp", NULL, NULL, 1 << 7, 0, 0, 0, -1 }, + { "kdeconnect.daemon", NULL, NULL, 0, 1, 0, 0, -1 }, { TERMCLASS, NULL, NULL, 0, 0, 1, 0, -1 }, { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, { TERMCLASS, "floatterm", NULL, 0, 1, 1, 0, -1 }, @@ -67,7 +68,7 @@ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen win #define FORCE_VSPLIT 1 /* nrowgrid layout: force two clients to always split vertically */ #include "vanitygaps.c" static const Layout layouts[] = { - /* symbol arrange function */ + /* symbo"kdeconnectd",l arrange function */ { "[]=", tile }, /* Default: Master on left, slaves on right */ { "TTT", bstack }, /* Master on top, slaves on bottom */ @@ -158,6 +159,8 @@ static const Key keys[] = { { MODKEY, XK_equal, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ +5%; kill -44 $(pidof dwmblocks)") }, { MODKEY|ShiftMask, XK_equal, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ +15%; kill -44 $(pidof dwmblocks)") }, + { MODKEY, XK_d, spawn, SHCMD("docked.sh") }, + { MODKEY|ShiftMask, XK_d, spawn, SHCMD("undocked.sh") }, { MODKEY|ControlMask, XK_q, quit, {0} }, { MODKEY, XK_Tab, view, {0} }, /* { MODKEY|ShiftMask, XK_Tab, spawn, SHCMD("") }, */