dot/.scripts/.runsway.sh

19 lines
554 B
Bash
Raw Permalink Normal View History

2023-04-15 17:58:27 +02:00
#!/bin/bash
export WLR_NO_HARDWARE_CURSORS=1
export XDG_CURRENT_DESKTOP=sway
export XDG_CURRENT_SESSION=wayland
export QT_QPA_PLATFORM=wayland
2023-10-15 22:16:55 +02:00
QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
2023-04-15 17:58:27 +02:00
export MOZ_ENABLE_WAYLAND=1
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export XCURSOR_SIZE=24
2023-10-15 22:16:55 +02:00
export WLR_RENDERER=vulkan
export PLANTUML_LIMIT_SIZE=16384
2023-04-15 17:58:27 +02:00
export XKB_DEFAULT_LAYOUT="pl"
export XKB_DEFAULT_OPTIONS="compose:rctrl"
2024-06-06 01:26:00 +02:00
val=$(udevadm info -a -n /dev/dri/card1 | grep boot_vga | rev | cut -c 2)
WLR_DRM_DEVICES="/dev/dri/card$val" sway