]> 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 27a7acd43d333f3b826baa7a36bac78c190f7ffd..2f14ea3241f2d66f8b309f24f489560b91828956 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 dee584fc05705f7a7b824e62e8592aa199676400..4b98757f5b88fc8dcd00e31deeeee7b34896bb79 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'