aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-29 01:24:42 +0300
committerawy <awy@awy.one>2024-11-29 01:24:42 +0300
commit6e258ad4e6290e623a63ba9801fe23216a0ac2a3 (patch)
tree1e9023447a73e32826ac937f99bf313b8696f5a1
parent1b95d0b8cb9f916ad255e1360e2bc6e60664d567 (diff)
electron fix
-rw-r--r--.config/shell/profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index 5a77810..9b30b60 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -19,5 +19,6 @@ export CARGO_HOME="$XDG_DATA_HOME"/cargo
export BEMENU_OPTS='--fb "#2e3440" --ff "#d8dee9" --nb "#2e3440" --nf "#d8dee9" --tb "#2e3440" --hb "#2e3440" --tf "#bf616a" --hf "#ebcb8b" --af "d8dee9" --ab "#2e3440" --fn "monospace 14"'
export QT_QPA_PLATFORMTHEME=gtk2
+export ELECTRON_OZONE_PLATFORM_HINT=auto
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s sway >/dev/null 2>&1 && exec dbus-run-session sway --unsupported-gpu