Gen 441: Extra firefox tweaks and organized the scripts folder

This commit is contained in:
pagedMov
2024-10-13 00:07:47 -04:00
parent 3dce49571a
commit e52da77ade
36 changed files with 229 additions and 105 deletions

View File

@@ -0,0 +1,15 @@
{ self, pkgs }:
pkgs.writeShellScriptBin "music" (''
#!/usr/bin/env bash
if (ps aux | grep audacious | grep -v grep > /dev/null) then
pkill audacious
else
hyprctl dispatch exec "[workspace 5 silent] audacious -t ~/Music/playlist"
sleep 0.5
audtool playlist-repeat-status |grep "on" || audtool playlist-repeat-toggle
audtool playlist-shuffle-status|grep "on" || audtool playlist-shuffle-toggle
fi
'')