chore(hyprland): keep things up-to-date, outsource windowrules
This commit is contained in:
@@ -8,17 +8,14 @@ autogenerated = 0 # remove this line to remove the warning
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
#monitor=name,resolution,offset, scale
|
||||
#offset scales with scale XC
|
||||
#monitor=DP-2,3840x2160,-2560x0,auto, bitdepth, 10, vrr, 1
|
||||
#monitor=DP-1,3840x2160@60,320x-1440,auto, bitdepth, 10, vrr, 1 #320=(2560-1920)/2
|
||||
#monitor=DP-1,3840x2160@144,auto,auto, bitdepth, 10, vrr, 1
|
||||
monitor=DP-1,3840x2160@60,320x-1440,auto, bitdepth, 10, vrr, 1 #320=(2560-1920)/2
|
||||
monitor=DP-1,3840x2160@144,auto,auto, bitdepth, 10, vrr, 1
|
||||
monitor=DP-2,3840x2160,-2560x0,auto, bitdepth, 10, vrr, 1
|
||||
monitor=eDP-1,1920x1080,0x0,1
|
||||
#monitor=DP-2,3840x2160,-2560x0,auto, bitdepth, 10, vrr, 1
|
||||
monitor=eDP-1,1920x1080,auto,1,vrr, 1
|
||||
monitor=HDMI-A-1,2560x1440@60.00,0x-1440,1
|
||||
monitor=HDMI-A-2,1920x1080@74.97,0x-1080,1
|
||||
#monitor=HDMI-A-2,2560x1440@60.00,0x-1440,1
|
||||
#monitor=HDMI-A-2,3840x2160@60.00,0x-2160,auto
|
||||
#monitor=HDMI-A-2,3840x2160,0x-1080,2,bitdepth, 10, vrr, 1
|
||||
monitor= ,highres@highrr,auto-up,1
|
||||
monitor=DP-1,highres@highrr,auto-right,auto, bitdepth, 10, vrr, 1
|
||||
monitor=DP-2,highres@highrr,auto-left,auto, bitdepth, 10, vrr, 1
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
@@ -26,7 +23,6 @@ monitor=HDMI-A-2,1920x1080@74.97,0x-1080,1
|
||||
# Execute your favorite apps at launch
|
||||
# exec-once = waybar & hyprpaper & dunst & syncthing & $nextcloud & $terminal
|
||||
exec-once = $HOME/.config/hypr/autostart
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||
exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" # for GTK3 apps
|
||||
exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
|
||||
|
||||
@@ -35,14 +31,15 @@ exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
||||
source = ~/.config/hypr/background.conf
|
||||
source = ~/.config/hypr/hyprbindings.conf
|
||||
source = ~/.config/hypr/apps.conf
|
||||
source = ~/.config/hypr/windowrules.conf
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,32
|
||||
env = GSK_RENDERER,ngl
|
||||
env = GTK_THEME,Adwaita-dark
|
||||
env = QT_QPA_PLATFORM,wayland # here for calibre, with debatable effect
|
||||
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = GSK_RENDERER,ngl
|
||||
env = GTK_THEME,Adwaita-dark
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
@@ -57,10 +54,12 @@ input {
|
||||
repeat_delay = 300
|
||||
|
||||
# Follow mouse 1 2 3 :
|
||||
follow_mouse = 2
|
||||
follow_mouse = 2 # see also float_switch_override_focus
|
||||
float_switch_override_focus = 0
|
||||
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
clickfinger_behavior = true
|
||||
}
|
||||
scroll_factor = 1.0
|
||||
|
||||
@@ -90,7 +89,7 @@ general {
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 3
|
||||
rounding = 0
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
@@ -100,11 +99,12 @@ decoration {
|
||||
vibrancy = 0.3
|
||||
vibrancy_darkness = 0.8
|
||||
}
|
||||
|
||||
drop_shadow = no
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
shadow {
|
||||
enabled = no
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
}
|
||||
group {
|
||||
groupbar{
|
||||
@@ -113,9 +113,12 @@ group {
|
||||
font_size = 11
|
||||
gradients = false
|
||||
scrolling = false
|
||||
col.active = rgba(ea1d4e77)
|
||||
render_titles = false
|
||||
col.active = rgba(33ccffaa)
|
||||
col.inactive = rgba(00ff9933)
|
||||
}
|
||||
col.border_active = rgba(ea1d4ebb) rgba(fd7000bb) 45deg
|
||||
#col.border_active = rgba(ea1d4ebb) rgba(fd7000bb) 45deg
|
||||
col.border_active = rgba(00ff99ee) rgba(33ccffee) 30deg
|
||||
}
|
||||
|
||||
animations {
|
||||
@@ -167,18 +170,5 @@ device {
|
||||
accel_profile = flat
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# now invalid: # windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
|
||||
windowrule = float, pinned, ^(dunst)$
|
||||
windowrule = float, pinned, ^(notification)$
|
||||
windowrulev2 = float, pinned, title:^(Nextcloud)$
|
||||
windowrulev2 = float, title:^(Volume Control)$
|
||||
windowrulev2 = float, title:^(Network Connections)$
|
||||
windowrulev2 = float, stayfocused, dimaround, fullscreenstate, 0, title:^(Bitwarden - Vivaldi)$
|
||||
windowrulev2 = float, pin, workspace unset, noinitialfocus, suppressevents [fullscreen, maximize, activate, activatefocus], title:^(notificationtoasts)
|
||||
windowrulev2 = workspace 6, noinitialfocus, class:^(steam)$
|
||||
windowrulev2 = noinitialfocus, class: ^(steam)$
|
||||
# execute at end
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
|
||||
Reference in New Issue
Block a user