Fix Wayland GTK Theme

This commit is contained in:
agryphus 2023-12-07 07:13:06 -05:00
parent 67f2497099
commit 16d3e7e80a
3 changed files with 15 additions and 10 deletions

View file

@ -1,5 +1,5 @@
[Settings] [Settings]
gtk-theme-name=gruvbox-dark gtk-application-prefer-dark-theme=1
gtk-icon-theme-name=hicolor gtk-icon-theme-name=hicolor
gtk-font-name=Sans 10 gtk-font-name=Sans 10
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0

View file

@ -7,8 +7,10 @@
# See https://wiki.hyprland.org/Configuring/Monitors/ # See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,highrr,auto,auto monitor=,highrr,auto,auto
# Some default env vars. # Wayland related environment variables.
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
env = WLR_NO_HARDWARE_CURSORS=1
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input { input {
@ -98,7 +100,8 @@ misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
enable_swallow = true enable_swallow = true
swallow_regex = ^foot$ swallow_regex = ^footclient$
mouse_move_enables_dpms = true
} }
# Example per-device config # Example per-device config
@ -116,11 +119,12 @@ device:epic-mouse-v1 {
$mainMod = SUPER $mainMod = SUPER
# Program spawning hotkeys # Program spawning hotkeys
bind = CONTROL ALT, BACKSPACE, exec, $TERMINAL -e $SHELL -c 'htop' bind = CONTROL ALT, BACKSPACE, exec, footclient -e zsh -c 'htop'
bind = $mainMod, RETURN, exec, foot bind = $mainMod, RETURN, exec, footclient
bind = $mainMod, W, exec, firefox bind = $mainMod, W, exec, firefox
bind = $mainMod, E, exec, $TERMINAL -e $SHELL -c 'tmp="$(mktemp)" && command lf -last-dir-path="$tmp" "$@" && test -f "$tmp" && dir="$(command cat "$tmp")" && rm -f "$tmp" && test -d "$dir" && cd "$dir" && exec $SHELL' bind = $mainMod, E, exec, footclient -e zsh -c 'tmp="$(mktemp)" && command lf -last-dir-path="$tmp" "$@" && test -f "$tmp" && dir="$(command cat "$tmp")" && rm -f "$tmp" && test -d "$dir" && cd "$dir" && exec $SHELL'
bind = $mainMod SHIFT, E, exec, emacsclient -c -a 'emacs' bind = $mainMod SHIFT, E, exec, emacsclient -c -a 'emacs'
bind = $mainMod, P, exec, rofi-pass
# Menu hoykeys # Menu hoykeys
bind = $mainMod, R, exec, menu-run bind = $mainMod, R, exec, menu-run
@ -134,7 +138,7 @@ binde = ,F7, exec, change-brightness up
binde = ,XF86MonBrightnessUp, exec, change-brightness up binde = ,XF86MonBrightnessUp, exec, change-brightness up
binde = ,F6, exec, change-brightness down binde = ,F6, exec, change-brightness down
binde = ,XF86MonBrightnessDown, exec, change-brightness down binde = ,XF86MonBrightnessDown, exec, change-brightness down
bind = $mainMod, L, exec, swaylock -e -c 000000 bind = $mainMod, L, exec, hyprctl dispatch dpms off; swaylock -e -c 000000
# Kill commands # Kill commands
bind = $mainMod CONTROL SHIFT, Q, exit, bind = $mainMod CONTROL SHIFT, Q, exit,
@ -213,5 +217,7 @@ exec-once = hyprctl dispatch focusmonitor 3; hyprctl dispatch exec 'hyprdwm goto
exec-once = waybar exec-once = waybar
exec-once = hyprland-autoname-workspaces exec-once = hyprland-autoname-workspaces
exec-once = kanshi exec-once = kanshi
exec-once = fcitx5
exec-once = foot --server
exec-once = sleep 1 && swww img ~/.config/wallpaper exec-once = sleep 1 && swww img ~/.config/wallpaper

View file

@ -14,15 +14,14 @@ fi
# export GBM_BACKEND=nvidia-drm # export GBM_BACKEND=nvidia-drm
# export __GLX_VENDOR_LIBRARY_NAME=nvidia # export __GLX_VENDOR_LIBRARY_NAME=nvidia
export WLR_NO_HARDWARE_CURSORS=1
export BROWSER="$(which firefox)" export BROWSER="$(which firefox)"
export EDITOR="$(which nvim)" export EDITOR="$(which nvim)"
export TERMINAL="$(which foot)"
export MANPAGER='nvim +Man! -c "ZenMode" -c "map q :qa!<CR>"' export MANPAGER='nvim +Man! -c "ZenMode" -c "map q :qa!<CR>"'
export PAGER= export PAGER=
export GTK_THEME=gruvbox-dark
# Configuring input method # Configuring input method
export GTK_IM_MODULE='fcitx' export GTK_IM_MODULE='fcitx'
export QT_IM_MODULE='fcitx' export QT_IM_MODULE='fcitx'