1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-19 08:17:47 +02:00

Compare commits

..

2 Commits

5 changed files with 8 additions and 4 deletions

View File

@ -461,6 +461,10 @@ nnoremap cc cw<c-u>
nnoremap xx :!vifm_extract %f<cr> nnoremap xx :!vifm_extract %f<cr>
nnoremap aa :!vifm_compress %f 7z nnoremap aa :!vifm_compress %f 7z
" Mapping cups printing
nnoremap rr :!lp %f<cr>
vnoremap rr :!lp %f<cr>
" ------------------------------------------------------------------------------ " ------------------------------------------------------------------------------
" Various customization examples " Various customization examples

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
killall -SIGUSR1 gpu-screen-recorder && notify-send 'Screen record' 'Replay saved' killall -SIGUSR1 gpu-screen-recorder && notify-send -u low 'Screen record' 'Replay saved'

View File

@ -11,4 +11,4 @@ lenght=20
output="$HOME/downloads" output="$HOME/downloads"
gpu-screen-recorder -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 -w $window -f $fps -a $audio_1 -a $audio_2 -c $format -k $v_codec -ac $a_codec -r $lenght -o $output &
notify-send 'Screen record' 'Replay started' notify-send -u low 'Screen record' 'Replay started'

View File

@ -10,4 +10,4 @@ a_codec="opus"
output="$HOME/downloads/recording-$(date '+%Y-%m-%d_%H-%M-%S').$format" output="$HOME/downloads/recording-$(date '+%Y-%m-%d_%H-%M-%S').$format"
gpu-screen-recorder -w $window -c $format -k $v_codec -ac $a_codec -f $fps -a $audio_1 -a $audio_2 -o $output & gpu-screen-recorder -w $window -c $format -k $v_codec -ac $a_codec -f $fps -a $audio_1 -a $audio_2 -o $output &
notify-send 'Screen record' 'Recording started' notify-send -u low 'Screen record' 'Recording started'

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
killall -SIGINT gpu-screen-recorder && notify-send 'Screen record' 'Recording stopped' killall -SIGINT gpu-screen-recorder && notify-send -u low 'Screen record' 'Recording stopped'