diff --git a/users/profiles/cli/default.nix b/users/profiles/cli/default.nix index f4002f58..4e657437 100644 --- a/users/profiles/cli/default.nix +++ b/users/profiles/cli/default.nix @@ -52,6 +52,7 @@ xxd kitty taskwarrior + yt-dlp gnupg syncthing dijo diff --git a/users/profiles/desktop/bin/mpv-ify b/users/profiles/desktop/bin/mpv-ify new file mode 100755 index 00000000..bb4138b8 --- /dev/null +++ b/users/profiles/desktop/bin/mpv-ify @@ -0,0 +1,3 @@ +#!/usr/bin/bash +URL="$(xclip -o)" +mpv $URL diff --git a/users/profiles/desktop/default.nix b/users/profiles/desktop/default.nix index 3293014b..d67b9158 100644 --- a/users/profiles/desktop/default.nix +++ b/users/profiles/desktop/default.nix @@ -107,6 +107,7 @@ in ".local/bin/passmenu".source = ./bin/passmenu; ".local/bin/powermenu".source = ./bin/powermenu; ".local/bin/screenshot".source = ./bin/screenshot; + ".local/bin/mpv-ify".source = ./bin/mpv-ify; # ".local/bin/hotplug-monitor.sh".source = ./bin/hotplug-monitor.sh; }; diff --git a/users/profiles/desktop/sxhkdrc b/users/profiles/desktop/sxhkdrc index 0b49fbf9..107384f4 100644 --- a/users/profiles/desktop/sxhkdrc +++ b/users/profiles/desktop/sxhkdrc @@ -95,6 +95,8 @@ super + shift + {Left,Down,Up,Right} # ## Media keys +super + u + mpv-ify # screenshot region Print