diff options
| author | Aleksa Vučković <aleksav013@gmail.com> | 2021-07-14 17:42:02 +0200 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-12-06 05:05:49 +0100 |
| commit | 3ee2601309c472bcc8ed9d58bb7ddd53ece7f3b7 (patch) | |
| tree | 134c4e1d10941229d9488d90e2efb101b20df59b /config.def.h | |
| parent | dfcf1e5c653274d18d2df34ee7cf23e598d539db (diff) | |
Adding keyboard music controls
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index e313252..e9b7f98 100644 --- a/config.def.h +++ b/config.def.h @@ -19,7 +19,7 @@ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "Inconsolata Nerd Font Mono:size=11:autohint=true:antialias=true", "JoyPixels:pixelsize=10:autohint=true:antialias=true", }; +static const char *fonts[] = { "monospace:size=10:autohint=true:antialias=true", "JoyPixels:pixelsize=10:autohint=true:antialias=true", }; static const char dmenufont[] = "monospace:size=10"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; @@ -115,8 +115,11 @@ static const Key keys[] = { { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("/usr/bin/pamixer -i 5;kill -44 $(pidof dwmblocks)") }, { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("/usr/bin/xbacklight -inc 5;kill -40 $(pidof dwmblocks)") }, { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("/usr/bin/xbacklight -dec 5;kill -40 $(pidof dwmblocks)") }, + { 0, XF86XK_AudioPrev, spawn, SHCMD("/usr/bin/mpc --port=6601 prev") }, + { 0, XF86XK_AudioPlay, spawn, SHCMD("/usr/bin/mpc --port=6601 toggle") }, + { 0, XF86XK_AudioNext, spawn, SHCMD("/usr/bin/mpc --port=6601 next") }, { 0, XF86XK_Search, spawn, SHCMD("$BROWSER") }, - { 0, XK_Print, spawn, SHCMD("scrot -e 'mv $f ~/Pictures/Screenshots/'") }, + { 0, XK_Print, spawn, SHCMD("/usr/bin/scrot -e 'mv $f ~/Pictures/Screenshots/'") }, }; |
