mirror of
https://github.com/rileyrg/linux-init.git
synced 2024-09-29 05:37:29 +02:00
sway-screen-recorder
This commit is contained in:
parent
a65ecb85ec
commit
40b2a11bda
5 changed files with 23 additions and 5 deletions
|
@ -81,7 +81,7 @@ filter_flags = ["--filter-from", "excludes.txt"]
|
|||
#
|
||||
# There is extemely minimal validation of flags. If you're uncertain, have
|
||||
# a backup and test with `--dry-run`
|
||||
rclone_flags = [ "--links","--check-first","--checkers","8","--transfers","8"]
|
||||
rclone_flags = [ "--links","--check-first","--checkers","5","--transfers","5"]
|
||||
# The following are added to the existing environment.
|
||||
# These should NOT include any filtering!
|
||||
rclone_env = {}
|
||||
|
|
11
README.md
11
README.md
|
@ -2056,7 +2056,7 @@ but in both cases we check if it exists in the sway tree, and, if not, set it it
|
|||
notify-send -t 3000 "${@}" || true
|
||||
|
||||
|
||||
<a id="orgdfc6eb6"></a>
|
||||
<a id="orgf0ad46c"></a>
|
||||
|
||||
### ~/bin/sway/sway-screen
|
||||
|
||||
|
@ -2102,7 +2102,7 @@ See <https://www.reddit.com/r/swaywm/comments/10ys0oy/comment/j80lu88/?context=3
|
|||
|
||||
### ~/bin/sway/sway-screen-menu
|
||||
|
||||
Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#orgdfc6eb6).
|
||||
Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#orgf0ad46c).
|
||||
|
||||
:ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9
|
||||
|
||||
|
@ -2185,6 +2185,13 @@ Thanks: <https://www.reddit.com/r/linuxmasterrace/comments/k1bjkp/i_wrote_a_triv
|
|||
fi
|
||||
|
||||
|
||||
### ~/bin/sway/sway-screen-recorder
|
||||
|
||||
#!/usr/bin/env bash
|
||||
# Maintained in linux-config.org
|
||||
wl-recorder -g "$(slurp)"
|
||||
|
||||
|
||||
### ~/bin/sway/sway-volume-notify
|
||||
|
||||
#!/usr/bin/env bash
|
||||
|
|
3
directories/bin/sway/sway-screen-recorder
Executable file
3
directories/bin/sway/sway-screen-recorder
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
# Maintained in linux-config.org
|
||||
wf-recorder -g "$(slurp)"
|
2
dot-config/sway/config
Normal file → Executable file
2
dot-config/sway/config
Normal file → Executable file
|
@ -241,7 +241,7 @@ bindsym $mod+Control+q mode "$mode_system"
|
|||
#assign [app_id="Alacritty"] $ws1
|
||||
#assign [class="Ardour"] $ws6
|
||||
assign [class="Code"] $ws3
|
||||
# assign [app_id="firefox"] $ws2
|
||||
assign [app_id="firefox"] $ws2
|
||||
assign [class="Signal"] $ws8
|
||||
assign [class="jetbrains-studio"] $ws3
|
||||
assign [app_id="emacs"] $ws1
|
||||
|
|
|
@ -1398,7 +1398,7 @@ A basic [[https://github.com/yory8/clipman][clipboard manager]] for Wayland, wit
|
|||
#assign [app_id="Alacritty"] $ws1
|
||||
#assign [class="Ardour"] $ws6
|
||||
assign [class="Code"] $ws3
|
||||
# assign [app_id="firefox"] $ws2
|
||||
assign [app_id="firefox"] $ws2
|
||||
assign [class="Signal"] $ws8
|
||||
assign [class="jetbrains-studio"] $ws3
|
||||
assign [app_id="emacs"] $ws1
|
||||
|
@ -2493,6 +2493,14 @@ Thanks: https://www.reddit.com/r/linuxmasterrace/comments/k1bjkp/i_wrote_a_trivi
|
|||
{DIR}/screenshot-latest.png"
|
||||
fi
|
||||
#+end_src
|
||||
|
||||
*** ~/bin/sway/sway-screen-recorder
|
||||
#+begin_src bash :tangle ~/bin/sway/sway-screen-recorder
|
||||
#!/usr/bin/env bash
|
||||
# Maintained in linux-config.org
|
||||
wf-recorder -g "$(slurp)"
|
||||
#+end_src
|
||||
|
||||
*** ~/bin/sway/sway-volume-notify
|
||||
#+begin_src bash :tangle "~/bin/sway/sway-volume-notify"
|
||||
#!/usr/bin/env bash
|
||||
|
|
Loading…
Reference in a new issue