update(hyprland): switched to hyprland 0.55.1
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
exec-once = [
|
||||
"uwsm app -- xdg-terminal-exec -e btop-power -p 2"
|
||||
];
|
||||
windowrulev2 = [
|
||||
"monitor ${myConfig.btop.monitor}, title:^(btop)$"
|
||||
windowrule = [
|
||||
"match:title ^(btop)$, monitor ${myConfig.btop.monitor}"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
"special:jellyfin, on-created-empty:uwsm app -- firefox -P web-app --name jellyfin https://watch.sakamoto.dev"
|
||||
];
|
||||
|
||||
windowrulev2 = [
|
||||
"opacity 0.99 0.99, class:(?i)(firefox|youtube|jellyfin)"
|
||||
"workspace special:youtube, class:^(youtube)$"
|
||||
"workspace special:jellyfin, class:^(jellyfin)$"
|
||||
windowrule = [
|
||||
"match:class (?i)(firefox|youtube|jellyfin), opacity 1 1"
|
||||
"match:class ^(youtube)$, workspace special:youtube"
|
||||
"match:class ^(jellyfin)$, workspace special:jellyfin"
|
||||
];
|
||||
};
|
||||
imports = [
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
};
|
||||
decoration = {
|
||||
rounding = 0;
|
||||
active_opacity = 0.99;
|
||||
active_opacity = 1;
|
||||
inactive_opacity = 0.99;
|
||||
shadow = {
|
||||
enabled = true;
|
||||
@@ -29,7 +29,6 @@
|
||||
};
|
||||
monitor = myConfig.hyprland.monitors;
|
||||
dwindle = {
|
||||
pseudotile = true;
|
||||
preserve_split = true;
|
||||
smart_split = false;
|
||||
};
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
{pkgs, ...}: {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
layerrule = [
|
||||
# Blur and transparency for vicinae
|
||||
"blur, vicinae"
|
||||
"ignorealpha 0, vicinae"
|
||||
|
||||
# Disable animation for vicinae
|
||||
"noanim, vicinae"
|
||||
"match:namespace vicinae, blur true, ignore_alpha 0.0, no_anim true"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
disable_splash_rendering = true;
|
||||
focus_on_activate = true;
|
||||
anr_missed_pings = 3;
|
||||
new_window_takes_over_fullscreen = 1;
|
||||
on_focus_under_fullscreen = 1;
|
||||
};
|
||||
|
||||
# experimental = {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
windowrulev2 = [
|
||||
windowrule = [
|
||||
# Make all inactive windows transparent
|
||||
"opacity 0.99 0.8, class:.*"
|
||||
"match:class .*, opacity 1 0.8"
|
||||
# But make Firefox windows opaque again (last rule wins)
|
||||
"float, title:(?i)bitwarden"
|
||||
"match:title (?i)bitwarden, float on"
|
||||
];
|
||||
workspace = [
|
||||
];
|
||||
|
||||
@@ -64,22 +64,23 @@ in {
|
||||
"SUPER CTRL, I, Switch Wallpaper, exec, hakase-wallpaper-switch"
|
||||
];
|
||||
|
||||
windowrulev2 = [
|
||||
windowrule = [
|
||||
# --- WALLPAPER PICKER ---
|
||||
"float, class:^(org\.hakase\.switch-wallpaper)$"
|
||||
"float, initialTitle:^(Wallpaper Selector)$"
|
||||
"center, class:^(org\.hakase\.switch-wallpaper)$"
|
||||
"center, initialTitle:^(Wallpaper Selector)$"
|
||||
"size 60% 60%, class:^(org\.hakase\.switch-wallpaper)$"
|
||||
"size 60% 60%, initialTitle:^(Wallpaper Selector)$"
|
||||
"dimaround, class:^(org\.hakase\.switch-wallpaper)$"
|
||||
"dimaround, initialTitle:^(Wallpaper Selector)$"
|
||||
"match:class ^(org\.hakase\.switch-wallpaper)$, float on"
|
||||
"match:initial_title ^(Wallpaper Selector)$, float on"
|
||||
"match:class ^(org\.hakase\.switch-wallpaper)$, center on"
|
||||
"match:initial_title ^(Wallpaper Selector)$, center on"
|
||||
"match:class ^(org\.hakase\.switch-wallpaper)$, size 60% 60%"
|
||||
"match:initial_title ^(Wallpaper Selector)$, size 60% 60%"
|
||||
"match:class ^(org\.hakase\.switch-wallpaper)$, dim_around on"
|
||||
"match:initial_title ^(Wallpaper Selector)$, dim_around on"
|
||||
];
|
||||
};
|
||||
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
splash = false;
|
||||
preload = [cacheWallpaper];
|
||||
wallpaper = [
|
||||
",${cacheWallpaper}"
|
||||
|
||||
@@ -73,9 +73,9 @@ in {
|
||||
show = no
|
||||
'';
|
||||
|
||||
wayland.windowManager.hyprland.settings.windowrulev2 = [
|
||||
wayland.windowManager.hyprland.settings.windowrule = [
|
||||
# --- IMAGE VIEWER (swayimg) ---
|
||||
"float, class:^(swayimg)$"
|
||||
"center, class:^(swayimg)$"
|
||||
"match:class ^(swayimg)$, float on"
|
||||
"match:class ^(swayimg)$, center on"
|
||||
];
|
||||
}
|
||||
|
||||
@@ -62,14 +62,14 @@
|
||||
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec-once = [ "systemctl --user start jellyfin-mpv-shim" ];
|
||||
windowrulev2 = [
|
||||
windowrule = [
|
||||
# --- JELLYFIN MPV SHIM ---
|
||||
"float, class:^(jellyfin-mpv-shim)$"
|
||||
"center, class:^(jellyfin-mpv-shim)$"
|
||||
"size 70% 70%, class:^(jellyfin-mpv-shim)$"
|
||||
"opacity 1.0 override 1.0 override, class:^(jellyfin-mpv-shim)$"
|
||||
"idleinhibit focus, class:^(jellyfin-mpv-shim)$"
|
||||
"noblur, class:^(jellyfin-mpv-shim)$"
|
||||
"match:class ^(jellyfin-mpv-shim)$, float on"
|
||||
"match:class ^(jellyfin-mpv-shim)$, center on"
|
||||
"match:class ^(jellyfin-mpv-shim)$, size 70% 70%"
|
||||
"match:class ^(jellyfin-mpv-shim)$, opacity 1.0 override 1.0 override"
|
||||
"match:class ^(jellyfin-mpv-shim)$, idle_inhibit focus"
|
||||
"match:class ^(jellyfin-mpv-shim)$, no_blur on"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -30,10 +30,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.settings.windowrulev2 = [
|
||||
wayland.windowManager.hyprland.settings.windowrule = [
|
||||
# --- VIDEO PLAYER (mpv) ---
|
||||
"float, class:^(mpv)$"
|
||||
"center, class:^(mpv)$"
|
||||
"size 60% 70%, class:^(mpv)$"
|
||||
"match:class ^(mpv)$, float on"
|
||||
"match:class ^(mpv)$, center on"
|
||||
"match:class ^(mpv)$, size 60% 70%"
|
||||
];
|
||||
}
|
||||
|
||||
@@ -78,10 +78,9 @@ in {
|
||||
|
||||
bindd = [
|
||||
"SUPER, SPACE, Open Vicinae, exec, vicinae-toggle"
|
||||
"SUPER, period, Open Emoji Picker, exec, vicinae-toggle deeplink vicinae://extensions/vicinae/core/search-emojis"
|
||||
# FIXME: calculator history does not allow you to calculate
|
||||
"SUPER, C, Open Calculator, exec, vicinae-toggle deeplink vicinae://extensions/vicinae/calculator/history"
|
||||
"SUPER, V, Open Clipboard History, exec, vicinae-toggle deeplink vicinae://extensions/vicinae/clipboard/history"
|
||||
"SUPER, period, Open Emoji Picker, exec, vicinae-toggle deeplink vicinae://launch/core/search-emojis"
|
||||
"SUPER, C, Open Calculator, exec, vicinae-toggle deeplink vicinae://launch/calculator/history"
|
||||
"SUPER, V, Open Clipboard History, exec, vicinae-toggle deeplink vicinae://launch/clipboard/history"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -65,13 +65,13 @@ in {
|
||||
"SUPER, T, exec, hakase-popup-launch wiremix"
|
||||
];
|
||||
|
||||
windowrulev2 = [
|
||||
windowrule = [
|
||||
# --- POPUP RULES (Wifi, BT, Audio) ---
|
||||
"float, class:^(org\.hakase\.popup\..*)$"
|
||||
"size 900 600, class:^(org\.hakase\.popup\..*)$"
|
||||
"center, class:^(org\.hakase\.popup\..*)$"
|
||||
"animation slide right, class:^(org\.hakase\.popup\..*)$"
|
||||
"dimaround, class:^(org\.hakase\.popup\..*)$"
|
||||
"match:class ^(org\.hakase\.popup\..*)$, float on"
|
||||
"match:class ^(org\.hakase\.popup\..*)$, size 900 600"
|
||||
"match:class ^(org\.hakase\.popup\..*)$, center on"
|
||||
"match:class ^(org\.hakase\.popup\..*)$, animation slide right"
|
||||
"match:class ^(org\.hakase\.popup\..*)$, dim_around on"
|
||||
];
|
||||
};
|
||||
imports = [
|
||||
|
||||
@@ -153,10 +153,10 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.settings.windowrulev2 = [
|
||||
wayland.windowManager.hyprland.settings.windowrule = [
|
||||
# File picker yazi - floating, centered, smaller size
|
||||
"float, class:^(org\\.hakase\\.popup\\.yazi)$"
|
||||
"size 60% 70%, class:^(org\\.hakase\\.popup\\.yazi)$"
|
||||
"center, class:^(org\\.hakase\\.popup\\.yazi)$"
|
||||
"match:class ^(org\\.hakase\\.popup\\.yazi)$, float on"
|
||||
"match:class ^(org\\.hakase\\.popup\\.yazi)$, size 60% 70%"
|
||||
"match:class ^(org\\.hakase\\.popup\\.yazi)$, center on"
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user