diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-17 12:37:30 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-17 12:37:30 +0200 | 
| commit | b519c5f639e143251ad725970f28bd613315b277 (patch) | |
| tree | a75a7eea8777a1537dc5ea7ad524276e5b4c4fc8 | |
| parent | 6e3c07b70a1f3082afa2115ccac790d859d83b7b (diff) | |
checkpoint
| -rwxr-xr-x | bin/guiscripts/record | 6 | ||||
| -rw-r--r-- | config/essentials/shell/functions.sh | 4 | ||||
| -rw-r--r-- | config/essentials/zsh/.zshrc | 2 | ||||
| -rw-r--r-- | config/home/.zshenv | 2 | 
4 files changed, 11 insertions, 3 deletions
diff --git a/bin/guiscripts/record b/bin/guiscripts/record index df4b6e6..f01a5c7 100755 --- a/bin/guiscripts/record +++ b/bin/guiscripts/record @@ -93,7 +93,11 @@ case "$option" in              record_cmd $w $h $x $y $dir $current          }          ;; -    stop) kill "$(pgrep ffmpeg | xargs ps | grep 'x11grab' | awk '{print $1}')"; rm -f "$lock" ;; +    stop) +        pid="$(pgrep ffmpeg | xargs ps | grep 'x11grab' | awk '{print $1}')" +        [ "$pid" ] && kill "$pid" +        rm -f "$lock"  +        ;;      full) record_cmd 0 0 1920 1080 $dir $current ;;      audio) $0 -a; exit ;;      help|*) >&2 printf 'record [dir] (active|window|part|stop|full)\n' ;; diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index b7bb5fd..46f2a7e 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -399,3 +399,7 @@ ssh() {      done      /usr/bin/ssh $@  } + +gccg() { +    gcc -g -Wall -pedantic -std=c99 -o ${1%.c} $@ +} diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 139c145..07e859d 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -140,6 +140,6 @@ setopt histignorealldups  setopt histreduceblanks  setopt interactivecomments  setopt notify -setopt cdablevars +# setopt cdablevars  # zprof diff --git a/config/home/.zshenv b/config/home/.zshenv index 953ac22..6a40479 100644 --- a/config/home/.zshenv +++ b/config/home/.zshenv @@ -80,7 +80,7 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'      --color=info:#b48ead,prompt:#bf6069,pointer:#b48dac      --color=marker:#a3be8b,spinner:#ebcb8b,header:#a3be8b' -export LESS="-i -r" +# export LESS="-i -r"  # Colored manpages  # export MANPAGER="less -R --use-color -Dd+r -Du+b"  | 
