Stickynotes assigned to Sway workspaces.
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.

README.md 936 B

3 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Sway Stickynotes
  2. Add a stickynote to your Sway workspace. This makes it easy to remember what you were doing on each workspace.
  3. ## Usage
  4. - Execute `stickynote` via an application launcher (e.g. `dmenu` using Super+D)
  5. - Edit the current workspace's stickynote text
  6. - Enjoy the helpful stickynote!
  7. ![Screenshot](screenshot.png)
  8. ## Install
  9. ### Scripts
  10. Core script:
  11. ```
  12. sudo cp sway_stickynotes /usr/local/bin/
  13. ```
  14. Dialog launcher, edit this one if you don't use `termite` as your terminal emulator:
  15. ```
  16. sudo cp stickynote /usr/local/bin/
  17. ```
  18. ### Waybar configuration
  19. #### ~/.config/waybar/config
  20. ```
  21. ...
  22. "modules-left": [
  23. "sway/workspaces",
  24. "custom/stickynote"
  25. ],
  26. ...
  27. "custom/stickynote": {
  28. "exec": "sway_stickynotes get",
  29. "interval": 1
  30. },
  31. ```
  32. #### ~/.config/waybar/style
  33. ```
  34. #custom-stickynote {
  35. background: #1f1f1f;
  36. padding: 2px 10px;
  37. border: 1px solid #333;
  38. }
  39. ```
  40. Done!