summaryrefslogtreecommitdiff
path: root/.config/hypr/hyprland.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r--.config/hypr/hyprland.conf100
1 files changed, 71 insertions, 29 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 9db8796..ec6c213 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -1,29 +1,11 @@
source=binds.conf
-source=monitors.conf
-source=style.conf
-source=windowrules.conf
-
-# Slow app launch fix
-exec-once = systemctl --user import-environment &
-exec-once = hash dbus-update-activation-environment 2>/dev/null &
-exec-once = dbus-update-activation-environment --systemd &
+
exec-once = startup
-#exec-once = xdg-desktop-portal-hyprland &
+env = XCURSOR_SIZE,24
+env = HYPRCURSOR_SIZE,24
exec-once = hyprctl dispatch workspace 1
-exec-once = gsettings set org.gnome.desktop.interface cursor-theme "Bibata-Modern-Classic"
-exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
-exec-once = gsettings set org.gnome.desktop.interface gtk-theme Adwaita
-
-# Some default env vars.
-env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
-env = XDG_SESSION_TYPE,wayland
-env = XDG_SESSION_DESKTOP,Hyprland
-env = XCURSOR_THEME,"Bibata-Modern-Classic"
-env = XCURSOR_SIZE,24
-env = HYPRCURSOR_THEME,HyprBibataModernClassicSVG
-
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us
@@ -46,15 +28,75 @@ input {
}
general {
- #layout = dwindle
layout = master
-
- # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false
+ resize_on_border = false
+
+ gaps_in = 0
+ gaps_out = 0
+
+ border_size = 2
+
+ col.active_border = rgba(33ccffee)
+ col.inactive_border = rgba(595959aa)
}
-windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
-windowrulev2 = noanim,class:^(xwaylandvideobridge)$
-windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
-windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
-windowrulev2 = noblur,class:^(xwaylandvideobridge)$
+decoration {
+ # See https://wiki.hyprland.org/Configuring/Variables/ for more
+
+ rounding = 0
+
+ blur {
+ enabled = true
+ size = 2
+ passes = 3
+ }
+}
+
+master {
+ # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
+ new_status = master
+ new_on_top = true
+ orientation = left
+ mfact = 0.6
+}
+
+misc {
+ # See https://wiki.hyprland.org/Configuring/Variables/ for more
+ force_default_wallpaper = 1 # Set to 0 or 1 to disable the anime mascot wallpapers
+}
+
+animations {
+ enabled = yes, please :)
+
+ # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
+
+ bezier = easeOutQuint,0.23,1,0.32,1
+ bezier = easeInOutCubic,0.65,0.05,0.36,1
+ bezier = linear,0,0,1,1
+ bezier = almostLinear,0.5,0.5,0.75,1.0
+ bezier = quick,0.15,0,0.1,1
+
+ animation = global, 1, 10, default
+ animation = border, 1, 5.39, easeOutQuint
+ animation = windows, 1, 4.79, easeOutQuint
+ animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
+ animation = windowsOut, 1, 1.49, linear, popin 87%
+ animation = fadeIn, 1, 1.73, almostLinear
+ animation = fadeOut, 1, 1.46, almostLinear
+ animation = fade, 1, 3.03, quick
+ animation = layers, 1, 3.81, easeOutQuint
+ animation = layersIn, 1, 4, easeOutQuint, fade
+ animation = layersOut, 1, 1.5, linear, fade
+ animation = fadeLayersIn, 1, 1.79, almostLinear
+ animation = fadeLayersOut, 1, 1.39, almostLinear
+ animation = workspaces, 1, 1.94, almostLinear, fade
+ animation = workspacesIn, 1, 1.21, almostLinear, fade
+ animation = workspacesOut, 1, 1.94, almostLinear, fade
+}
+
+# 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 \ No newline at end of file