newsboat mpv

This commit is contained in:
joygnu 2024-08-11 17:44:22 +02:00
parent 7e0c431cb0
commit 9bb6901218
2 changed files with 19 additions and 12 deletions

View file

@ -20,7 +20,7 @@
settings = { settings = {
"$mod" = "SUPER"; "$mod" = "SUPER";
"$scrPath" = "~/nix/home/hyprland/scirpts/"; "$scrPath" = "~/nix/home/hyprland/scirpts";
dwindle = { dwindle = {
pseudotile = true; pseudotile = true;
@ -73,9 +73,9 @@
"$mod, A, exec, rofi -show drun" "$mod, A, exec, rofi -show drun"
"$mod, F, exec, freetube" "$mod, F, exec, freetube"
"$mod, C, exec, hyprpicker -a" "$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+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" "$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
# controles # controles
@ -87,7 +87,7 @@
"$mod, G, exec, sh $scrPath/gamemode.sh" "$mod, G, exec, sh $scrPath/gamemode.sh"
# cmus # 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, P, exec, cmus-remote --pause"
"$mod, comma, exec, cmus-remote --prev" "$mod, comma, exec, cmus-remote --prev"
"$mod, period, exec, cmus-remote --next" "$mod, period, exec, cmus-remote --next"
@ -147,10 +147,10 @@
bindl = [ bindl = [
", XF86MonBrightnessUp, exec, brightnessctl set +10%" ", XF86MonBrightnessUp, exec, brightnessctl set +10%"
", XF86MonBrightnessDown, exec, brightnessctl set 10%-" ", XF86MonBrightnessDown, exec, brightnessctl set 10%-"
", XF86AudioRaiseVolume, exec, sh $scrPath/volume.sh -i" ", XF86AudioRaiseVolume, exec, sh ~/nix/home/hyprland/scripts/volume.sh -i"
", XF86AudioLowerVolume, exec, sh $scrPath/volume.sh -d" ", XF86AudioLowerVolume, exec, sh ~/nix/home/hyprland/scripts/volume.sh -d"
", XF86AudioMute, exec, sh $scrPath/volume.sh -m" ", XF86AudioMute, exec, sh ~/nix/home/hyprland/scripts/volume.sh -m"
", XF86AudioMicMute, exec, sh $scrPath/volume.sh -t" ", XF86AudioMicMute, exec, sh ~/nix/home/hyprland/scripts/volume.sh -t"
]; ];
general = { general = {

View file

@ -14,9 +14,16 @@
url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA"; url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA";
} }
]; ];
extraConfig = " extraConfig = ''
bind-key j down bind-key j down
bind-key k up 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"
'';
}; };
} }