sway-screen-recorder

This commit is contained in:
rileyrg 2024-01-18 10:20:47 +01:00
parent a65ecb85ec
commit 40b2a11bda
5 changed files with 23 additions and 5 deletions

View file

@ -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 = {}

View file

@ -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

View 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
View 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

View file

@ -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