neodotfiles/user/.winitrc

50 lines
1.4 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
2023-02-22 20:46:06 +00:00
# GTK shit
2023-06-18 18:26:38 +00:00
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 'Cantarell 10'
export XCURSOR_THEME=Simp1e-Gruvbox-Dark
2023-02-22 00:02:06 +00:00
export XCURSOR_SIZE=16
2023-06-18 18:26:38 +00:00
# session settings
2023-02-22 00:02:06 +00:00
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
2023-07-24 03:53:08 +00:00
export QT_STYLE_OVERRIDE=kvantum
2023-02-22 20:46:06 +00:00
export MOZ_ENABLE_WAYLAND=1
2023-03-28 17:41:25 +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-06-18 18:26:38 +00:00
# clean home
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export W3M_DIR="$XDG_DATA_HOME/w3m"
export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0"
export WGETRC="$HOME/.config/wget/wgetrc"
export INPUTRC="$HOME/.config/inputrc"
export GNUPGHOME="$HOME/.local/share/gnupg"
2023-07-24 03:53:08 +00:00
export LESSHISTFILE=-
2023-06-18 18:26:38 +00:00
# default apps
2023-07-24 20:31:59 +00:00
export EDITOR="emacsclient -t -a ''"
export VISUAL="emacsclient -c -a 'emacs'"
2023-07-24 03:53:08 +00:00
export BROWSER="librewolf"
2023-02-22 20:46:06 +00:00
export VIEWER="zathura"
2023-02-22 00:02:06 +00:00
exec Hyprland