Update all

This commit is contained in:
Pablu
2026-01-20 10:40:50 +01:00
parent 365b3a180b
commit efa6e543ad
13 changed files with 115 additions and 371 deletions

View File

@@ -1,37 +1,37 @@
# Auto generated window rules for Games
windowrule = fullscreen, title:(Stardew Valley), class:(Stardew Valley)
windowrule = monitor DP-3, title:(Stardew Valley), class:(Stardew Valley)
windowrule = allowsinput, title:(Stardew Valley), class:(Stardew Valley)
windowrule = fullscreen on, match:title "Stardew Valley", match:class "Stardew Valley"
windowrule = monitor DP-3, match:title "Stardew Valley", match:class "Stardew Valley"
windowrule = allows_input on, match:title "Stardew Valley", match:class "Stardew Valley"
windowrule = tile, initialClass:(steam_app_.*)
windowrule = maximize, initialClass:(steam_app_.*)
windowrule = fullscreen, initialClass:(steam_app_.*)
windowrule = monitor DP-3, initialClass:(steam_app_.*)
windowrule = allowsinput, initialClass:(steam_app_.*)
windowrule = tile on, match:initial_class "steam_app_.*"
windowrule = maximize on, match:initial_class "steam_app_.*"
windowrule = fullscreen on, match:initial_class "steam_app_.*"
windowrule = monitor DP-3, match:initial_class "steam_app_.*"
windowrule = allows_input on, match:initial_class "steam_app_.*"
windowrule = stayfocused, title:(ffxiv*), class:(ffxiv*)
windowrule = fullscreen, title:(ffxiv*), class:(ffxiv*)
windowrule = monitor DP-3, title:(ffxiv*), class:(ffxiv*)
windowrule = allowsinput, title:(ffxiv*), class:(ffxiv*)
windowrule = stay_focused on, match:title "ffxiv*", match:class "ffxiv*"
windowrule = fullscreen on, match:title "ffxiv*", match:class "ffxiv*"
windowrule = monitor DP-3, match:title "ffxiv*", match:class "ffxiv*"
windowrule = allows_input on, match:title "ffxiv*", match:class "ffxiv*"
windowrule = fullscreen, title:(Hollow Knight), class:(Hollow Knight)
windowrule = monitor DP-3, title:(Hollow Knight), class:(Hollow Knight)
windowrule = allowsinput, title:(Hollow Knight), class:(Hollow Knight)
windowrule = fullscreen on, match:title "Hollow Knight", match:class "Hollow Knight"
windowrule = monitor DP-3, match:title "Hollow Knight", match:class "Hollow Knight"
windowrule = allows_input on, match:title "Hollow Knight", match:class "Hollow Knight"
windowrule = fullscreen, title:(HELLDIVERS*), class:(HELLDIVERS*)
windowrule = monitor DP-3, title:(HELLDIVERS*), class:(HELLDIVERS*)
windowrule = allowsinput, title:(HELLDIVERS*), class:(HELLDIVERS*)
windowrule = fullscreen on, match:title "HELLDIVERS*", match:class "HELLDIVERS*"
windowrule = monitor DP-3, match:title "HELLDIVERS*", match:class "HELLDIVERS*"
windowrule = allows_input on, match:title "HELLDIVERS*", match:class "HELLDIVERS*"
windowrule = tile, title:(CS), class:(CS)
windowrule = maximize, title:(CS), class:(CS)
windowrule = fullscreen, title:(CS), class:(CS)
windowrule = monitor DP-3, title:(CS), class:(CS)
windowrule = allowsinput, title:(CS), class:(CS)
windowrule = tile on, match:title "CS", match:class "CS"
windowrule = maximize on, match:title "CS", match:class "CS"
windowrule = fullscreen on, match:title "CS", match:class "CS"
windowrule = monitor DP-3, match:title "CS", match:class "CS"
windowrule = allows_input on, match:title "CS", match:class "CS"
windowrule = tile, title:(Warhammer 40,000: Darktide)
windowrule = maximize, title:(Warhammer 40,000: Darktide)
windowrule = fullscreen, title:(Warhammer 40,000: Darktide)
windowrule = monitor DP-3, title:(Warhammer 40,000: Darktide)
windowrule = allowsinput, title:(Warhammer 40,000: Darktide)
windowrule = tile on, match:title "Warhammer 40.000: Darktide"
windowrule = maximize on, match:title "Warhammer 40.000: Darktide"
windowrule = fullscreen on, match:title "Warhammer 40.000: Darktide"
windowrule = monitor DP-3, match:title "Warhammer 40.000: Darktide"
windowrule = allows_input on, match:title "Warhammer 40.000: Darktide"

View File

