aboutsummaryrefslogtreecommitdiff
path: root/modules/home/i3.nix
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-05-12 12:47:15 -0700
committerCaroline Larimore <caroline@larimo.re>2024-05-12 12:47:15 -0700
commit2308ab6125f5b7302f1a3968d58ad657e68aad8a (patch)
tree1baf3956eaa48182cab42eb9b1b0b5a01b25c564 /modules/home/i3.nix
parent6fa7ac57651cb628e3bcca2c76fedc3622ed4d01 (diff)
Add toggleable gaps to music widget
Diffstat (limited to 'modules/home/i3.nix')
-rw-r--r--modules/home/i3.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/home/i3.nix b/modules/home/i3.nix
index 927a813..19691dd 100644
--- a/modules/home/i3.nix
+++ b/modules/home/i3.nix
@@ -128,8 +128,10 @@
"XF86AudioPrev" = "exec playerctl previous";
# Media controller widget
- "${mod}+m" = "exec --no-startup-id eww-toggle music --arg pos=center";
- "${mod}+n" = "exec --no-startup-id eww-toggle music --arg pos=right";
+ "${mod}+m" = "exec --no-startup-id eww-toggle music --arg pos=center --arg gaps=false";
+ "${mod}+Ctrl+m" = "exec --no-startup-id eww-toggle music --arg pos=right --arg gaps=true";
+ "${mod}+Shift+m" = "exec --no-startup-id eww-toggle music --arg pos=center --arg gaps=true";
+ "${mod}+Shift+Ctrl+m" = "exec --no-startup-id eww-toggle music --arg pos=right --arg gaps=false";
# Workspaces
"${mod}+grave" = "workspace number ${ws0}";