summaryrefslogtreecommitdiff
path: root/niri
diff options
context:
space:
mode:
Diffstat (limited to 'niri')
-rw-r--r--niri/cfg/autostart.kdl5
-rw-r--r--niri/cfg/misc.kdl4
2 files changed, 8 insertions, 1 deletions
diff --git a/niri/cfg/autostart.kdl b/niri/cfg/autostart.kdl
index 845b087..db49bbe 100644
--- a/niri/cfg/autostart.kdl
+++ b/niri/cfg/autostart.kdl
@@ -4,4 +4,7 @@ spawn-at-startup "waybar"
spawn-sh-at-startup "wl-paste --type text --watch cliphist store"
spawn-sh-at-startup "wl-paste --type image --watch cliphist store"
-spawn-sh-at-startup "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=niri"
+spawn-sh-at-startup "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORM"
+
+// for dolphin to have a default application to open when double clicked and open with menu populated
+spawn-sh-at-startup "XDG_MENU_PREFIX=arch- kbuildsycoca6 --noincremental"
diff --git a/niri/cfg/misc.kdl b/niri/cfg/misc.kdl
index 2cc96e9..1cd3874 100644
--- a/niri/cfg/misc.kdl
+++ b/niri/cfg/misc.kdl
@@ -12,6 +12,10 @@ environment {
QT_AUTO_SCREEN_SCALE_FACTOR "1"
QT_ENABLE_HIGHDPI_SCALING "1"
QT_SCALE_FACTOR_ROUNDING_POLICY "RoundPreferFloor"
+
+ XDG_CURRENT_DESKTOP "KDE"
+ XDG_SESSION_TYPE "wayland"
+
ELECTRON_OZONE_PLATFORM_HINT "auto"
TERMINAL "kitty"