From f635f18bc2aaa81bb64b3877db1574c08a4979cb Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sun, 15 May 2022 21:10:38 +0800 Subject: [PATCH] fix: awesome bar adopted wrong dpi --- gui/awesome.sh | 2 ++ gui/awesome/rc.lua | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/awesome.sh b/gui/awesome.sh index ad170ce..f5dff28 100755 --- a/gui/awesome.sh +++ b/gui/awesome.sh @@ -34,6 +34,8 @@ export VIM_MODE=enhanced export XDG_RUNTIME_DIR=/tmp/runtime-klesh mkdir -p $XDG_RUNTIME_DIR +autorandr --change --force + exec dbus-run-session -- awesome 2> /tmp/awesome.log EOT diff --git a/gui/awesome/rc.lua b/gui/awesome/rc.lua index 41f3859..5fe21d7 100644 --- a/gui/awesome/rc.lua +++ b/gui/awesome/rc.lua @@ -838,6 +838,5 @@ awful.spawn.with_shell("flameshot") awful.spawn.with_shell("mpd") awful.spawn.with_shell("blueman-applet") awful.spawn.with_shell("nm-applet") -awful.spawn.with_shell("autorandr --change --force") -- }}}