summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorivan-boikov <ik.boikov.public@protonmail.com>2022-07-15 20:38:00 +0200
committerivan-boikov <ik.boikov.public@protonmail.com>2022-07-15 20:38:00 +0200
commitf5d652af20c8321ceff9373c1f937930cdbc36dd (patch)
tree581d7eb3a50fbfac5084acaab6c92ea1dbeebfac /x11
parent1d28416b68aabef73987b543df9b71de4972d330 (diff)
1
Diffstat (limited to 'x11')
-rw-r--r--x11/.config/x11/xprofile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/.config/x11/xprofile b/x11/.config/x11/xprofile
index 8f25429..28cb447 100644
--- a/x11/.config/x11/xprofile
+++ b/x11/.config/x11/xprofile
@@ -5,14 +5,12 @@
# generate .Xresources
-#$HOME/.local/bin/genxresources > $HOME/.Xresources
xrdb $HOME/.Xresources
-dpi="92"
+dpi="96"
if [ $(xdpyinfo | awk '/dimensions/ {print $2}') == '3840x2160' ]; then
dpi="192"
fi
-notify-send "Setting DPI $dpi"
xrdb -merge <<< "Xft.dpi: ${dpi}"
xrdbpid=$!
@@ -37,7 +35,6 @@ autostart=(
"unclutter"
"gentoo-pipewire-launcher"
"syncthing --no-browser"
- "dwmblocks"
"redshift -l40:2"
)
@@ -45,6 +42,9 @@ for program in "${autostart[@]}" ; do
pidof -s "${program%% *}" || setsid -f $program
done >$XDG_CACHE_HOME/xprofile.errors 2>&1
+# not sure why it does not work reliably
+dwmblocks &
+
if [ -x /usr/bin/gpg-agent ]; then
eval "$(/usr/bin/gpg-agent --daemon)"
fi