summary refs log tree commit diff
path: root/os/etc/tinydm.d
diff options
context:
space:
mode:
Diffstat (limited to 'os/etc/tinydm.d')
-rw-r--r--os/etc/tinydm.d/env-wayland.d/00-profile.conf2
-rw-r--r--os/etc/tinydm.d/env-wayland.d/20-dbus-session-bus.conf1
-rw-r--r--os/etc/tinydm.d/env-wayland.d/30-xkb.conf3
-rw-r--r--os/etc/tinydm.d/env-wayland.d/40-bemenu.conf2
-rw-r--r--os/etc/tinydm.d/env-wayland.d/80-terminal.conf1
-rw-r--r--os/etc/tinydm.d/env-wayland.d/90-user.conf22
-rw-r--r--os/etc/tinydm.d/env-wayland.d/99-im.conf4
-rw-r--r--os/etc/tinydm.d/env-wayland.d/99-wlr.conf2
8 files changed, 37 insertions, 0 deletions
diff --git a/os/etc/tinydm.d/env-wayland.d/00-profile.conf b/os/etc/tinydm.d/env-wayland.d/00-profile.conf
new file mode 100644
index 0000000..20d9b11
--- /dev/null
+++ b/os/etc/tinydm.d/env-wayland.d/00-profile.conf
@@ -0,0 +1,2 @@
+# source system profile
+#. /etc/profile
diff --git a/os/etc/tinydm.d/env-wayland.d/20-dbus-session-bus.conf b/os/etc/tinydm.d/env-wayland.d/20-dbus-session-bus.conf
new file mode 100644
index 0000000..0040be0
--- /dev/null
+++ b/os/etc/tinydm.d/env-wayland.d/20-dbus-session-bus.conf
@@ -0,0 +1 @@
+export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
diff --git a/os/etc/tinydm.d/env-wayland.d/30-xkb.conf b/os/etc/tinydm.d/env-wayland.d/30-xkb.conf
new file mode 100644
index 0000000..9aaf05f
--- /dev/null
+++ b/os/etc/tinydm.d/env-wayland.d/30-xkb.conf
@@ -0,0 +1,3 @@
+export XKB_DEFAULT_LAYOUT=us
+export XKB_DEFAULT_VARIANT=mac
+export XKB_DEFAULT_OPTIONS="caps:hyper,eurosign:5,evdoublebind:mapping,hibiki:intl_tr"
diff --git a/os/etc/tinydm.d/env-wayland.d/40-bemenu.conf b/os/etc/tinydm.d/env-wayland.d/40-bemenu.conf
new file mode 100644
index 0000000..0ba15e5
--- /dev/null
+++ b/os/etc/tinydm.d/env-wayland.d/40-bemenu.conf
@@ -0,0 +1,2 @@
+export BEMENU_BACKEND=wayland
+export BEMENU_OPTS='-i -n -m focused --fn "Iosevka 10" --nb "#0c0c0ce5" --nf "#fffffb" --ab "#0c0c0ce0" --af "#fffffb" --tb "#8a6bbe" --tf "#fffffb" --fb "#0c0c0ce5" --ff "#fffffb" --sb "#fad689" --sf "#0c0c0c" --hb "#8a6bbeff" --hf "#fffffb" --scb "#0c0c0ce5" --scf "#8a6bbee5" --binding vim'
diff --git a/os/etc/tinydm.d/env-wayland.d/80-terminal.conf b/os/etc/tinydm.d/env-wayland.d/80-terminal.conf
new file mode 100644
index 0000000..af1f287
--- /dev/null
+++ b/os/etc/tinydm.d/env-wayland.d/80-terminal.conf
@@ -0,0 +1 @@
+export TERMINAL=/usr/bin/foot
diff --git a/os/etc/tinydm.d/env-wayland.d/90-user.conf b/os/etc/tinydm.d/env-wayland.d/90-user.conf
new file mode 100644
index 0000000..2264626
--- /dev/null
+++ b/os/etc/tinydm.d/env-wayland.d/90-user.conf
@@ -0,0 +1,22 @@
+export GDK_BACKEND=wayland
+export CLUTTER_BACKEND=wayland
+export QT_QPA_PLATFORM=wayland-egl
+export SDL_VIDEODRIVER=wayland
+export ECORE_EVAS_ENGINE=wayland-egl
+export ELM_ENGINE=wayland_egl
+export _JAVA_AWT_WM_NONREPARENTING=1
+export NO_AT_BRIDGE=1
+export MOZ_ENABLE_WAYLAND=1
+
+# force gnome apps to use gnome style
+#export DESKTOP_SESSION=gnome
+#export QT_QPA_PLATFORMTHEME=gnome
+#export QT_STYLE_OVERRIDE=adwaita
+#export QT_WAYLAND_FORCE_DPI=physical
+export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
+
+export GTK_CSD=0
+
+export XDG_SESSION_TYPE=wayland
+export XDG_SESSION_DESKTOP=sway
+export XDG_CURRENT_DESKTOP=sway
diff --git a/os/etc/tinydm.d/env-wayland.d/99-im.conf b/os/etc/tinydm.d/env-wayland.d/99-im.conf
new file mode 100644
index 0000000..f58a60d
--- /dev/null
+++ b/os/etc/tinydm.d/env-wayland.d/99-im.conf
@@ -0,0 +1,4 @@
+export GTK_IM_MODULE=fcitx
+export QT_IM_MODULE=fcitx
+export XMODIFIERS=@im=fcitx
+export SDL_IM_MODULE=fcitx
diff --git a/os/etc/tinydm.d/env-wayland.d/99-wlr.conf b/os/etc/tinydm.d/env-wayland.d/99-wlr.conf
new file mode 100644
index 0000000..951cdb1
--- /dev/null
+++ b/os/etc/tinydm.d/env-wayland.d/99-wlr.conf
@@ -0,0 +1,2 @@
+#export WLR_EGL_NO_MODIFIERS=1
+export WLR_RENDERER=vulkan