hyprland update (vaxerski hat lange weile)

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2026-03-10 01:50:54 +01:00
parent 014a29a7e0
commit f3e4b617ff
4 changed files with 86 additions and 86 deletions

View File

@@ -28,15 +28,15 @@ in {
hyprshade
hyprshot
slurp
xdg-desktop-portal-hyprland
# xdg-desktop-portal-hyprland
];
wayland.windowManager.hyprland = {
enable = true;
# package = pkgs-unstable.hyprland;
package = pkgs.hyprland;
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
# package = pkgs.hyprland;
package = inputs.hyprland.packages.${hyper.system}.hyprland;
xwayland.enable = true;
systemd.enable = true;
plugins = [
@@ -237,74 +237,74 @@ in {
# "hyprswitch --daemon"
];
windowrulev2 = [
"bordercolor rgba(${rice.lib.nohash rice.color.special.bright}ff), pinned:1"
windowrule = [
"border_color rgba(${rice.lib.nohash rice.color.special.bright}ff) rgba(${rice.lib.nohash rice.color.special.brighter}ff), match:pin 1"
"bordersize 0, floating:0, onworkspace:w[tv1]"
"rounding 0, floating:0, onworkspace:w[tv1]"
"bordersize 0, floating:0, onworkspace:f[1]"
"rounding 0, floating:0, onworkspace:f[1]"
"border_size 0, match:float 0, match:workspace w[tv1]"
"rounding 0, match:float 0, match:workspace w[tv1]"
"border_size 0, match:float 0, match:workspace f[1]"
"rounding 0, match:float 0, match:workspace f[1]"
] ++ [
"center 1,class:^(gimp)$"
"center 1,match:class ^(gimp)$"
"float, class:^(ibus-ui.*)$"
"float, class:^(ibus-ui-gtk3)$"
"float, class:^(imv)$"
"float, class:^(org.kde.polkit-kde-authentication-agent-1)$"
"float, class:^(presenter)$" # sent
"float, class:^(thunderbird)$"
"float, title:^(Compact folders)$"
"float, title:^(Ibus-ui.*)$"
"float, title:^(Ibus-ui-gtk3)$"
"float, title:^(Page Info .*)$"
"float, title:^(Picture-in-Picture)$"
"float, title:^(wlogout)$"
"float on, match:class ^(ibus-ui.*)$"
"float on, match:class ^(ibus-ui-gtk3)$"
"float on, match:class ^(imv)$"
"float on, match:class ^(org.kde.polkit-kde-authentication-agent-1)$"
"float on, match:class ^(presenter)$" # sent
"float on, match:class ^(thunderbird)$"
"float on, match:title ^(Compact folders)$"
"float on, match:title ^(Ibus-ui.*)$"
"float on, match:title ^(Ibus-ui-gtk3)$"
"float on, match:title ^(Page Info .*)$"
"float on, match:title ^(Picture-in-Picture)$"
"float on, match:title ^(wlogout)$"
"fullscreen, class:^(imv)$"
"fullscreen, class:^(sent)$"
"fullscreen, class:^(wlogout)$"
"fullscreen on, match:class ^(imv)$"
"fullscreen on, match:class ^(sent)$"
"fullscreen on, match:class ^(wlogout)$"
"noanim, class:^(imv)$"
"noanim, class:^(presenter)$" # sent
"no_anim on, match:class ^(imv)$"
"no_anim on, match:class ^(presenter)$" # sent
"opacity ${transparency}, class:^(Code)$"
"opacity ${transparency}, class:^(code-oss)$"
"opacity ${transparency}, class:^(discord)$"
# "opacity ${transparency}, class:^(vesktop)$"
# "opacity ${transparency}, class:^(Element)$"
"opacity ${transparency}, class:^(lutris)$"
"opacity ${transparency}, class:^(neovide)$"
# "opacity ${transparency}, class:^(obsidian)$"
"opacity ${transparency}, class:^(VSCodium)$"
"opacity ${transparency}, title:^(wlogout)$"
"opaque, title:^(GNU Image Manipulation Program)$"
"opaque, fullscreen:1"
"opacity ${transparency}, match:class ^(Code)$"
"opacity ${transparency}, match:class ^(code-oss)$"
"opacity ${transparency}, match:class ^(discord)$"
# "opacity ${transparency}, match:class ^(vesktop)$"
# "opacity ${transparency}, match:class ^(Element)$"
"opacity ${transparency}, match:class ^(lutris)$"
"opacity ${transparency}, match:class ^(neovide)$"
# "opacity ${transparency}, match:class ^(obsidian)$"
"opacity ${transparency}, match:class ^(VSCodium)$"
"opacity ${transparency}, match:title ^(wlogout)$"
"opaque on, match:title ^(GNU Image Manipulation Program)$"
"opaque on, match:fullscreen 1"
"pin, title:^(Picture-in-Picture)$"
"pin on, match:title ^(Picture-in-Picture)$"
"tile, class:^(sent)$"
"tile on, match:class ^(sent)$"
"workspace 100, class:^(gamescope)$"
"workspace 100, match:class ^(gamescope)$"
"float, title:^(terminal-file-picker)$"
"dimaround, title:^(terminal-file-picker)$"
"center, title:^(terminal-file-picker)$"
"size 80% 80%, title:^(terminal-file-picker)$"
"float on, match:title ^(terminal-file-picker)$"
"dim_around on, match:title ^(terminal-file-picker)$"
"center on, match:title ^(terminal-file-picker)$"
"size 80% 80%, match:title ^(terminal-file-picker)$"
# "size 30% 30%, initialTitle:^(Select Calendar)$"
];
"float on, match:initial_title ^(Select Calendar)$"
"size 30% 30%, match:initial_title ^(Select Calendar)$"
];
layerrule = [
"blur,waybar"
"blur,bar-0" # hyprpanel
"blur,bar-1"
"blur,bar-2"
"blur,bar-3"
"blur,bar-4"
"dimaround,rofi"
"blur,rofi"
"xray,rofi"
"blur on, match:namespace waybar"
"blur on, match:namespace bar-0" # hyprpanel
"blur on, match:namespace bar-1"
"blur on, match:namespace bar-2"
"blur on, match:namespace bar-3"
"blur on, match:namespace bar-4"
"blur on, match:namespace rofi"
"dim_around on, match:namespace rofi"
];
@@ -378,6 +378,7 @@ in {
"SUPER, W, submap, browserSM "
# "SUPER, E, exec, element-desktop"
"SUPER, R, exec, rofi -show drun"
"SUPER SHIFT, R, exec, rofi -show drun"
# "SUPER, T, exec, alacritty"
# "SUPER SHIFT, T, exec, alacritty -e sh -c "ssh nxace""
"SUPER, T, exec, SESSION_FROM_DE=TRUE ${terminal}"
@@ -424,7 +425,7 @@ in {
"SUPER SHIFT, C, exec, hyprpicker -n -a"
"SUPER, V, togglefloating, "
# "SUPER, B, exec, bitwarden"
"SUPER, N, togglesplit"
"SUPER, N, layoutmsg, togglesplit"
# "SUPER, M, exec, /home/nx2/scripts/meme-full-screen/meme-full-screen.sh "
''SUPER, M, exec, sh -c "hyprshade on $(find ${hyper.home}/.config/hypr/shaders -type f | sed -E 's-.*shaders/(.+)\.glsl-\1-g' | rofi -dmenu)"''
"SUPER Shift, M, exec, hyprshade off"

View File

@@ -492,11 +492,9 @@ in {
xdgOpenUsePortal = true;
config.common."org.freedesktop.impl.portal.FileChooser" = "termfilechooser";
extraPortals = [ tfc ] ++ (with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
xdg-desktop-portal-wlr
]);
};