Add .run files for Wayland WMs

This commit is contained in:
Phil Bajsicki 2023-04-15 17:58:27 +02:00
parent 136e68c2ff
commit 786c0857cb
4 changed files with 68 additions and 0 deletions

8
.runhikari.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
export XKB_DEFAULT_LAYOUT="us(cmk_ed_us)"
export XKB_DEFAULT_MODEL="pc104angle-z"
export XKB_DEFAULT_OPTIONS="misc:extend,lv5:caps_switch_lock,grp:shifts_toggle,compose:rctrl,misc:cmk_curl_dh"
export WLR_RENDERER=vulkan
export WLR_NO_HARDWARE_CURSORS=1
hikari

20
.runhyprland.sh Executable file
View file

@ -0,0 +1,20 @@
#!/bin/bash
export XKB_DEFAULT_LAYOUT="pl"
export XKB_DEFAULT_OPTIONS="compose:rctrl"
export WLR_NO_HARDWARE_CURSORS=1
export _JAVA_AWT_WM_NONREPARENTING=1
export LIBVA_DRIVER_NAME=nvidia
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export XDG_SESSION_TYPE=wayland
export XCURSOR_SIZE=24
/usr/bin/Hyprland
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK

21
.runqtile.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
export XKB_DEFAULT_LAYOUT="pl"
export WLR_RENDERER=vulkan
export WLR_NO_HARDWARE_CURSORS=1
export MOZ_ENABLE_WAYLAND=1
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export QT_QPA_PLATFORM=wayland
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export XDG_CURRENT_DESKTOP=qtile
export XDG_SESSION_DESKTOP=qtile
export XCURSOR_SIZE=24
qtile start -b wayland
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK

19
.runsway.sh Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash
export WLR_NO_HARDWARE_CURSORS=1
export XDG_CURRENT_DESKTOP=sway
export XDG_CURRENT_SESSION=wayland
export QT_QPA_PLATFORM=wayland
export WLR_NO_HARDWARE_CURSORS=1
export MOZ_ENABLE_WAYLAND=1
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export XCURSOR_SIZE=24
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export PLANTUML_LIMIT_SIZE 16384
export XKB_DEFAULT_LAYOUT="pl"
export XKB_DEFAULT_OPTIONS="compose:rctrl"
sway --unsupported-gpu &