🗑️ remove(hypr): recording script and cli recorder; now using obs for everything recording related
This commit is contained in:
parent
1bb0b31250
commit
22c128a723
4 changed files with 1 additions and 41 deletions
|
@ -27,7 +27,6 @@
|
|||
- hyprlock
|
||||
- hypridle
|
||||
- wev
|
||||
- wf-recorder
|
||||
- wl-clipboard
|
||||
- xdg-desktop-portal-hyprland
|
||||
- kitty
|
||||
|
|
|
@ -28,7 +28,6 @@ bind = SUPER, INSERT, exec, ~/.config/hypr/scripts/color_picker
|
|||
bind = SUPERSHIFT, W, exec, ~/.config/hypr/scripts/wallpaper select
|
||||
bind = SUPERCTRL, W, exec, ~/.config/hypr/scripts/wallpaper random
|
||||
bind = SUPER, 61, exec, ~/.config/hypr/scripts/rofi/keybindings # /
|
||||
bind = SUPERSHIFT, R, exec, ~/.config/hypr/scripts/rofi/recording
|
||||
bind = SUPERSHIFT, G, exec, ~/.config/hypr/scripts/rofi/game_launcher
|
||||
bind = SUPER, Y, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
wf-recorder_check() {
|
||||
if pgrep -x "wf-recorder" >/dev/null; then
|
||||
pkill -INT -x wf-recorder
|
||||
pkill -RTMIN+8 waybar
|
||||
notify-send "Saved recording at " "$(cat /tmp/recording.txt)"
|
||||
wl-copy <"$(cat /tmp/recording.txt)"
|
||||
celluloid "$(cat /tmp/recording.txt)" &
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
wf-recorder_check
|
||||
|
||||
SCREEN=$(echo "$(hyprctl monitors | awk '/^Monitor/ {print $2} END { print "selection" }')" | rofi -dmenu)
|
||||
|
||||
AUDIO=$(echo "$(pactl list sources | grep Name | grep -v easyeffects | awk -F ": " '{print $2}' | awk '{$1=$1};1')" | rofi -dmenu)
|
||||
|
||||
VID="$HOME/Videos/Escritorio/$(date +%Y-%m-%d-%s).mp4"
|
||||
|
||||
if [ "$SCREEN" = "selection" ]; then
|
||||
echo "$VID" >/tmp/recording.txt
|
||||
sleep 1
|
||||
wf-recorder -c hevc_vaapi --audio="$AUDIO" -d /dev/dri/renderD128 -g "$(slurp)" -f "$VID" &>/dev/null &
|
||||
while pgrep -x slurp >/dev/null; do
|
||||
sleep 1
|
||||
done
|
||||
notify-send "Recording started" "Selection\nAudio: $AUDIO"
|
||||
pkill -RTMIN+8 waybar
|
||||
elif [ "$SCREEN" != "" ]; then
|
||||
echo "$VID" >/tmp/recording.txt
|
||||
sleep 1
|
||||
wf-recorder -c hevc_vaapi --audio="$AUDIO" -d /dev/dri/renderD128 -o "$SCREEN" -f "$VID" &>/dev/null &
|
||||
notify-send "Recording started" "Screen: $SCREEN\nAudio: $AUDIO"
|
||||
pkill -RTMIN+8 waybar
|
||||
fi
|
3
.github/README.md
vendored
3
.github/README.md
vendored
|
@ -118,7 +118,6 @@ Here is all the information about my setup:
|
|||
| **Idle Timeout** | [hypridle](https://github.com/hyprwm/hypridle) [:gear:](../.config/hypr/hypridle.conf) |
|
||||
| **Color Picker** | [hyprpicker](https://github.com/hyprwm/hyprpicker) |
|
||||
| **Screenshot Tool** | [hyprshot](https://github.com/Gustash/Hyprshot) (Using [grim](https://sr.ht/~emersion/grim/) and [slurp](https://github.com/emersion/slurp)) |
|
||||
| **Recording Tool** | [wf-recorder](https://github.com/ammen99/wf-recorder) |
|
||||
| **Screenshot Editor** | [satty](https://github.com/gabm/Satty) |
|
||||
| **Logout Menu** | [wleave](https://github.com/AMNatty/wleave) [:gear:](../.config/wleave/) |
|
||||
|
||||
|
@ -211,7 +210,7 @@ Here is all the information about my setup:
|
|||
|
||||
```bash
|
||||
yay -Sy hyprland hyprlock hypridle xdg-desktop-portal-hyprland hyprpicker \
|
||||
swww waybar-cava wleave-git rofi-lboon-wayland swaync swayosd-git wl-clipboard wf-recorder \
|
||||
swww waybar-cava wleave-git rofi-lboon-wayland swaync swayosd-git wl-clipboard \
|
||||
pyprland qt5ct pavucontrol cliphist playerctl udiskie devify fzf jq eza fd \
|
||||
catppuccin-gtk-theme-macchiato catppuccin-cursors-macchiato cava slurp grim
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue