taffybar: refresh config and add helpers
- Remove stack config in favor of cabal/flake - Add helper scripts for running/restarting and screenshots - Update bar CSS/HS config
This commit is contained in:
11
dotfiles/config/taffybar/scripts/taffybar-restart
Executable file
11
dotfiles/config/taffybar/scripts/taffybar-restart
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
|
||||
pkill -u "$USER" -x taffybar || true
|
||||
|
||||
cd "$root"
|
||||
setsid -f direnv exec . cabal run >/tmp/taffybar.log 2>&1
|
||||
|
||||
echo "Started taffybar in the background. Logs: /tmp/taffybar.log"
|
||||
Reference in New Issue
Block a user