From f8b4121c8c2103df027ab2d94b28dd2b259a53a8 Mon Sep 17 00:00:00 2001 From: Phantop Date: Sun, 15 Nov 2020 21:01:56 -0500 Subject: [PATCH] Clean up some scripts --- .config/mpv/mpv.conf | 1 + .local/bin/clean | 1 + .local/bin/listen | 2 +- .local/bin/minecraft | 2 +- .symlinks | 30 +++++++++++++++--------------- 5 files changed, 19 insertions(+), 17 deletions(-) diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index d0a90d4..81f5b0a 100755 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -22,6 +22,7 @@ profile-desc=cond:dedicated_gpu() scale=spline36 cscale=spline36 +dscale=mitchell scale-antiring=0 cscale-antiring=0 dither-depth=auto diff --git a/.local/bin/clean b/.local/bin/clean index 8b75cff..9cb2a6f 100755 --- a/.local/bin/clean +++ b/.local/bin/clean @@ -12,4 +12,5 @@ bleachbit -c `bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system. sudo bleachbit -c `bleachbit -l|grep -Ev 'system.free_disk_space|transmission|system.memory|firefox'` rm -r ~/.cache/* sudo solbuild delete-cache +docker system prune sudo sync diff --git a/.local/bin/listen b/.local/bin/listen index 03a25bb..b2a8f4c 100755 --- a/.local/bin/listen +++ b/.local/bin/listen @@ -1,2 +1,2 @@ -#!/bin/bash +#!/bin/sh pactl list short modules | grep loopback && pactl unload-module module-loopback || pactl load-module module-loopback diff --git a/.local/bin/minecraft b/.local/bin/minecraft index cb5910b..7f5ce37 100755 --- a/.local/bin/minecraft +++ b/.local/bin/minecraft @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh cd $D/Games/Minecraft rm `fd -e log` bin/MultiMC -d . $@ diff --git a/.symlinks b/.symlinks index dac6084..c0640d4 100755 --- a/.symlinks +++ b/.symlinks @@ -5,20 +5,20 @@ for i in Documents Music Pictures Videos end for i in '# This file is written by xdg-user-dirs-update - # If you want to change or add directories, just edit the line youre - # interested in. All local changes will be retained on the next run. - # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped - # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an - # absolute path. No other format is supported. - # - XDG_DESKTOP_DIR="$HOME/" - XDG_DOWNLOAD_DIR="$HOME/Downloads" - XDG_DOCUMENTS_DIR="/mnt/LocalDiskD/Documents" - XDG_MUSIC_DIR="/mnt/LocalDiskD/Music" - XDG_PICTURES_DIR="/mnt/LocalDiskD/Pictures" - XDG_VIDEOS_DIR="/mnt/LocalDiskD/Videos" - XDG_TEMPLATES_DIR="$HOME/" - XDG_PUBLICSHARE_DIR="$HOME/"' - echo $i > ~/.config/user-dirs.dir +# If you want to change or add directories, just edit the line youre +# interested in. All local changes will be retained on the next run. +# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped +# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an +# absolute path. No other format is supported. +# +XDG_DESKTOP_DIR="$HOME/" +XDG_DOWNLOAD_DIR="$HOME/Downloads" +XDG_DOCUMENTS_DIR="/mnt/LocalDiskD/Documents" +XDG_MUSIC_DIR="/mnt/LocalDiskD/Music" +XDG_PICTURES_DIR="/mnt/LocalDiskD/Pictures" +XDG_VIDEOS_DIR="/mnt/LocalDiskD/Videos" +XDG_TEMPLATES_DIR="$HOME/" +XDG_PUBLICSHARE_DIR="$HOME/"' +echo $i > ~/.config/user-dirs.dir end