diff options
Diffstat (limited to '.shenanigans.sh')
| -rwxr-xr-x | .shenanigans.sh | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh index 0236e0e..d49b42d 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | # Software list (Void Linux): | 1 | # Software list (Void Linux): |
| 2 | # void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree | 2 | # void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree |
| 3 | # file-roller xfce4-plugins thunar-archive-plugin | 3 | # file-roller xfce4-plugins thunar-archive-plugin |
| 4 | # lm_sensors conky maim xlockmore picom cwm xclip xsetroot xdotool fd | 4 | # lm_sensors conky maim xlockmore picom cwm xclip xsetroot xdotool |
| 5 | # xss-lock wmctrl zip mc htop entr cifs-utils rsync jq rofi st lynx | 5 | # xss-lock wmctrl zip mc htop entr cifs-utils rsync jq rofi st fd |
| 6 | # clang clang-tools-extra vim git curl tmux hstr tree make cmake gdb | 6 | # clang clang-tools-extra vim git curl tmux hstr tree make cmake gdb |
| 7 | # nvtop ctags stow newsboat mpv rsync python3-pipx lazygit tcc lf | 7 | # nvtop ctags stow newsboat mpv rsync python3-pipx lazygit |
| 8 | # Additonal stuff: | 8 | # Additonal stuff: |
| 9 | # go install golang.org/x/tools/gopls@latest | 9 | # go install golang.org/x/tools/gopls@latest |
| 10 | # pipx install pyright mdformat | 10 | # pipx install pyright mdformat |
| @@ -26,13 +26,12 @@ if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then | |||
| 26 | export PS1="\n$SYMBOL \u@\h \t \w \$(git_branch)\n$SYMBOL " | 26 | export PS1="\n$SYMBOL \u@\h \t \w \$(git_branch)\n$SYMBOL " |
| 27 | 27 | ||
| 28 | # General aliases. | 28 | # General aliases. |
| 29 | alias l='ls -lh --group-directories-first' | 29 | alias l='ls -lh --group-directories-first --color=always' |
| 30 | alias ll='ls -lha --group-directories-first' | 30 | alias ll='ls -lha --group-directories-first --color=always' |
| 31 | alias t='tree -L 2' | 31 | alias t='tree -L 2' |
| 32 | alias ..='cd ..' | 32 | alias ..='cd ..' |
| 33 | alias less='less -R' | 33 | alias less='less -R' |
| 34 | alias tmux='tmux -u' | 34 | alias tmux='tmux -u' |
| 35 | alias gg='lazygit' | ||
| 36 | alias server='python3 -m http.server 6969' | 35 | alias server='python3 -m http.server 6969' |
| 37 | alias newsboat='newsboat -r -u ~/.feeds.txt' | 36 | alias newsboat='newsboat -r -u ~/.feeds.txt' |
| 38 | 37 | ||
| @@ -80,10 +79,6 @@ backup() { | |||
| 80 | rm -Rf /tmp/$SNAPSHOT | 79 | rm -Rf /tmp/$SNAPSHOT |
| 81 | } | 80 | } |
| 82 | 81 | ||
| 83 | screenrecord() { | ||
| 84 | ffmpeg -f x11grab -s 3840x2560 -i :0.0 -r 60 -vcodec h264_nvenc -preset fast ~/Videos/$(date +%Y-%m-%d-%H-%M-%S).mp4 | ||
| 85 | } | ||
| 86 | |||
| 87 | mic_status() { | 82 | mic_status() { |
| 88 | pactl get-source-mute @DEFAULT_SOURCE@ | grep -q "no" && echo 1 || echo 0; | 83 | pactl get-source-mute @DEFAULT_SOURCE@ | grep -q "no" && echo 1 || echo 0; |
| 89 | } | 84 | } |
