Gen 441: Extra firefox tweaks and organized the scripts folder
This commit is contained in:
12
glasshouse-desktop/home/scripts/wm-controls/lofi.nix
Normal file
12
glasshouse-desktop/home/scripts/wm-controls/lofi.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ self, pkgs }:
|
||||
|
||||
|
||||
pkgs.writeShellScriptBin "lofi" (''
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if (ps aux | grep mpv | grep -v grep > /dev/null) then
|
||||
pkill mpv
|
||||
else
|
||||
runbg mpv --no-video https://www.youtube.com/live/jfKfPfyJRdk?si=OF0HKrYFFj33BzMo
|
||||
fi
|
||||
'')
|
||||
Reference in New Issue
Block a user