From 1c789a9e7276e0d9313bb37d16f8f60c98df4971 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 26 May 2020 13:59:57 +0200 Subject: [PATCH] [sxhkd] Add basic mode keybinds Moved media mode keys from i3 to sxhkd without changes. Added F1 and F2 to academia mode display, to display upcoming and all bibfile readings (only urgent by default, with shift it displays priorities). --- sxhkd/.config/sxhkd/sxhkdrc | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 1ffdb37..0efa2b3 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -46,21 +46,25 @@ super + q # media control mode # seek +/- 5 seconds -super + alt + m : {h,l} +alt + m : {h,l} playerctl position {5-,5+} # seek +/- 15 seconds -super + alt + m : shift + {h,l} +alt + m : shift + {h,l} playerctl position {15-,15+} # decrease/increase volume -super + alt + m : {j,k} +alt + m : {j,k} pulsemixer --change-volume {-5,+5} # decrease/increase volume -super + alt + m : shift + {j,k} +alt + m : shift + {j,k} playerctl {next,previous} # pause/stop player -super + alt + m : {_,shift} + p +alt + m : {_,shift} + p playerctl {play-pause,stop} # academia mode -super + alt + a : d - echo noice +# due papers this week +alt + a : {F1,F2} + rofi-bib-due -p{1,3} -u $(date --date='fri this week' +%Y-%m-%d) +# due papers overall +alt + a : shift + {F1,F2} + rofi-bib-due -p{1,3}