# color theme
source = ~/.config/hypr/mocha.conf
# environment variables
env = XCURSOR_SIZE,40
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = WLR_DRM_NO_ATOMIC,1
env = GDK_BACKEND,wayland,x11
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_QPA_PLATFORMTHEME,qt5ct
# key definitions
$mod = SUPER
$left = H
$right = L
$up = K
$down = J
# app preferences
$term = foot
$menu = bemenu-run
# general configuration
general {
allow_tearing = true
col.active_border = $mauve
border_size = 2
gaps_in = 3
gaps_out = 6
}
# decoration configuration
decoration {
rounding = 4
}
# misc configuration
misc {
disable_hyprland_logo = true
mouse_move_enables_dpms = true
no_direct_scanout = false
}
# monitor configuration
monitor=DP-2,1920x1080@144,auto,1
# input configuration
input {
sensitivity = 0.0
accel_profile = flat
mouse_refocus = false
}
dwindle {
preserve_split = true
}
# key bindings
bind = $mod, Return, exec, $term # start terminal
bind = $mod Shift, Q, killactive # kill focused window
bind = $mod, D, exec, $menu # start launcher
bindm = $mod, mouse:272, movewindow # move focused floating window
bindm = $mod, mouse:273, resizewindow # resize current window
bind = $mod Alt_L Ctrl_L, L, exec, hyprctl dispatch dpms # turn off monitor
bind = $mod Alt_L Ctrl_L Shift, E, exit # exit hyprland
# bind volume control to XF86Audio{Raise,Lower}Volume
bind = ,122, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind = ,123, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
# move focus
bind = $mod, $left, movefocus, l
bind = $mod, $right, movefocus, r
bind = $mod, $up, movefocus, u
bind = $mod, $down, movefocus, d
# move focused window
bind = $mod Shift, $left, movewindow, l
bind = $mod Shift, $right, movewindow, r
bind = $mod Shift, $up, movewindow, u
bind = $mod Shift, $down, movewindow, d
# switch workspaces
bind = $mod, 1, workspace, 1
bind = $mod, 2, workspace, 2
bind = $mod, 3, workspace, 3
bind = $mod, 4, workspace, 4
bind = $mod, 5, workspace, 5
bind = $mod, 6, workspace, 6
bind = $mod, 7, workspace, 7
bind = $mod, 8, workspace, 8
bind = $mod, 9, workspace, 9
bind = $mod, 0, workspace, 10
# move focused window to workspace
bind = $mod Shift, 1, movetoworkspacesilent, 1
bind = $mod Shift, 2, movetoworkspacesilent, 2
bind = $mod Shift, 3, movetoworkspacesilent, 3
bind = $mod Shift, 4, movetoworkspacesilent, 4
bind = $mod Shift, 5, movetoworkspacesilent, 5
bind = $mod Shift, 6, movetoworkspacesilent, 6
bind = $mod Shift, 7, movetoworkspacesilent, 7
bind = $mod Shift, 8, movetoworkspacesilent, 8
bind = $mod Shift, 9, movetoworkspacesilent, 9
bind = $mod Shift, 0, movetoworkspacesilent, 10
# make focused window fullscreen
bind = $mod, F, fullscreen
# toggle focused window floating
bind = $mod Shift, Space, togglefloating
# screenshot
bind = $mod Shift, P, exec, grimshot save anything
bind = $mod, P, exec, grimshot copy anything
bind = $mod Ctrl_L Shift_L, P, exec, grimshot save active
bind = $mod Ctrl_L, P, exec, grimshot copy active
# color picker
bind = $mod, C, exec, hyprpicker -a
# screen locking
bind = $mod Ctrl_L, L, exec, waylock -init-color 0x1E1E2E -input-color 0x181825 -fail-color 0xEF8BA8
# animation configuration
animations {
enabled = true
}
bezier = ease_inout_sine, 0.37, 0, 0.63, 1
animation = global, 1, 1.5, ease_inout_sine
# window rules
windowrulev2 = immediate, class:^(ADanceOfFireAndIce)$ # ADOFAI
windowrulev2 = immediate, class:^(steam_app_1144200)$ # Ready Or Not
windowrulev2 = immediate, class:^(q2rtx)$ # Quake II RTX
windowrulev2 = immediate, class:^(cs2)$ # Counter-Strike 2
windowrulev2 = immediate, class:^(steam_proton)$ # some proton game
windowrulev2 = immediate, class:^(gamescope)$ # gamescope
windowrulev2 = float, class:^(file-[a-z]+)$, title:^(Export Image as [A-Z, ,a-z]+)$ # GIMP image export dialog
windowrulev2 = float, class:^(steam)$, title:^(Steam Settings)$ # Steam settings dialog
windowrulev2 = float, class:^(org.qbittorrent.qBittorrent)$, title:^(?!qBittorrent).*$ # qBittorrent dialogs
windowrulev2 = float, class:^(Menci)$ # ADOFAI file dialogs
windowrulev2 = float, class:^(org.kde.kdenlive)$, title:^(Kdenlive)$ # Kdenlive splash screen
windowrulev2 = float, class:^(horizon-eda)$, title:^(Part Browser)$ # horizon-eda part browser
windowrulev2 = float, class:^(net.davidotek.pupgui2)$, title:^(ProtonUp-Qt) # protonup-qt
windowrulev2 = float, class:^(blender)$, title:^(Blender Preferences)$ # Blender preferences
windowrulev2 = float, class:^(org.kde.okular)$, title:^(New Text Note) # Okular New Text Node
# execs
exec-once = dbus-update-activation-environment --systemd --all
exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME
exec-once = waybar
exec-once = hyprpaper
exec-once = dunst
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = udiskie -t --appindicator
exec-once = dex --autostart --environment hyprland
exec-once = hyprctl setcursor BreezeX-Black 40
Hyprland Version
System/Version info
Bug or Regression?
Regression
Description
The cursor size on the desktop and non-GTK apps (I've tested
footandkdenlive) does not respect the size set innwg-look, with or without theXCURSOR_SIZEenvironment variable.How to reproduce
My config file is located here.
Contents for idempotence:
Crash reports, logs, images, videos
received_-581238986_muted.mp4