comment sway-screen,sway-screen-menu

This commit is contained in:
rileyrg 2021-05-26 10:02:20 +02:00
parent c93e63515c
commit 4ea4be8c0d
2 changed files with 15 additions and 0 deletions

View file

@ -1841,8 +1841,14 @@ notify-send -t 3000 "${@}"
```
<a id="orgdee8f28"></a>
### ~/bin/sway/sway-screen
`enable` or `disable`. Won't allow you to turn off the sole enabled display.
:ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9
```bash
#!/usr/bin/bash
# Maintained in linux-config.org
@ -1856,6 +1862,10 @@ swaymsg "output ${m} ${c}"
### ~/bin/sway/sway-screen-menu
Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#orgdee8f28).
:ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9
```bash
#!/usr/bin/bash
# Maintained in linux-config.org

View file

@ -2278,6 +2278,10 @@ but in both cases we check if it exists in the sway tree, and, if not, set it it
#+end_src
*** ~/bin/sway/sway-screen
:PROPERTIES:
:ID: 539e9065-2df6-44ac-9ce8-530f9fd9e3c4
:END:
~enable~ or ~disable~. Won't allow you to turn off the sole enabled display.
:PROPERTIES:
:ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9
:END:
#+begin_src bash :tangle "~/bin/sway/sway-screen"
@ -2290,6 +2294,7 @@ but in both cases we check if it exists in the sway tree, and, if not, set it it
(sleep 2 && sway-notify "${m}:${c}") &
#+end_src
*** ~/bin/sway/sway-screen-menu
Gui to select a display and enable/disable it. Calls down to [[id:539e9065-2df6-44ac-9ce8-530f9fd9e3c4][~/bin/sway/sway-screen]].
:PROPERTIES:
:ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9
:END: