mirror of
https://github.com/rydesun/dotfiles.git
synced 2026-07-16 22:16:11 +08:00
Fix wayland config
This commit is contained in:
parent
c98651c8c5
commit
1d674579bb
3 changed files with 5 additions and 12 deletions
|
|
@ -1,8 +1,12 @@
|
|||
allow_remote_control socket-only
|
||||
listen_on unix:/tmp/kitty
|
||||
|
||||
# 强制走xwayland
|
||||
# 使用不支持text_input_v3的qtile时需要
|
||||
linux_display_server x11
|
||||
|
||||
# {{{ 主题
|
||||
font_size 15
|
||||
font_size 10
|
||||
background_opacity 0.95
|
||||
|
||||
# 关闭响铃声音
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
Xft/Hinting 1
|
||||
Xft/HintStyle "hintslight"
|
||||
Xft/Antialias 1
|
||||
Xft/RGBA "rgb"
|
||||
|
|
@ -90,10 +90,6 @@ export SDL_IM_MODULE=fcitx
|
|||
export GLFW_IM_MODULE=ibus
|
||||
# }}}
|
||||
|
||||
# 同步所有环境变量到所有systemd将要启动的程序
|
||||
command -v dbus-update-activation-environment &>/dev/null && \
|
||||
dbus-update-activation-environment --systemd --all 2>/dev/null
|
||||
|
||||
USE_WAYLAND=true
|
||||
# NOTE: 直接在登录shell中自启桌面环境
|
||||
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
||||
|
|
@ -105,9 +101,6 @@ if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
|||
## QTile尚不支持wayland输入法相关协议
|
||||
export GTK_IM_MODULE=fcitx
|
||||
|
||||
command -v dbus-update-activation-environment &>/dev/null && \
|
||||
dbus-update-activation-environment --systemd --all 2>/dev/null
|
||||
|
||||
if $USE_WAYLAND; then
|
||||
qtile start -b wayland
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue