hyprland rules
This commit is contained in:
@@ -51,7 +51,7 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
windowRule = [
|
windowRule = [
|
||||||
"size 2160 3356, tag:horizonrdp"
|
# "size 2160 3356, tag:horizonrdp"
|
||||||
];
|
];
|
||||||
|
|
||||||
hyprpaper = {
|
hyprpaper = {
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
windowRule = [
|
windowRule = [
|
||||||
"size 2160 7680, tag:horizonrdp"
|
"match:tag horizonrdp, size 2160 7680"
|
||||||
];
|
];
|
||||||
|
|
||||||
autostartCommands = [
|
autostartCommands = [
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ in
|
|||||||
{
|
{
|
||||||
monitor = "";
|
monitor = "";
|
||||||
path = "/run/wallpaper.jpg"; # supports png, jpg, webp (no animations, though)
|
path = "/run/wallpaper.jpg"; # supports png, jpg, webp (no animations, though)
|
||||||
color = mkDefault "rgba(25, 20, 20, 1.0)";
|
color = mkDefault "rgba(25, 20, 20, 1.0";
|
||||||
|
|
||||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
blur_passes = mkDefault "3"; # 0 disables blurring
|
blur_passes = mkDefault "3"; # 0 disables blurring
|
||||||
@@ -253,7 +253,7 @@ in
|
|||||||
{
|
{
|
||||||
monitor = cfg.primaryDisplay;
|
monitor = cfg.primaryDisplay;
|
||||||
size = "200, 50";
|
size = "200, 50";
|
||||||
color = "rgba(46, 52, 64, .25)";
|
color = "rgba(46, 52, 64, .25";
|
||||||
rounding = -1;
|
rounding = -1;
|
||||||
border_size = "0";
|
border_size = "0";
|
||||||
position = "0, 0";
|
position = "0, 0";
|
||||||
@@ -526,80 +526,78 @@ in
|
|||||||
workspace = cfg.workspace;
|
workspace = cfg.workspace;
|
||||||
|
|
||||||
windowrule = [
|
windowrule = [
|
||||||
"float, title:(file_progress)"
|
"match:title file_progress, float 1"
|
||||||
"float, title:(.*[Cc]onfirm.*)"
|
"match:title .*[Cc]onfirm.*, float 1"
|
||||||
"float, title:(.*[Dd]ialog.*)"
|
"match:title .*[Dd]ialog.*, float 1"
|
||||||
"float, title:(.*[Dd]ownload.*)"
|
"match:title .*[Dd]ownload.*, float 1"
|
||||||
"float, title:(.*[Nn]otification.*)"
|
"match:title .*[Nn]otification.*, float 1"
|
||||||
"float, title:(.*[Ee]rror.*)"
|
"match:title .*[Ee]rror.*, float 1"
|
||||||
"float, title:(.*[Ss]plash.*)"
|
"match:title .*[Ss]plash.*, float 1"
|
||||||
"float, title:(.*[Cc]onfirmreset.*)"
|
"match:title .*[Cc]onfirmreset.*, float 1"
|
||||||
"float, title:(.*[Ss]ign [Ii]n - .*)"
|
"match:title .*[Ss]ign [Ii]n - .*, float 1"
|
||||||
"float, title:(.*[Oo]pen [Ff]ile.*)"
|
"match:title .*[Oo]pen [Ff]ile.*, float 1"
|
||||||
"float, title:(.*branchdialog.*)"
|
"match:title .*branchdialog.*, float 1"
|
||||||
"float, class:(.*pavucontrol.*)"
|
"match:class .*pavucontrol.*, float 1"
|
||||||
"move onscreen cursor 0% 0%, class:(.*pavucontrol.*)"
|
"match:class .*pavucontrol.*, move onscreen cursor 0% 0%"
|
||||||
"float, class:(.*[Oo]verskride.*)"
|
"match:class .*[Oo]verskride.*, float 1"
|
||||||
"float, class:(.*FileRoller.*)"
|
"match:class .*FileRoller.*, float 1"
|
||||||
"float, class:(.*wlogout.*)"
|
"match:class .*wlogout.*, float 1"
|
||||||
"idleinhibit stayfocused, title:(.*mpv.*)"
|
"match:title .*mpv.*, idle_inhibit stayfocused"
|
||||||
|
|
||||||
"float, class:(.*nm-connection-editor.*)"
|
"match:class .*nm-connection-editor.*, float 1"
|
||||||
"move onscreen cursor 0% 0%, class:(.*nm-connection-editor.*)"
|
"match:class .*nm-connection-editor.*, move onscreen cursor 0% 0%"
|
||||||
|
|
||||||
"float, title:(Media viewer)"
|
"match:title Media viewer, float 1"
|
||||||
"float, class:(it.mijorus.smile),title:(Smile)"
|
"match:class it.mijorus.smile),match:title Smile, float 1"
|
||||||
"float, class:(.blueman-manager-wrapped)$,title:(Bluetooth Devices)"
|
"match:class .blueman-manager-wrapped)$,match:title Bluetooth Devices, float 1"
|
||||||
# Picture in picture windows
|
# Picture in picture windows
|
||||||
"float, title:(.*Picture-in-Picture.*)"
|
"match:title .*Picture-in-Picture.*, float 1"
|
||||||
"pin, title::(.*Picture-in-Picture.*)"
|
"match:title .*Picture-in-Picture.*, pin 1"
|
||||||
|
|
||||||
# discord/vesktop
|
# discord/vesktop
|
||||||
# "workspace: name:discord, class:(.*vesktop)"
|
# "workspace: name:discord, match:class .*vesktop"
|
||||||
# "float, class:(.*vesktop),title:(.*Discord Popout.*)"
|
# "match:class .*vesktop),match:title .*Discord Popout.*, float 1"
|
||||||
# "pin, class:(.*vesktop),title:(.*Discord Popout.*)"
|
# "pin, match:class .*vesktop),match:title .*Discord Popout.*"
|
||||||
|
|
||||||
# Music
|
# Music
|
||||||
# "workspace: name:discord, class:(Apple Music.*)"
|
# "workspace: name:discord, match:class Apple Music.*"
|
||||||
|
|
||||||
# Steam
|
# Steam
|
||||||
"float, class:(.*[Ss]team), title:(.*[Ss]team.*)$"
|
"match:class .*[Ss]team, match:title .*[Ss]team.*, float 1"
|
||||||
"workspace name:steam silent, class:(.*[Ss]team), title:(.*[Ss]team.*)$"
|
"match:class .*[Ss]team, match:title .*[Ss]team.*, workspace name:steam silent"
|
||||||
"tile, class:(.*[Ss]team), title:(.*[Ss]team.*)$"
|
"match:class .*[Ss]team, match:title .*[Ss]team.*, tile 1"
|
||||||
"float, class:(.*steam),title:(.*Friends List.*)"
|
"match:class .*steam,match:title .*Friends List.*, float 1"
|
||||||
|
|
||||||
# Code
|
# Code
|
||||||
"pin, class:(.*codium.*),title:(Save As)"
|
"match:class .*codium.*, match:title Save As, pin 1"
|
||||||
"float, class:(.*codium.*),title:(Save As)"
|
"match:class .*codium.*, match:title Save As, float 1"
|
||||||
"float, class:(xdg-desktop-portal-gtk),title:(Open Workspace from File)"
|
"match:class xdg-desktop-portal-gtk, match:title Open Workspace from File, float 1"
|
||||||
|
|
||||||
# Game Tearing??? https://wiki.hypr.land/Configuring/Tearing/
|
# Game Tearing??? https://wiki.hypr.land/Configuring/Tearing/
|
||||||
"immediate, class:(.*gamescope)"
|
"match:class .*gamescope.*, idle_inhibit fullscreen, content game, immediate 1"
|
||||||
|
"match:xdg_tag proton-game, idle_inhibit fullscreen, content game, immediate 1"
|
||||||
|
"match:class steam_app_.*, idle_inhibit fullscreen, content game, immediate 1"
|
||||||
|
|
||||||
# vmware
|
# vmware
|
||||||
# this tag will set the below options to the vdi window
|
# this tag will set the below options to the vdi window
|
||||||
# this will have it auto open as a 2160x7680 window
|
# this will have it auto open as a 2160x7680 window
|
||||||
# and makes multi-monitor work
|
# and makes multi-monitor work
|
||||||
"tag +horizonrdp, class:(.*[Hh]orizon-client),title:(USPS Next VDI)"
|
"match:class .*[Hh]orizon-client, match:title USPS Next VDI, tag +horizonrdp"
|
||||||
|
|
||||||
"noanim, tag:horizonrdp"
|
"match:tag horizonrdp, no_anim 1"
|
||||||
"noblur, tag:horizonrdp"
|
"match:tag horizonrdp, no_blur 1"
|
||||||
"norounding, tag:horizonrdp"
|
"match:tag horizonrdp, rounding 0"
|
||||||
"noshadow, tag:horizonrdp"
|
"match:tag horizonrdp, no_shadow 1"
|
||||||
"immediate, tag:horizonrdp"
|
"match:tag horizonrdp, immediate 1"
|
||||||
"allowsinput, tag:horizonrdp"
|
"match:tag horizonrdp, allows_input 1"
|
||||||
"noborder, tag:horizonrdp"
|
"match:tag horizonrdp, border_size 0"
|
||||||
"nodim, tag:horizonrdp"
|
"match:tag horizonrdp, max_size 2160 7680"
|
||||||
"nomaxsize, tag:horizonrdp"
|
"match:tag horizonrdp, min_size 1920 1080"
|
||||||
"renderunfocused, tag:horizonrdp"
|
"match:tag horizonrdp, render_unfocused 1"
|
||||||
"idleinhibit, tag:horizonrdp"
|
"match:tag horizonrdp, idle_inhibit 1"
|
||||||
"float, tag:horizonrdp"
|
"match:tag horizonrdp, float 1"
|
||||||
# float the vmware window cause its annoying to use in fullscreen
|
# float the vmware window cause its annoying to use in fullscreen
|
||||||
"float, class:(.*[Hh]orizon-client),title:([Oo]mnissa [Hh]orizon [Cc]lient)"
|
"match:class .*[Hh]orizon-client),match:title [Oo]mnissa [Hh]orizon [Cc]lient, float 1"
|
||||||
|
|
||||||
"tag +waydroid, class:([Ww]aydroid.*)"
|
|
||||||
"float, tag:waydroid"
|
|
||||||
"pin, tag:waydroid"
|
|
||||||
]
|
]
|
||||||
++ cfg.windowRule;
|
++ cfg.windowRule;
|
||||||
|
|
||||||
@@ -694,12 +692,12 @@ in
|
|||||||
sensitivity = 0; # -1.0 - 1.0, 0 means no modification.
|
sensitivity = 0; # -1.0 - 1.0, 0 means no modification.
|
||||||
};
|
};
|
||||||
|
|
||||||
experimental = {
|
# experimental = {
|
||||||
xx_color_management_v4 = true;
|
# xx_color_management_v4 = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
debug = {
|
debug = {
|
||||||
full_cm_proto = cfg.debug.fullCmProto;
|
# full_cm_proto = cfg.debug.fullCmProto;
|
||||||
disable_logs = cfg.debug.disableLogs;
|
disable_logs = cfg.debug.disableLogs;
|
||||||
disable_scale_checks = cfg.debug.disableScaleChecks;
|
disable_scale_checks = cfg.debug.disableScaleChecks;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
|
"/etc".neededForBoot = true;
|
||||||
"/media/matt/data" = {
|
"/media/matt/data" = {
|
||||||
device = "/dev/disk/by-uuid/f851d21e-27b3-4353-aa19-590d244db6e5";
|
device = "/dev/disk/by-uuid/f851d21e-27b3-4353-aa19-590d244db6e5";
|
||||||
fsType = "bcachefs";
|
fsType = "bcachefs";
|
||||||
@@ -31,23 +32,23 @@ in
|
|||||||
++ defaultLocalOptions;
|
++ defaultLocalOptions;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Network shares
|
# # Network shares
|
||||||
"/media/nas/backup" = {
|
# "/media/nas/backup" = {
|
||||||
device = "//10.0.1.3/Backup";
|
# device = "//10.0.1.3/Backup";
|
||||||
fsType = "cifs";
|
# fsType = "cifs";
|
||||||
options = defaultNetworkShareOptions;
|
# options = defaultNetworkShareOptions;
|
||||||
};
|
# };
|
||||||
|
|
||||||
"/media/nas/isos" = {
|
# "/media/nas/isos" = {
|
||||||
device = "//10.0.1.3/isos";
|
# device = "//10.0.1.3/isos";
|
||||||
fsType = "cifs";
|
# fsType = "cifs";
|
||||||
options = defaultNetworkShareOptions;
|
# options = defaultNetworkShareOptions;
|
||||||
};
|
# };
|
||||||
|
|
||||||
"/media/nas/3d_printer" = {
|
# "/media/nas/3d_printer" = {
|
||||||
device = "//10.0.1.3/3d_printer";
|
# device = "//10.0.1.3/3d_printer";
|
||||||
fsType = "cifs";
|
# fsType = "cifs";
|
||||||
options = defaultNetworkShareOptions;
|
# options = defaultNetworkShareOptions;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user