From d2dd51c6a23b93762f112a6864d6836187cee625 Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Sat, 5 Nov 2022 20:27:14 +0100 Subject: [PATCH] new terminal and font --- bash/.alias.sh | 4 ++-- bash/mounts.sh | 5 +++++ dependencies/pacman.txt | 2 ++ i3/config | 9 ++++----- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/bash/.alias.sh b/bash/.alias.sh index f48d504..fe12aa8 100644 --- a/bash/.alias.sh +++ b/bash/.alias.sh @@ -33,7 +33,7 @@ alias undo-commit='git reset --soft HEAD^' ## pacman and trizen alias aur='trizen --noconfirm' -alias update='trizen -Syu --noconfirm' +alias update='trizen --sudo_remove_timestamp=0 --sudo_autorepeat=1 --sudo_autorepeat_at_runtime=1 -Syu --noconfirm' alias remove-orphans='sudo pacman -Rns $(pacman -Qtdq)' alias updatekeys='sudo pacman-key --refresh-key' alias clean-pacmancache='sudo paccache -rk 1 && sudo paccache -ruk0' @@ -52,7 +52,6 @@ alias psmem='ps auxf | sort -nr -k 5 | head -n 5' ##utility alias nmapscan='nmap -n -sP' -alias pia='nohup sh /opt/pia/run.sh &>/dev/null & disown' alias wifimenu='nm-connection-editor' alias findcrlf='find . -path node_modules -prune -o -not -type d -exec file "{}" ";" | grep -E "BOM|CRLF"' alias fixcrlf='findcrlf > /tmp/crlftolf && cat /tmp/crlftolf | while read line; do CUTLINE=$(echo $line | cut -f1 -d":") && dos2unix $CUTLINE; done' @@ -74,6 +73,7 @@ alias unlockuser='faillock --reset --user' alias npm-list-links='npm ls -g --depth=0 --link=true' alias suspend='sudo bash ~/.config/i3/scripts/suspend.sh' alias clean-all='sudo pacman -R $(pacman -Qtdq) && sudo paccache -rk 1 && sudo paccache -ruk0 && sudo journalctl --vacuum-time=2d && docker-clean-all && rm -rf ~/.local/share/Trash/' +alias delete-empty='find . -type d -empty -delete' # might be useful in demos... alias oopsie='fuck' diff --git a/bash/mounts.sh b/bash/mounts.sh index 6c9220a..ccd40a6 100644 --- a/bash/mounts.sh +++ b/bash/mounts.sh @@ -71,6 +71,11 @@ declare -A MOUNTS9=( [share]="emulation" [mount]="emulation" ) +declare -A MOUNTS10=( + [server]="$MY_SERVER_LOCATION" + [share]="audiobooks" + [mount]="audiobooks" +) # declare array with "objects" declare -n MOUNTS diff --git a/dependencies/pacman.txt b/dependencies/pacman.txt index 90692c9..668784c 100644 --- a/dependencies/pacman.txt +++ b/dependencies/pacman.txt @@ -97,3 +97,5 @@ cups system-config-printer duf picom +gnome-terminal +ttf-ubuntu-font-family diff --git a/i3/config b/i3/config index 72461e3..10b6e64 100644 --- a/i3/config +++ b/i3/config @@ -119,7 +119,7 @@ bindsym $mod+shift+l exec /bin/bash ~/.config/i3/scripts/suspend.sh ############################################ # Application Keys # ############################################ -bindsym $mod+Return exec xfce4-terminal # terminal +bindsym $mod+Return exec gnome-terminal # terminal bindsym $mod+e exec nautilus # File manager bindsym Print exec flameshot screen -d 0 -p ~/Pictures/Screenshots # Fullscreen screenshot bindsym $mod+Print exec flameshot gui # Show screenshot window @@ -193,8 +193,7 @@ bindsym $mod+Shift+g move container to workspace $workspace13 # Appearance settings # ############################################ # Set the default font -font pango:Liberation sans 13 - +font pango:Ubuntu regular 12 # Bar decoration bar { status_command i3blocks -c ~/.config/i3/i3blocks.conf @@ -310,8 +309,8 @@ mode "$mode_gaps_outer" { ############################################ # Autorun # ############################################ -exec_always --no-startup-id picom -b -exec --no-startup-id i3-msg 'workspace $workspace2; exec xfce4-terminal' && i3-msg 'workspace $workspace1' +# exec_always --no-startup-id picom -b +exec --no-startup-id i3-msg 'workspace $workspace2; exec gnome-terminal' && i3-msg 'workspace $workspace1' exec --no-startup-id i3-msg 'workspace $workspace12; exec enpass' exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec --no-startup-id nm-applet