diff options
author | Guangxiong Lin <[email protected]> | 2024-03-05 22:12:50 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2024-03-05 22:12:50 +0800 |
commit | c617e5cdba956a6a7af5338d732ba84c1c961ee7 (patch) | |
tree | 8cc196509c49d6cd24cad8461809e36dd1edca76 /bin | |
parent | 218969d1093df2f2771da1f4de6e558520277359 (diff) | |
download | dotfiles-c617e5cdba956a6a7af5338d732ba84c1c961ee7.tar.gz dotfiles-c617e5cdba956a6a7af5338d732ba84c1c961ee7.tar.bz2 dotfiles-c617e5cdba956a6a7af5338d732ba84c1c961ee7.zip |
Set environment when starting KDE
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/startkde | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/startkde b/bin/startkde new file mode 100755 index 0000000..14d36dd --- /dev/null +++ b/bin/startkde @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +if ! command -v startplasma-wayland &> /dev/null; then + >&2 echo KDE is not installed + exit 1 +fi + +export GVIM_ENABLE_WAYLAND=1 +export MOZ_ENABLE_WAYLAND=1 + +unset GTK_IM_MODULE +unset QT_IM_MODULE + +exec startplasma-wayland |