From 7f6479f642971e744da3759bde232f1af6b6d22b Mon Sep 17 00:00:00 2001 From: joy Date: Sun, 11 Aug 2024 17:44:22 +0200 Subject: [PATCH] newsboat mpv --- home/hyprland/default.nix | 16 ++++++++-------- home/newsboat/default.nix | 15 +++++++++++---- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 7cc8670..01d2cbe 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -20,7 +20,7 @@ settings = { "$mod" = "SUPER"; - "$scrPath" = "~/nix/home/hyprland/scirpts/"; + "$scrPath" = "~/nix/home/hyprland/scirpts"; dwindle = { pseudotile = true; @@ -73,9 +73,9 @@ "$mod, A, exec, rofi -show drun" "$mod, F, exec, freetube" "$mod, C, exec, hyprpicker -a" - "$mod+Shift, W, exec, sh $scrPath/vm.sh" + "$mod+Shift, W, exec, sh ~/nix/home/hyprland/scripts/vm.sh" "$mod+Shift, Z, exec, grim - | swappy -f -" - "$mod, Z, exec, sh $scrPath/screen.sh" + "$mod, Z, exec, sh ~/nix/home/hyprland/scripts/screen.sh" "$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy" # controles @@ -87,7 +87,7 @@ "$mod, G, exec, sh $scrPath/gamemode.sh" # cmus - "$mod, D, exec, sh $scrPath/cmus.sh" + "$mod, D, exec, sh ~/nix/home/hyprland/scripts/cmus.sh" "$mod, P, exec, cmus-remote --pause" "$mod, comma, exec, cmus-remote --prev" "$mod, period, exec, cmus-remote --next" @@ -147,10 +147,10 @@ bindl = [ ", XF86MonBrightnessUp, exec, brightnessctl set +10%" ", XF86MonBrightnessDown, exec, brightnessctl set 10%-" - ", XF86AudioRaiseVolume, exec, sh $scrPath/volume.sh -i" - ", XF86AudioLowerVolume, exec, sh $scrPath/volume.sh -d" - ", XF86AudioMute, exec, sh $scrPath/volume.sh -m" - ", XF86AudioMicMute, exec, sh $scrPath/volume.sh -t" + ", XF86AudioRaiseVolume, exec, sh ~/nix/home/hyprland/scripts/volume.sh -i" + ", XF86AudioLowerVolume, exec, sh ~/nix/home/hyprland/scripts/volume.sh -d" + ", XF86AudioMute, exec, sh ~/nix/home/hyprland/scripts/volume.sh -m" + ", XF86AudioMicMute, exec, sh ~/nix/home/hyprland/scripts/volume.sh -t" ]; general = { diff --git a/home/newsboat/default.nix b/home/newsboat/default.nix index fbb9b6a..576598c 100644 --- a/home/newsboat/default.nix +++ b/home/newsboat/default.nix @@ -14,9 +14,16 @@ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA"; } ]; - extraConfig = " -bind-key j down -bind-key k up - "; + extraConfig = '' + bind-key j down + bind-key k up + bind-key j next articlelist + bind-key k prev articlelist + bind-key ge end + bind-key gg home + bind-key l open + bind-key h quit + macro y set browser "mpv %u" ; open-in-browser ; set browser "elinks %u" + ''; }; }