power menu, redshift, polybar
This commit is contained in:
15
.config/polybar/scripts/info-projecthamster/README.md
Normal file
15
.config/polybar/scripts/info-projecthamster/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Script: info-projecthamster
|
||||
|
||||
This script displays Hamster Time Tracker information.
|
||||
|
||||

|
||||
|
||||
|
||||
## Module
|
||||
|
||||
```ini
|
||||
[module/info-projecthamster]
|
||||
type = custom/script
|
||||
exec = ~/polybar-scripts/info-projecthamster.sh
|
||||
interval = 5
|
||||
```
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
activity=$(hamster current 2> /dev/null | cut -d " " -f 3- | sed 's/@.* / - /')
|
||||
|
||||
if [ -n "$activity" ]; then
|
||||
echo "$activity"
|
||||
else
|
||||
echo "No Activity"
|
||||
fi
|
||||
BIN
.config/polybar/scripts/info-projecthamster/screenshots/1.png
Normal file
BIN
.config/polybar/scripts/info-projecthamster/screenshots/1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
Reference in New Issue
Block a user