Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.5 KiB

  1. #!/bin/sh
  2. read -r -d '' MENU << EOM
  3. Arch Wiki | Open an entry from the Arch Wiki (offline) | dmenu-ambient
  4. Bluetooth | Manage bluetooth and bluetooth devices | dmenu-bluetooth
  5. Read Books | Connect to calibre-web and read a book | dmenu-books
  6. Edit Config | Select and edit configuration files in your dotfiles | dmenu-edit
  7. Kill Process | Kill a process that is bothering you | dmenu-killall
  8. Mobile Device | Manage your mobile device through mconnect | dmenu-mconnect
  9. Record Screen | Record your screen, voice or anything | dmenu-record
  10. Mount Storage Devices | Manage connected detachable storage devices | dmenu-udevil
  11. Unmount Storage Devices | Manage connected detachable storage devices | dmenu-udevil -u
  12. Word Count | Count the words, letters and lines in any string | dmenu-wc
  13. Grab Color | Grab any color on your screen | grabcolor
  14. Sync Mail | Synchronize your mail | mailsync
  15. Toggle Trackpad | Enable/Disable your trackpad | toggle_trackpad.sh
  16. Sync Nextcloud | Synchronize with your nextcloud instance | nextcloud-sync
  17. Network Settings | Manage network settings using connman | connman_dmenu
  18. Backup | Backup your system | backup
  19. Ambient Sounds | Play ambient sounds | dmenu-ambient
  20. Insert Emoji | Insert an emoji or glyph | dmenu-emoji
  21. Create Timer | Create or manage a timer | dmenu-timer
  22. Watch Youtube | Search and watch a youtube video | ytfzf_dmenu
  23. EOM
  24. selection=$(printf "$MENU" | column -s '|' -t | dmenu -p "Select a tool" -l 7)
  25. [ -z "$selection" ] && exit
  26. cmd=$(echo "$selection" | sed 's/\s\{2,\}/\n/g' | tail -n 1)
  27. bash -c "$cmd"