summaryrefslogtreecommitdiff
path: root/hypr
diff options
context:
space:
mode:
Diffstat (limited to 'hypr')
-rw-r--r--hypr/hyprland.conf72
-rw-r--r--hypr/hyprpaper.conf46
-rw-r--r--hypr/hyprscratch.conf16
3 files changed, 88 insertions, 46 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 0b4afe3..d5dc4d3 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -181,7 +181,7 @@ master {
new_on_active = before
#no_gaps_when_only = false
orientation = left
- inherit_fullscreen = true
+ #inherit_fullscreen = true
drop_at_cursor = true
}
#}}}
@@ -216,30 +216,54 @@ plugin {
# Example windowrule v2
# windowrule = float, class:^(kitty)$, title:^(kitty)$
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
-windowrulev2 = workspace special:easyeffects silent, class: ^(com\.github\.wwmm\.easyeffects)$
+windowrulev2 = workspace special:easyeffects silent, match: class ^(com\.github\.wwmm\.easyeffects)$
# Fix brave xray menus
-windowrulev2 = xray 0, class: ^(\s*), title: ^(\s*)$
+windowrulev2 = xray 0, match:class ^(\s*), match:title ^(\s*)$
# Center floating XWayland windows
-windowrule = center, xwayland: 1, class: negative:^(steam|REAPER)$
+windowrule = center on, match:xwayland on, match:class negative:^(steam|REAPER)$
# Make Steam Big Picture Mode fullscreen
-windowrule = fullscreen, class: ^(steam)$, title: ^(Steam Big Picture Mode)$
+windowrule = fullscreen on, match:class ^(steam)$, match:title ^(Steam Big Picture Mode)$
# Fix scratchpad window spawn behavior
-windowrule = workspace +0, onworkspace:name:special:sphtop, class:negative:sphtop
-windowrule = workspace +0, onworkspace:name:special:spterm, class:negative:spterm
-windowrule = workspace +0, onworkspace:name:special:sppmxr, class:negative:sppmxr
-windowrule = workspace +0, onworkspace:name:special:spblue, class:negative:spblue
-windowrule = workspace +0, onworkspace:name:special:spncmp, class:negative:spncmp
-windowrule = workspace +0, onworkspace:name:special:spmutt, class:negative:spmutt
-windowrule = workspace +0, onworkspace:name:special:spprof, class:negative:spprof
-windowrule = workspace +0, onworkspace:name:special:spirss, class:negative:spirss
-windowrule = workspace +0, onworkspace:name:special:spvimw, class:negative:spvimw
-windowrule = workspace +0, onworkspace:name:special:sptrmc, class:negative:sptrmc
-windowrule = workspace +0, onworkspace:name:special:helvum, class:negative:helvum
-windowrule = workspace +0, onworkspace:name:special:easyeffects, class:negative:easyeffects
+windowrule = workspace +0, match:workspace name:sphtop, match:title negative:sphtop
+windowrule = workspace +0, match:workspace name:spterm, match:title negative:spterm
+windowrule = workspace +0, match:workspace name:sppmxr, match:title negative:sppmxr
+windowrule = workspace +0, match:workspace name:spblue, match:title negative:spblue
+windowrule = workspace +0, match:workspace name:spncmp, match:title negative:spncmp
+windowrule = workspace +0, match:workspace name:spmutt, match:title negative:spmutt
+windowrule = workspace +0, match:workspace name:spprof, match:title negative:spprof
+windowrule = workspace +0, match:workspace name:spirss, match:title negative:spirss
+windowrule = workspace +0, match:workspace name:spvimw, match:title negative:spvimw
+windowrule = workspace +0, match:workspace name:sptrmc, match:title negative:sptrmc
+windowrule = workspace +0, match:workspace name:helvum, match:title negative:helvum
+windowrule = workspace +0, match:workspace name:easyeffects, match:title negative:easyeffects
+windowrule = center on, match:title sphtop
+windowrule = center on, match:title spterm
+windowrule = center on, match:title sppmxr
+windowrule = center on, match:title spblue
+windowrule = center on, match:title spncmp
+windowrule = center on, match:title spmutt
+windowrule = center on, match:title spprof
+windowrule = center on, match:title spirss
+windowrule = center on, match:title spvimw
+windowrule = center on, match:title sptrmc
+windowrule = center on, match:title helvum
+windowrule = center on, match:title easyeffects
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(sphtop)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spterm)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(sppmxr)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spblue)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spncmp)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spmutt)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spprof)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spirss)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spvimw)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(sptrmc)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(helvum)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(easyeffects)$
#}}}
#{{{ Layerrules
-layerrule = blur, waybar
+layerrule = blur on, match:namespace waybar
#}}}
#{{{ Mods
@@ -437,6 +461,18 @@ bind = $mainMod Control, M, exec, volsv -m
#}}}
#{{{ Scratchpads
+workspace = name:sphtop, persistent:false
+workspace = name:spterm, persistent:false
+workspace = name:sppmxr, persistent:false
+workspace = name:spblue, persistent:false
+workspace = name:spncmp, persistent:false
+workspace = name:spmutt, persistent:false
+workspace = name:spprof, persistent:false
+workspace = name:spirss, persistent:false
+workspace = name:spvimw, persistent:false
+workspace = name:sptrmc, persistent:false
+workspace = name:helvum, persistent:false
+workspace = name:easyeffects, persistent:false
bind = $mainMod CONTROL, Z, exec, hyprscratch toggle sphtop
bind = $mainMod CONTROL, X, exec, hyprscratch toggle spterm
bind = $mainMod CONTROL, C, exec, hyprscratch toggle sppmxr
diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf
index 728c00c..a11d6b0 100644
--- a/hypr/hyprpaper.conf
+++ b/hypr/hyprpaper.conf
@@ -1,15 +1,33 @@
-preload = ~/Pictures/background.png
-#if more than one preload is desired then continue to preload other backgrounds
-#preload = /path/to/next_image.png
-# .. more preloads
-
-#set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used
-wallpaper = eDP-1,~/Pictures/background.png
-wallpaper = HDMI-A-1,~/Pictures/background.png
-wallpaper = HDMI-A-2,~/Pictures/background.png
-wallpaper = DP-1,~/Pictures/background.png
-wallpaper = DP-2,~/Pictures/background.png
-#if more than one monitor in use, can load a 2nd image
-#wallpaper = monitor2,~/background.png
-# .. more monitors
+wallpaper {
+ monitor = eDP-1
+ path = ~/Pictures/background.png
+ fit_mode = cover
+}
+
+wallpaper {
+ monitor = HDMI-A-1
+ path = ~/Pictures/background.png
+ fit_mode = cover
+}
+
+wallpaper {
+ monitor = HDMI-A-2
+ path = ~/Pictures/background.png
+ fit_mode = cover
+}
+
+wallpaper {
+ monitor = DP-1
+ path = ~/Pictures/background.png
+ fit_mode = cover
+}
+
+wallpaper {
+ monitor = DP-2
+ path = ~/Pictures/background.png
+ fit_mode = cover
+}
+
+# Misc Options
splash = false
+ipc = true
diff --git a/hypr/hyprscratch.conf b/hypr/hyprscratch.conf
index 5964419..fe3cda6 100644
--- a/hypr/hyprscratch.conf
+++ b/hypr/hyprscratch.conf
@@ -1,8 +1,8 @@
# Optional globals that apply to all scratchpads
daemon_options = clean
-daemon_options = eager
+daemon_options = spotless
-global_rules = size 50% 50%
+global_options = special
sphtop {
# Mandatory fields
@@ -11,7 +11,6 @@ sphtop {
# Optional fields
options = lazy
- options = special
}
spterm {
@@ -21,7 +20,6 @@ spterm {
# Optional fields
options = lazy
- options = special
}
sppmxr {
@@ -31,7 +29,6 @@ sppmxr {
# Optional fields
options = lazy
- options = special
}
spblue {
@@ -41,7 +38,6 @@ spblue {
# Optional fields
options = lazy
- options = special
}
spncmp {
@@ -51,7 +47,6 @@ spncmp {
# Optional fields
options = lazy
- options = special
}
spmutt {
@@ -61,7 +56,6 @@ spmutt {
# Optional fields
options = lazy
- options = special
}
spprof {
@@ -71,7 +65,6 @@ spprof {
# Optional fields
options = lazy
- options = special
}
spirss {
@@ -81,7 +74,6 @@ spirss {
# Optional fields
options = lazy
- options = special
}
spvimw {
@@ -91,7 +83,6 @@ spvimw {
# Optional fields
options = lazy
- options = special
}
sptrmc {
@@ -101,7 +92,6 @@ sptrmc {
# Optional fields
options = lazy
- options = special
}
helvum {
@@ -111,7 +101,6 @@ helvum {
# Optional fields
options = lazy
- options = special
}
easyeffects {
@@ -121,6 +110,5 @@ easyeffects {
# Optional fields
options = lazy
- options = special
}