mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-09 20:27:46 +02:00
wayland: starting to setup migration option
This commit is contained in:
parent
e8901032db
commit
45bfcbf68e
@ -13,4 +13,5 @@ a_codec="opus"
|
|||||||
lenght=20
|
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 $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'
|
notify-send -u low 'Screen record' 'Replay started'
|
||||||
|
@ -13,4 +13,5 @@ a_codec="aac"
|
|||||||
output="$output/recording-$(date '+%Y-%m-%d_%H-%M-%S').$format"
|
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 $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'
|
notify-send -u low 'Screen record' 'Recording started'
|
||||||
|
3
.profile
3
.profile
@ -85,3 +85,6 @@ echo "$0" | grep "zsh$" >/dev/null && [ -f ${ZDOTDIR}/.zshrc ] && source "${ZDOT
|
|||||||
|
|
||||||
# Start graphical server if not already running.
|
# Start graphical server if not already running.
|
||||||
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
|
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
|
||||||
|
|
||||||
|
# start wayland using dwl
|
||||||
|
# dwl -s ~/.config/wayland/wayland.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user