home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 430ef9b693f9c2a33066e413c64f09589f29bfac
parent aae9e6dda188a336c12bc711f00afd8f2972b31b
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 14 Dec 2020 18:43:18 +0100

users/vincent: bind shot and pomodoro's

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Musers/vincent/desktop/i3.nix | 17++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/users/vincent/desktop/i3.nix b/users/vincent/desktop/i3.nix @@ -214,9 +214,6 @@ in "Mod4+Mod1+45" = "gaps inner current minus 5"; "Mod4+Mod1+46" = "gaps outer current plus 5"; "Mod4+Mod1+47" = "gaps outer current minus 5"; - # Split - #"Mod4+43" = "split h"; - #"Mod4+55" = "split v"; # Fullscreen "Mod4+41" = "fullscreen toggle"; # Change container layout @@ -318,6 +315,8 @@ in bindsym $mod+Shift+p exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3?' -b 'Yes, exit i3' 'i3-msg exit'" # powermenu bindsym $mod+F12 exec ${powermenu} + bindsym $mod+F10 exec ${pkgs.my.scripts}/bin/shot %d + bindsym $mod+Shift+F10 exec ${pkgs.my.scripts}/bin/shotf %d # screen management bindsym $mod+F11 exec "autorandr -c on-the-move" @@ -377,6 +376,18 @@ in for_window [instance="metask"] move scratchpad; [instance="metask"] scratchpad show; move position center; move scratchpad bindcode $mod+49 [instance="metask"] scratchpad show + ## pomodoro + # bepo s = 45 + # bepo p = 26 + set $pomodoro "pomodoro: [s]tart-stop [p]ause-resume" + mode $pomodoro { + bindcode 45 exec "${pkgs.gnome3.pomodoro}/bin/gnome-pomodoro --start-stop"; mode "default" + bindcode 26 exec "${pkgs.gnome3.pomodoro}/bin/gnome-pomodoro --pause-resume"; mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" + } + bindcode $mod+43 mode $pomodoro + ## scratchpad set $scratchpad "scratchpad: [$]terminal [p]avucontrol" mode $scratchpad {