diff --git a/config/hypr/hyprland.lua b/config/hypr/hyprland.lua index 4e52ab5..9b40443 100644 --- a/config/hypr/hyprland.lua +++ b/config/hypr/hyprland.lua @@ -45,6 +45,9 @@ end -- Custom config +-- // █ █▄░█ █▀█ █░█ ▀█▀ +-- // █ █░▀█ █▀▀ █▄█ ░█░ + -- DK layout hl.config({ input = { @@ -52,6 +55,9 @@ hl.config({ }, }) +-- // █░█ █▀▀ █▄█ █▀▄ █ █▄░█ █▀▄ █▀ +-- // ▀▄▀ █▄▄ ░█░ █▄▀ █ █░▀█ █▄▀ ▄█ + -- Switch workspace left/right hl.bind("CONTROL + ALT + Right", hl.dsp.focus({ workspace = "r+1" }), { description = "[Workspaces] next workspace", @@ -73,4 +79,30 @@ hl.bind("SUPER + Return", hl.dsp.exec_cmd("kitty"), { description = "[Launcher|Apps] terminal emulator", }) +-- // █▀▀ █░░ █▀█ █░█ █▄░█ █▀▀ █▀ █░█ █▀▀ █▀█ █▀▄ +-- // ██▄ █▄▄ █▀▄ █▄█ █░▀█ ██▄ ▄█ ▀▄▀ ██▄ █▀▄ █▄▀ +-- Converted from the old userprefs.conf windowrules (hyprlang -> Lua). +-- HyDE dims windows to 0.90 active / 0.75 inactive; `override` sets absolute +-- values instead of multiplying, restoring full opacity for these apps. +-- Values are active / inactive / fullscreen. + +-- Opaque: browsers, readers, video +hl.window_rule({ match = { class = "^(firefox)$" }, + opacity = "1.0 override 1.0 override 1.0 override" }) +hl.window_rule({ match = { class = "^(google-chrome)$" }, + opacity = "1.0 override 1.0 override 1.0 override" }) +hl.window_rule({ match = { class = "^(chrome-www.twitch.tv__smugslav-Default)$" }, + opacity = "1.0 override 1.0 override 1.0 override" }) +hl.window_rule({ match = { class = "^(chrome-www.twitch.tv__scrapie-Default)$" }, + opacity = "1.0 override 1.0 override 1.0 override" }) +hl.window_rule({ match = { class = "^(chrome-mail.balticfinance.com__-Default)$" }, + opacity = "1.0 override 1.0 override 1.0 override" }) +hl.window_rule({ match = { class = "^(org.pwmt.zathura)$" }, + opacity = "1.0 override 1.0 override 1.0 override" }) +hl.window_rule({ match = { class = "^(mpv)$" }, + opacity = "1.0 override 1.0 override 1.0 override" }) + +-- Slightly translucent chat window +hl.window_rule({ match = { class = "^(chrome-chat.obahan.xyz__-Default)$" }, + opacity = "0.9 override 0.9 override 1.0 override" })