From faec2e281f287388acf7c83ff5f10e0005cebec4 Mon Sep 17 00:00:00 2001 From: speediegq Date: Tue, 13 Sep 2022 20:37:11 +0200 Subject: [PATCH] Update keybinds --- docs/bindlist | 2 ++ keybinds.h | 2 ++ options.h | 1 + 3 files changed, 5 insertions(+) diff --git a/docs/bindlist b/docs/bindlist index cc0faa0..9530328 100644 --- a/docs/bindlist +++ b/docs/bindlist @@ -120,6 +120,8 @@ - Power button | Ask if you wanna shut down, restart or lock your computer. - Email button | Open your defined email client - System button | Open your defined status viewer in a terminal + - Music button | Open your defined music player + - WLAN button | Disconnect from WLAN -- Mouse -- diff --git a/keybinds.h b/keybinds.h index 787e8a3..934242a 100644 --- a/keybinds.h +++ b/keybinds.h @@ -178,5 +178,7 @@ static const Key keys[] = { { 0, -1, XF86XK_Sleep, spawn, RCMD(LOCKER) }, { 0, -1, XF86XK_Mail, spawn, RCMD(TERMINAL EMAIL) }, { 0, -1, XF86XK_TaskPane, spawn, RCMD(TERMINAL SYSTEMSTAT) }, + { 0, -1, XF86XK_WLAN, spawn, RCMD(KILLNETWORK) }, + { 0, -1, XF86XK_Music, spawn, RCMD(TERMINAL MUSIC) }, #endif }; diff --git a/options.h b/options.h index 6ac63e2..570d466 100644 --- a/options.h +++ b/options.h @@ -88,6 +88,7 @@ #define CLIPBOARD "xclip" /* Clipboard to use */ #define COMPOSITOR "picom --experimental-backends" /* Compositor to use */ #define NETWORK "speedwm-netctrl" /* Network manager to use */ +#define KILLNETWORK "speedwm-netctrl disconnect" /* Command to run when disconnecting */ #define BLUETOOTH "speedwm-btctrl" /* Bluetooth manager to use */ #define NOTIFICATION "dunst" /* Notification daemon to use */