Updating for Plasma

This commit is contained in:
2024-01-21 17:42:05 +00:00
parent c7c78f26b7
commit 32c0d93f45
11 changed files with 142 additions and 81 deletions

View File

@@ -7,9 +7,9 @@
# Use $XINITRC variable if file exists.
[ -f "$XINITRC" ] && alias startx="startx $XINITRC"
# doas not required for some system commands
# sudo not required for some system commands
for x in mount umount sv pacman updatedb su ; do
alias $x="doas $x"
alias $x="sudo $x"
done
# Verbosity and settings that you pretty much just always are going to want.
@@ -35,11 +35,11 @@ alias \
alias \
ka="killall" \
YT="youtube-viewer" \
sdn="doas shutdown -h now" \
sdn="sudo shutdown -h now" \
e="$EDITOR" \
v="$EDITOR" \
cl="clear" \
p="doas pacman" \
p="sudo pacman" \
z="zathura" \
ll="ls -l" \
la="ls -al" \
@@ -61,8 +61,6 @@ alias \
enr="trans en:ro -j -- " \
enri="trans en:ro -i"
which doas >/dev/null && alias sudo=doas
# Clone from labs
function clone_from_labs() {
git clone "git@labs.scarif.space:chris/$1" "${@:2}"

View File

@@ -9,7 +9,7 @@ unsetopt PROMPT_SP
# Default programs
export EDITOR="nvim"
export TERMINAL="st"
export TERMINAL="alacritty"
export BROWSER="firefox"
export LOCATION="guildford"
@@ -70,7 +70,7 @@ export ANDROID_HOME="$ANDROID_SDK_ROOT"
export PATH="$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/cmdline-tools/bin:$ANDROID_HOME/platform-tools:$ANDROID_AVD_HOME:$ANDROID_HOME/emulator:$XDG_DATA_HOME/cargo/bin"
# Get pretty colours for ls
. /usr/share/LS_COLORS/dircolors.sh
#. /usr/share/LS_COLORS/dircolors.sh
# This is the list for lf icons:
export LF_ICONS="di=📁:\
@@ -153,7 +153,7 @@ ex=🎯:\
[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && shortcuts >/dev/null 2>&1 &
[ "$XDG_CURRENT_DESKTOP" = "KDE" ] || [ "$XDG_CURRENT_DESKTOP" = "GNOME" ] || export QT_QPA_PLATFORMTHEME="qt5ct"
#[ "$XDG_CURRENT_DESKTOP" = "KDE" ] || [ "$XDG_CURRENT_DESKTOP" = "GNOME" ] || export QT_QPA_PLATFORMTHEME="qt5ct"
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"
#[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"