diff --git a/.config/ansible/roles/arch/packages/tasks/modules/base.yml b/.config/ansible/roles/arch/packages/tasks/modules/base.yml index dee4643b..ab1da918 100644 --- a/.config/ansible/roles/arch/packages/tasks/modules/base.yml +++ b/.config/ansible/roles/arch/packages/tasks/modules/base.yml @@ -27,7 +27,6 @@ - hyprlock - hypridle - wev - - wf-recorder - wl-clipboard - xdg-desktop-portal-hyprland - kitty diff --git a/.config/hypr/configs/binds.conf b/.config/hypr/configs/binds.conf index bc3dc61e..57033a9e 100644 --- a/.config/hypr/configs/binds.conf +++ b/.config/hypr/configs/binds.conf @@ -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 diff --git a/.config/hypr/scripts/rofi/recording b/.config/hypr/scripts/rofi/recording deleted file mode 100755 index d3096f07..00000000 --- a/.config/hypr/scripts/rofi/recording +++ /dev/null @@ -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 diff --git a/.github/README.md b/.github/README.md index d791bcb8..96cb27d6 100644 --- a/.github/README.md +++ b/.github/README.md @@ -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 ```