@@ -92,9 +92,7 @@ misc {
# https://wiki.hyprland.org/Configuring/Variables/#input
input {
kb_layout = de #us,
# kb_variant = qwertz #,
kb_options = grp:alt_space_toggle
kb_layout = de
follow_mouse = 1
sensitivity = 0.2 # -1.0 - 1.0, 0 means no modification.
@@ -105,3 +103,8 @@ input {
natural_scroll = false
}
}
device {
name = kinesis-kinesis-adv360-1
kb_layout = us
}

View File

@@ -23,3 +23,5 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR
exec-once = dunst
exec-once = polkit-kde-agent
exec-once = playerctld daemon
exec-once = $hyprlock

View File

@@ -20,8 +20,8 @@ workspace=9,monitor:DP-3,persistent:true
workspace=10,monitor:DP-3,persistent:true
# Other
windowrule = stayfocused, class:(swappy)
windowrule = allowsinput, class:(discord)
windowrule = monitor DP-2, class:(discord)
windowrule = noinitialfocus, initialClass:(steam)
windowrule = monitor DP-2, initialClass:(steam)
windowrule = stay_focused on, match:class swappy
windowrule = allows_input on, match:class discord
windowrule = monitor DP-2, match:class discord
windowrule = no_initial_focus on, match:initial_class steam
windowrule = monitor DP-2, match:initial_class steam

8
.config/hypr/fix-hypr-lock.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
IS_LOCKED=$(ps -e | grep hyprlock)
if [ -z "$IS_LOCKED" ]
then
hyprlock
fi

View File

@@ -2,12 +2,12 @@
games = [
("all", "Stardew Valley"),
("initialclass", "steam_app_.*", "tile", "max"),
("ic", "steam_app_.*", "tile", "max"),
("all", "ffxiv*", "sf"),
("all", "Hollow Knight"),
("all", "HELLDIVERS*"),
("all", "CS", "tile", "max"),
("title", "Warhammer 40,000: Darktide", "tile", "max")
("title", "Warhammer 40.000: Darktide", "tile", "max")
]
def main():
@@ -19,14 +19,14 @@ def main():
name = game[1]
match game[0]:
case "initialclass":
selector = f"initialClass:({name})"
case "ic":
selector = f"match:initial_class \"{name}\""
case "title":
selector = f"title:({name})"
selector = f"match:title \"{name}\""
case "class":
selector = f"class:({name})"
selector = f"match:class \"{name}\""
case "all":
selector = f"title:({name}), class:({name})"
selector = f"match:title \"{name}\", match:class \"{name}\""
case s:
print(f"Could not find selector for \"{s}\"")
continue
@@ -34,18 +34,18 @@ def main():
for setting in game[2::]:
match setting:
case "sf":
conf += f"windowrule = stayfocused, {selector}\n"
conf += f"windowrule = stay_focused on, {selector}\n"
case "tile":
conf += f"windowrule = tile, {selector}\n"
conf += f"windowrule = tile on, {selector}\n"
case "max":
conf += f"windowrule = maximize, {selector}\n"
conf += f"windowrule = maximize on, {selector}\n"
case s:
print(f"Could not find setting \"{s}\"")
conf += f"""windowrule = fullscreen, {selector}
conf += f"""windowrule = fullscreen on, {selector}
windowrule = monitor DP-3, {selector}
windowrule = allowsinput, {selector}\n
windowrule = allows_input on, {selector}\n
"""
f.write(conf)
f.close()

View File

@@ -2,7 +2,7 @@
# BACKGROUND
background {
monitor = DP-3
monitor = DP-4
path = /home/zam/.config/wallpapers/wall0.png
blur_passes = 3
contrast = 0.8916
@@ -12,7 +12,7 @@ background {
}
background {
monitor = DP-2
monitor = DP-3
path = /home/zam/.config/wallpapers/wall1.png
blur_passes = 3
contrast = 0.8916
@@ -31,7 +31,7 @@ general {
# INPUT FIELD
input-field {
monitor = DP-3
monitor = DP-4
size = 250, 60
outline_thickness = 2
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
@@ -51,7 +51,7 @@ input-field {
# TIME
label {
monitor =
monitor = DP-4
text = cmd[update:1000] date +"%-I:%M%p"
# color = $foreground
color = rgba(255, 255, 255, 0.6)
@@ -64,7 +64,7 @@ label {
# USER
label {
monitor = DP-3
monitor = DP-4
text = Hi there, Zam
# color = $foreground
color = rgba(255, 255, 255, 0.6)

View File

@@ -1,6 +1,12 @@
preload = ~/.config/wallpapers/wall0.jpg
preload = ~/.config/wallpapers/wall1.jpg
wallpaper = DP-3,~/.config/wallpapers/wall0.jpg
wallpaper = DP-2,~/.config/wallpapers/wall1.jpg
wallpaper {
monitor = DP-4
path = ~/.config/wallpapers/wall0.jpg
}
wallpaper {
monitor = DP-3
path = ~/.config/wallpapers/wall1.jpg
}