aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-17 19:38:56 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-17 19:38:56 +0530
commit361ae84724367b1e48d8f66bec97f6b0d7a252c0 (patch)
tree2344e2d01f77cccb9b88ce36029a5d0b75b4ba5b /config.h
parent88d099c1ec921f84034689caf7e76a34a29b69b5 (diff)
downloadshotkey-361ae84724367b1e48d8f66bec97f6b0d7a252c0.tar.gz
shotkey-361ae84724367b1e48d8f66bec97f6b0d7a252c0.zip
Adds script for status bar integration
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.h b/config.h
index cff1395..21b58fd 100644
--- a/config.h
+++ b/config.h
@@ -17,11 +17,11 @@ enum {
// Define mode key bindings here
// NOTE: "10" here is the maximum number of key bindings for each mode
static Key modes[MODE_SIZE][10] = {
- [MusicPlayer] = {
+ [MusicPlayer] = { // {{{
{ 0, XK_l, SCRIPT(spotify.sh next) },
{ 0, XK_h, SCRIPT(spotify.sh prev) },
{ 0, XK_space, SCRIPT(spotify.sh play_pause) },
- },
+ },// }}}
};
// Define normal mode key bindings here
@@ -73,5 +73,5 @@ static ModeProperties mode_properties[MODE_SIZE] = {
};
// Call this script on mode change
-static char* on_mode_change = "echo 1";
+static char* on_mode_change = "~/scripts/hotkeythingy.sh on-mode-change";