From b7cb49cb779d450715c64fa3637fca32dfa034f3 Mon Sep 17 00:00:00 2001 From: tristan Date: Sun, 30 Apr 2023 09:02:55 +0100 Subject: [PATCH] hyprpicker --- system/global/home.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system/global/home.nix b/system/global/home.nix index 7a3d5a6..68d07d6 100644 --- a/system/global/home.nix +++ b/system/global/home.nix @@ -169,6 +169,7 @@ in bind = SUPER, E, exec, ${ my-deps.terminal } -e aerc bind = SUPER, O, exec, pcmanfm bind = SUPER, C, exec, ${ my-scripts.open-code }/bin/open-code + bind = SUPER, G, exec, ${ pkgs.hyprpicker }/bin/hyprpicker | wl-copy && notify-send "Copied Colour" "$(wl-paste)" bind = SUPER, h, movefocus,l bind = SUPER, l, movefocus,r @@ -228,17 +229,22 @@ in } bezier=overshot, 0.05, 0.9, 0.1, 1.1 + bezier = linear, 0.0, 0.0, 1.0, 1.0 + animations { enabled = 1 animation = windows, 1, 5, default animation = border, 1, 5, default animation = fade, 1, 10,default animation = workspaces, 1, 3, overshot + animation = borderangle,1, 50, linear, loop } general { resize_on_border = yes layout = master + col.active_border = rgb(FFF00F) rgb(0FFFF0) rgb(F00FFF) 120deg + border_size = 5 } ''; }; @@ -424,6 +430,7 @@ in }; programs.lf.commands = { trash = "%${pkgs.trash-cli}/bin/trash-put \"$fx\""; + open = "$set -f; ${pkgs.ranger}/bin/rifle -p 0 \"$fx\""; open-with = ''''${{ set -f ${pkgs.ranger}/bin/rifle -l $fx