mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 03:26:13 +01:00
i3: fix screenshot
This commit is contained in:
parent
9532a33ca3
commit
92b1f62b45
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, hostname }:
|
||||
{ pkgs, hostname, screenshot }:
|
||||
|
||||
with pkgs.lib;
|
||||
|
||||
|
@ -142,9 +142,9 @@ bindsym $mod+a focus parent
|
|||
# focus the child container
|
||||
#bindsym $mod+d focus child
|
||||
|
||||
bindsym --release Print exec /home/main/.local/bin/screenshot select
|
||||
bindsym --release Shift+Print exec /home/main/.local/bin/screenshot screen
|
||||
bindsym --release Control+Shift+Print exec /home/main/.local/bin/screenshot focused
|
||||
bindsym --release Print exec ${screenshot}/bin/screenshot select
|
||||
bindsym --release Shift+Print exec ${screenshot}/bin/screenshot screen
|
||||
bindsym --release Control+Shift+Print exec ${screenshot}/bin/screenshot focused
|
||||
|
||||
# Define names for default workspaces for which we configure key bindings later on.
|
||||
# We use variables to avoid repeating the names in multiple places.
|
||||
|
|
|
@ -13,7 +13,7 @@ hostname:
|
|||
]);
|
||||
|
||||
home.file = {
|
||||
".config/i3/config".text = (import ./config.nix { inherit hostname pkgs; }).config;
|
||||
".config/i3/config".text = (import ./config.nix { inherit hostname pkgs; screenshot = custom.screenshot; }).config;
|
||||
".config/i3/status.toml".text = (import ./status.toml.nix { inherit hostname pkgs; }).config;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue