Binding changes, adjust window rules for newer hyprland version

This commit is contained in:
2026-03-19 11:26:39 +01:00
parent b257feb92a
commit 1b4cbcbec4
7 changed files with 45 additions and 30 deletions

View File

@@ -14,13 +14,18 @@ source = ./bindings/utilities.conf
# See https://wiki.hypr.land/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
bindd = $mainMod, B, Launch Browser, exec, flatpak run app.zen_browser.zen
bindd = $mainMod, B, Launch Browser, exec, firefox
bindd = $mainMod SHIFT, B, Launch Browser (Private window), exec, flatpak run app.zen_browser.zen --private-window
bindd = $mainMod, M, Spotify, exec, flatpak run com.spotify.Client
bindd = $mainMod, T, System Monitor, exec, $terminal btop
bindd = $mainMod, U, Todoist, exec, todoist
bindd = $mainMod, I, Notion, exec, notion-app
bindd = $mainMod, G, Telegram, exec, Telegram
bindd = $mainMod SHIFT, G, Signal, exec, signal-desktop
bindd = $mainMod, F, WhatsApp, exec, gtk-launch WebApp-WhatsAppWeb7770.desktop
bindd = $mainMod, F, WhatsApp, exec, omarchy-launch-webapp https://web.whatsapp.com
bindd = $mainMod, A, Gemini, exec, omarchy-launch-webapp https://gemini.google.com
bindd = $mainMod SHIFT, A, Perplexity, exec, omarchy-launch-webapp https://perplexity.ai
bindd = $mainMod, H, Home Assistant, exec, omarchy-launch-webapp https://ha.vektron.casa
bind = $mainMod, return, exec, $terminal
bind = $mainMod, Q, killactive,

View File

@@ -2,7 +2,7 @@ general {
lock_cmd = ~/.config/hypr/scripts/lock-screen # lock screen and 1password
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
inhibit_sleep = 3 # wait until screen is locked
inhibit_sleep = 3 # wait until screen is locked
}
listener {

View File

@@ -6,12 +6,15 @@ source = ~/.config/hypr/bindings.conf
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/rules.conf
exec-once = hyprpaper
exec-once = waybar
exec-once = hypridle
exec-once = uwsm app -- hyprpaper
exec-once = uwsm app -- waybar
exec-once = uwsm app -- hypridle
exec-once = systemctl --user start hyprpolkitagent
exec-once = swayosd-server
exec-once = elephant & walker --gapplication-service
exec-once = eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
exec-once = uwsm app -- nautilus --gapplication-service
exec-once = uwsm app -- swayosd-server
exec-once = uwsm app -- elephant
exec-once = uwsm app -- walker --gapplication-service
#############################
### ENVIRONMENT VARIABLES ###
@@ -157,6 +160,9 @@ misc {
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
}
cursor {
inactive_timeout = 3
}
#############
### INPUT ###
@@ -276,7 +282,7 @@ device {
# windowrule = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this.
windowrule = suppressevent maximize, class:.*
windowrule = suppress_event maximize
# Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
windowrule = no_focus true,match:class ^$,match:title ^$,match:xwayland true,match:float true,match:fullscreen false,match:pin false

View File

@@ -1,3 +1,7 @@
preload = /home/vektron/Bilder/wallpaper/omarchy/3-Milad-Fakurian-Abstract-Purple-Blue.jpg
wallpaper = , /home/vektron/Bilder/wallpaper/omarchy/3-Milad-Fakurian-Abstract-Purple-Blue.jpg
wallpaper {
monitor =
path = /home/vektron/Bilder/wallpaper/omarchy/3-Milad-Fakurian-Abstract-Purple-Blue.jpg
fit_mode = cover
}
splash = false

View File

@@ -1,14 +1,14 @@
layerrule = blur, waybar
layerrule = blurpopups, waybar
layerrule = ignorezero, waybar
layerrule = blur, swaync-control-center
layerrule = blur, swaync-notification-window
layerrule = ignorezero, swaync-control-center
layerrule = ignorezero, swaync-notification-window
layerrule = ignorealpha 0.5, swaync-control-center
layerrule = ignorealpha 0.5, swaync-notification-window
layerrule = blur, swayosd
layerrule = ignorezero, swayosd
layerrule = blur, walker
layerrule = ignorezero, walker
layerrule = ignorealpha 0.5, walker
layerrule = blur true, match:namespace waybar
layerrule = blur_popups true, match:namespace waybar
layerrule = ignore_alpha 0, match:namespace waybar
layerrule = blur true, match:namespace swaync-control-center
layerrule = blur true, match:namespace swaync-notification-window
layerrule = ignore_alpha 0, match:namespace swaync-control-center
layerrule = ignore_alpha 0, match:namespace swaync-notification-window
layerrule = ignore_alpha 0.5, match:namespace swaync-control-center
layerrule = ignore_alpha 0.5, match:namespace swaync-notification-window
layerrule = blur true, match:namespace swayosd
layerrule = ignore_alpha 0, match:namespace swayosd
layerrule = blur true, match:namespace walker
layerrule = ignore_alpha 0, match:namespace walker
layerrule = ignore_alpha 0.5, match:namespace walker