Add setting up custom .bashrc
This commit is contained in:
parent
007afc588f
commit
00c7fcf3c7
3 changed files with 19 additions and 3 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -2,8 +2,8 @@
|
|||
# Maintainer: Librewish <librewish@gmail.com>
|
||||
|
||||
pkgname=garuda-common-settings
|
||||
pkgver=1.2.8
|
||||
pkgrel=2
|
||||
pkgver=1.2.9
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
||||
license=('GPL')
|
||||
|
|
16
etc/skel/.bashrc_garuda
Normal file
16
etc/skel/.bashrc_garuda
Normal file
|
@ -0,0 +1,16 @@
|
|||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
# Load starship prompt
|
||||
__main() {
|
||||
local major="${BASH_VERSINFO[0]}"
|
||||
local minor="${BASH_VERSINFO[1]}"
|
||||
|
||||
if ((major > 4)) || { ((major == 4)) && ((minor >= 1)); }; then
|
||||
source <("/usr/bin/starship" init bash --print-full-init)
|
||||
else
|
||||
source /dev/stdin <<<"$("/usr/bin/starship" init bash --print-full-init)"
|
||||
fi
|
||||
}
|
||||
__main
|
||||
unset -f __main
|
|
@ -1,7 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Categories=System;Monitor;
|
||||
Comment=Does the initial user setup
|
||||
Exec=systemctl --user enable --now psd;systemctl --user enable --now pulseaudio-bluetooth-autoconnect;systemctl --user enable --now gamemoded;systemctl --user enable --now libinput-gestures;setup_dxvk install;rm ~/.config/autostart/initial-user-setup.desktop
|
||||
Exec=systemctl --user enable --now psd;systemctl --user enable --now pulseaudio-bluetooth-autoconnect;systemctl --user enable --now gamemoded;systemctl --user enable --now libinput-gestures;setup_dxvk install;mv ~/.bashrc_garuda ~/.bashrc;rm ~/.config/autostart/initial-user-setup.desktop
|
||||
Icon=setup
|
||||
Name=Initial user setup
|
||||
StartupNotify=false
|
||||
|
|
Loading…
Reference in a new issue