mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Compare commits
4 Commits
99c88f5a93
...
d1e5ad9ec8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1e5ad9ec8 | ||
|
|
708d6c6731 | ||
|
|
7253705594 | ||
|
|
5a3a9936b6 |
11
.local/bin/bookmarkthis
Normal file
11
.local/bin/bookmarkthis
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
bookmark="$(xclip -o)"
|
||||
file="$HOME/.local/share/larbs/snippets"
|
||||
|
||||
if grep "^$bookmark$" "$file"; then
|
||||
notify-send "Oops." "Already bookmarked!"
|
||||
else
|
||||
notify-send "Bookmark added!" "$bookmark is now saved to the file."
|
||||
echo "$bookmark" >> "$file"
|
||||
fi
|
||||
@ -11,9 +11,9 @@ transmission-remote -l | grep % |
|
||||
sort -h | uniq -c | awk '{print $3 $1}' | paste -sd ' ' -
|
||||
|
||||
case $BLOCK_BUTTON in
|
||||
1) setsid -f "$TERMINAL" -e tremc ;;
|
||||
1) setsid -f "$TERMINAL" -e stig ;;
|
||||
2) td-toggle ;;
|
||||
3) notify-send "🌱 Torrent module" "\- Left click to open tremc.
|
||||
3) notify-send "🌱 Torrent module" "\- Left click to open stig.
|
||||
- Middle click to toggle transmission.
|
||||
- Shift click to edit script.
|
||||
Module shows number of torrents:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user