Compare commits

...

2 Commits

Author SHA1 Message Date
Sage Vaillancourt d6859dc8b8 Merge branch 'main' of https://git.sagev.space/sage/dotfiles 2024-02-19 20:44:22 -05:00
Sage Vaillancourt f3a0089341 Add ~/.profile
Tweak sofi to use FiraCode, and ignore missing snap.
2024-02-19 20:43:09 -05:00
2 changed files with 15 additions and 3 deletions

10
fake_home/.profile Normal file
View File

@ -0,0 +1,10 @@
. "$HOME/.cargo/env"
# Added by Toolbox App
export PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts"
export PATH="$HOME:$PATH"
export QT_STYLE_OVERRIDE=kvantum
export MOZ_ENABLE_WAYLAND=1

View File

@ -30,7 +30,7 @@ if [[ "$1" == "--launch" ]]; then
if [[ "$id" != "" ]]; then
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell/Extensions/Windows --method org.gnome.Shell.Extensions.Windows.Activate $id
else
xterm -geometry 120x40 -fa 'Monospaced' -fs 10 -T "SOFI" -e "bash -c '$HOME/.sofi.sh'"
xterm -geometry 120x40 -fa 'FiraCode Nerd Font' -fs 11 -T "SOFI" -e "bash -c '$HOME/.sofi.sh'"
fi
# st -e bash -c '$HOME/.sofi.sh'"
fi
@ -63,7 +63,9 @@ read_apps() {
}
read_snap_apps() {
snap list | tail -n +2 | awk '{print "snp " $1}'
if command -v snap &> /dev/null; then
snap list | tail -n +2 | awk '{print "snp " $1}'
fi
}
open_app() {
@ -107,7 +109,7 @@ fi
choice="$(cat \
<(system_info) \
<(windows) \
<("$HOME/.rofi-list-git-repos.py") \
<($HOME/.rofi-list-git-repos.py --no-icon) \
<(read_apps) \
<(read_snap_apps) \
<(list_files) \