neodotfiles/new-config/.winitrc

41 lines
1.2 KiB
Text
Raw Normal View History

2023-02-22 00:02:06 +00:00
#!/bin/sh
cd ~
# Log WLR errors and logs to the hyprland log. Recommended
export HYPRLAND_LOG_WLR=1
# Tell XWayland to use a cursor theme
export XCURSOR_THEME=Simp1e-Gruvbox-Dark
2023-02-22 20:46:06 +00:00
# GTK shit
gsettings set org.gnome.desktop.interface gtk-theme 'gruvbox-dark-gtk'
gsettings set org.gnome.desktop.interface icon-theme 'gruvbox-dark-icons-gtk'
gsettings set org.gnome.desktop.interface cursor-theme 'Simp1e-Gruvbox-Dark'
gsettings set org.gnome.desktop.interface font-name 'mononoki Nerd Font'
2023-02-22 00:02:06 +00:00
# Set a cursor size
export XCURSOR_SIZE=16
# Example IME Support: fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export SDL_IM_MODULE=fcitx
export GLFW_IM_MODULE=ibus
2023-02-22 20:46:06 +00:00
export XDG_CURRENT_DESKTOP=Hyprland
export XDG_SESSION_TYPE=wayland
export QT_QPA_PLATFORMTHEME=qt5ct
export MOZ_ENABLE_WAYLAND=1
2023-03-05 16:45:34 +00:00
#export GDK_BACKEND=wayland
2023-02-22 20:46:06 +00:00
export WM=Hyprland
export SDL_VIDEODRIVER=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export XKB_DEFAULT_LAYOUT="us"
2023-03-05 16:45:34 +00:00
export EDITOR="emacsclient -t -a ''" # $EDITOR use Emacs in terminal
export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode
2023-02-22 20:46:06 +00:00
export BROWSER="firefox"
export VIEWER="zathura"
2023-02-22 00:02:06 +00:00
exec Hyprland