Files
dotfiles/hypr/hyprland.conf

91 lines
3.1 KiB
Plaintext
Raw Normal View History

2025-11-13 23:48:27 +03:00
#SOURCES
source = ~/.config/hypr/keybindings.conf
source = ~/.config/hypr/input.conf
source = ~/.config/hypr/theme.conf
################
### MONITORS ###
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,2560x1600@120,auto,1.6
monitor=HDMI-A-1,1920x1080@165,auto,auto
exec = bash ~/.config/hypr/scripts/disable_laptop_screen.sh
xwayland {
force_zero_scaling = true
}
env = _JAVA_AWT_WM_NONREPARENTING,1
#############################
### ENVIRONMENT VARIABLES ###
#############################
# DARK THEME
exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
env = QT_QPA_PLATFORMTHEME,qt6ct # for Qt apps
# EXECS
exec = ~/.config/hypr/scripts/restart.sh waybar
exec = ~/.config/hypr/scripts/restart.sh hyprpaper
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = export _JAVA_AWT_WM_NONREPARENTING=1
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that.
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
# windowrule = bordersize 0, floating:0, onworkspace:f[1]
# windowrule = rounding 0, floating:0, onworkspace:f[1]
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # You probably want this
}
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
new_status = master
}
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
}
############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
# Example windowrule
# windowrule = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this.
windowrule = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
windowrulev2 = float, class:^(jetbrains-.*)$, title:^(?!.*)$
windowrulev2 = float, class:^(jetbrains-.*)$, title:^(win.*)$
windowrulev2 = float, class:^(jetbrains-.*)$, title:^(\s*)$
# Prevent focus stealing from pop-ups, let the main window keep focus
windowrulev2 = noinitialfocus, class:^(jetbrains-.*)$, title:^(?!.*)$
windowrulev2 = noinitialfocus, class:^(jetbrains-.*)$, title:^(win.*)$
windowrulev2 = noinitialfocus, class:^(jetbrains-.*)$, title:^(\s*)$