]> Freerunner's - dotfiles.git/commitdiff
bash: update config
authorAndre Ramnitz <tux.rising@gmail.com>
Sun, 4 Feb 2024 21:07:27 +0000 (22:07 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 16:18:53 +0000 (18:18 +0200)
home/.bash_profile
home/.bashrc

index 27a7acd..2f14ea3 100644 (file)
@@ -11,7 +11,7 @@ if [[ -f ~/.bashrc ]] ; then
 fi
 
 # autorun X11
-if [ -z $(pgrep X) ] ; then
+if test "$DISPLAY" = "" -a "$WAYLAND_DISPLAY" = "" -a "$XDG_VTNR" = 1; then
   #startx
   #dbus-launch --exit-with-session /usr/bin/startplasma-wayland
   #dbus-launch --exit-with-session Hyprland
index dee584f..4b98757 100644 (file)
@@ -8,7 +8,7 @@
 
 export PATH="$PATH:/opt/android-sdk/platform-tools:$HOME/go/bin:$HOME/.cargo/bin:$HOME/.local/bin:$HOME/Applications"
 
-export BROWSER='qutebrowser --untrusted-args "%u"'
+export BROWSER='qutebrowser \--untrusted-args "%u"'
 export EDITOR='kks edit'
 export VISUAL='kks edit'
 export PAGER='less'