From 35bf1a828d1a9a2b954d2d5894f7ced78c99bc3b Mon Sep 17 00:00:00 2001 From: natemaia Date: Thu, 22 Aug 2019 17:06:35 -0700 Subject: [PATCH] Increase dunst height, tweaks to some init scripts, and add .Xauthority to remove first boot errors --- base/.Xauthority | 0 base/.config/dunst/dunstrc | 2 +- base/.config/fontconfig/fonts.conf | 18 ------------------ base/.xprofile | 7 ++++--- base/bin/rofi_run | 2 +- 5 files changed, 6 insertions(+), 23 deletions(-) create mode 100644 base/.Xauthority diff --git a/base/.Xauthority b/base/.Xauthority new file mode 100644 index 00000000..e69de29b diff --git a/base/.config/dunst/dunstrc b/base/.config/dunst/dunstrc index c85fe894..13daf17f 100644 --- a/base/.config/dunst/dunstrc +++ b/base/.config/dunst/dunstrc @@ -29,7 +29,7 @@ # the top and down respectively. # The width can be negative. In this case the actual width is the # screen width minus the width defined in within the geometry option. - geometry = "600x25+100+50" + geometry = "600x40+100+50" # Show how many messages are currently hidden (because of geometry). indicate_hidden = yes diff --git a/base/.config/fontconfig/fonts.conf b/base/.config/fontconfig/fonts.conf index cb3c3150..95e164d9 100644 --- a/base/.config/fontconfig/fonts.conf +++ b/base/.config/fontconfig/fonts.conf @@ -1,24 +1,6 @@ - - - - - - - - - - - - true - - - - - - serif diff --git a/base/.xprofile b/base/.xprofile index fd9ac985..6b5b1b78 100644 --- a/base/.xprofile +++ b/base/.xprofile @@ -6,9 +6,10 @@ export XDG_CONFIG_HOME="$HOME/.config" -[ -d /sbin ] && PATH="$PATH:/sbin" -[ -d /usr/sbin ] && PATH="$PATH:/usr/sbin" -[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH" +# add additional directories to PATH +for dir in /sbin /usr/sbin "$HOME/bin"; do + [ -d "$dir" ] && PATH="$dir:$PATH" +done # compton al-compositor --start & diff --git a/base/bin/rofi_run b/base/bin/rofi_run index 8b6cd69b..7ad3e540 100755 --- a/base/bin/rofi_run +++ b/base/bin/rofi_run @@ -75,7 +75,7 @@ else *Lock) i3lock-fancy ;; *Reboot) systemctl reboot ;; *Shutdown) systemctl -i poweroff ;; - *Logout) session-logout || pkill -15 -t tty"$XDG_VTNR" Xorg ;; + *Logout) session-logout >/dev/null 2>&1 || pkill -15 -t tty"$XDG_VTNR" Xorg ;; esac ;; *)