diff --git a/config/hypr/configs/keybinds.lua b/config/hypr/configs/keybinds.lua index 637e3832..c152b16e 100644 --- a/config/hypr/configs/keybinds.lua +++ b/config/hypr/configs/keybinds.lua @@ -52,7 +52,7 @@ hl.bind(mainMod .. " + Return", hl.dsp.exec_cmd("uwsm app -- " .. terminal)) hl.bind("ALT + SHIFT + Return", hl.dsp.exec_cmd("uwsm app -- " .. terminal, { float = true })) hl.bind("ALT + E", hl.dsp.exec_cmd("uwsm app -- " .. file_manager)) hl.bind(mainMod .. " + B", hl.dsp.exec_cmd("uwsm app -- " .. browser)) -hl.bind(mainMod .. " + P", hl.dsp.exec_cmd("grimblast save screen")) +hl.bind("ALT + P", hl.dsp.exec_cmd("grimblast save screen")) -- Cycle Layout in Specific workspace hl.bind(mainMod .. " + Tab", cycle_layout("next")) hl.bind(mainMod .. " + SHIFT + Tab", cycle_layout("prev")) diff --git a/config/hypr/configs/monitor_and_env.lua b/config/hypr/configs/monitor_and_env.lua index ba33741d..2c1716e9 100644 --- a/config/hypr/configs/monitor_and_env.lua +++ b/config/hypr/configs/monitor_and_env.lua @@ -38,6 +38,8 @@ for key, val in pairs({ ELECTRON_OZONE_PLATFORM_HINT = "auto", ELECTRON_ARGS = "--enable-features=UseOzonePlatform --ozone-platform=wayland", + GTK_USE_PORTAL = "1", + -- nvidia GBM_BACKEND = "nvidia-drm", __GLX_VENDOR_LIBRARY_NAME = "nvidia", diff --git a/config/hypr/configs/startup_apps.lua b/config/hypr/configs/startup_apps.lua index 4936607d..15844097 100644 --- a/config/hypr/configs/startup_apps.lua +++ b/config/hypr/configs/startup_apps.lua @@ -3,6 +3,7 @@ hl.on("hyprland.start", function() local cmds = { "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP", + -- GTK_MODULES is set at Modus runtime by _setup_environment() in globalmenu.py "gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice", "hyprctl setcursor Bibata-Modern-Ice 6", "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1", diff --git a/config/hypr/configs/windowrules.lua b/config/hypr/configs/windowrules.lua index ff5356c1..df96cc4b 100644 --- a/config/hypr/configs/windowrules.lua +++ b/config/hypr/configs/windowrules.lua @@ -156,6 +156,16 @@ end local layer_rules = { { match = { namespace = "^(hyprpicker|selection|noanim|fabric)$" }, no_anim = true }, { match = { namespace = "gtk-layer-shell" }, ignore_alpha = 0 }, + { + name = "modus", + match = { + namespace = "^lock$|^modus-.*", + }, + blur = true, + no_anim = true, + ignore_alpha = 0, + blur_popups = true, + }, } for _, rule in ipairs(layer_rules) do