Add ~/.profile
Tweak sofi to use FiraCode, and ignore missing snap.
This commit is contained in:
parent
87d11d8f27
commit
f3a0089341
|
@ -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
|
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue