1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-04 01:57:46 +02:00

wayland: starting to setup migration option

This commit is contained in:
tiyn 2025-04-03 03:44:52 +02:00
parent e8901032db
commit 45bfcbf68e
3 changed files with 5 additions and 0 deletions

View File

@ -13,4 +13,5 @@ a_codec="opus"
lenght=20
gpu-screen-recorder -encoder $device -w $window -f $fps -a $audio_1 -a $audio_2 -c $format -k $v_codec -ac $a_codec -r $lenght -o $output &
# gpu-screen-recorder -encoder $device -w screen -f $fps -a $audio_1 -a $audio_2 -c $format -k $v_codec -ac $a_codec -r $lenght -o $output & # wayland command
notify-send -u low 'Screen record' 'Replay started'

View File

@ -13,4 +13,5 @@ a_codec="aac"
output="$output/recording-$(date '+%Y-%m-%d_%H-%M-%S').$format"
gpu-screen-recorder -encoder $device -w $window -c $format -k $v_codec -ac $a_codec -f $fps -o $output &
# gpu-screen-recorder -encoder $device -w screen -c $format -k $v_codec -ac $a_codec -f $fps -o $output & # wayland command
notify-send -u low 'Screen record' 'Recording started'

View File

@ -85,3 +85,6 @@ echo "$0" | grep "zsh$" >/dev/null && [ -f ${ZDOTDIR}/.zshrc ] && source "${ZDOT
# Start graphical server if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
# start wayland using dwl
# dwl -s ~/.config/wayland/wayland.conf