diff options
| -rw-r--r-- | .config/sway/env | 27 | ||||
| -rw-r--r-- | .config/sway/hibiki | 7 |
2 files changed, 21 insertions, 13 deletions
diff --git a/.config/sway/env b/.config/sway/env index 316530c..8ca0b55 100644 --- a/.config/sway/env +++ b/.config/sway/env @@ -1,24 +1,29 @@ #!/bin/sh -# export XDG_RUNTIME_DIR=/run/user/1000 +export TERM=alacritty -export DESKTOP_SESSION=gnome +# export DESKTOP_SESSION=gnome export GDK_BACKEND=wayland export CLUTTER_BACKEND=wayland -export SDK_VIDEODRIVER=wayland - export QT_QPA_PLATFORM=wayland-egl -# export QT_QPA_PLATFORM= -# export QT_AUTO_SCREEN_SCALE_FACTOR=0 -# export QT_SCREEN_SCALE_FACTORS='1.5;1' -export QT_QPA_PLATFORMTHEME=qgnomeplatform -export QT_STYLE_OVERRIDE=adwaita - +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 +export QT_QPA_PLATFORMTHEME=qgnomeplatform +export QT_STYLE_OVERRIDE=adwaita + export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus export GTK_IM_MODULE=xim -export TERM=alacritty +export XDG_SESSION_TYPE=wayland +export XDG_SESSION_DESKTOP=sway +# export XDG_CURRENT_DESKTOP=Unity +export XDG_CURRENT_DESKTOP=sway + +# export WLR_DRM_DEVICES="/dev/dri/card1:/dev/dri/card0" +export WLR_DRM_DEVICES="/dev/dri/card0" diff --git a/.config/sway/hibiki b/.config/sway/hibiki index 37345c2..5a61f59 100644 --- a/.config/sway/hibiki +++ b/.config/sway/hibiki @@ -3,12 +3,12 @@ set $laptop eDP-1 set $desk "Dell Inc. DELL U2518D 3C4YP87AAK3L" -# output * scale 1 - font pango:Iosevka Sparkle 12 +output * scale 1 output * max_render_time 1 output * adaptive_sync on + # for_window [app_id=Alacritty] max_render_time 2 # for_window [app_id=firefox] max_render_time 3 # seat * hide_cursor 2000 @@ -29,5 +29,8 @@ exec swayidle -w \ before-sleep 'lock' \ lock lock +exec_always kanshictl reload + +# clampshell mode? #bindswitch --locked lid:on output $laptop disable #bindswitch --locked lid:off output $laptop enable |