xps docked or not
This commit is contained in:
@@ -4,15 +4,27 @@ let
|
|||||||
transparency = builtins.toString rice.transparency;
|
transparency = builtins.toString rice.transparency;
|
||||||
terminal = "ghostty";
|
terminal = "ghostty";
|
||||||
terminal-exec = "ghostty --command=";
|
terminal-exec = "ghostty --command=";
|
||||||
monitors = {
|
monitors = let
|
||||||
|
docked = false;
|
||||||
|
in {
|
||||||
xps = {
|
xps = {
|
||||||
main = {
|
main = if docked then {
|
||||||
|
name = "DP-5";
|
||||||
|
resolution = "1920x1080";
|
||||||
|
position = "1920x0";
|
||||||
|
scale = "1.0";
|
||||||
|
} else {
|
||||||
name = "eDP-1";
|
name = "eDP-1";
|
||||||
resolution = "1920x1200";
|
resolution = "1920x1200";
|
||||||
position = "0x1080";
|
position = "0x1080";
|
||||||
scale = "1.0";
|
scale = "1.0";
|
||||||
};
|
};
|
||||||
second = {
|
second = if docked then {
|
||||||
|
name = "DP-6";
|
||||||
|
resolution = "1920x1080";
|
||||||
|
position = "0x0";
|
||||||
|
scale = "1.0";
|
||||||
|
} else {
|
||||||
name = "DP-3";
|
name = "DP-3";
|
||||||
resolution = "1920x1080";
|
resolution = "1920x1080";
|
||||||
position = "0x0";
|
position = "0x0";
|
||||||
@@ -281,48 +293,46 @@ in {
|
|||||||
"rounding 0, floating:0, onworkspace:w[tv1]"
|
"rounding 0, floating:0, onworkspace:w[tv1]"
|
||||||
"bordersize 0, floating:0, onworkspace:f[1]"
|
"bordersize 0, floating:0, onworkspace:f[1]"
|
||||||
"rounding 0, floating:0, onworkspace:f[1]"
|
"rounding 0, floating:0, onworkspace:f[1]"
|
||||||
];
|
|
||||||
|
|
||||||
windowrule = [
|
|
||||||
# "opacity ${transparency}, firefox"
|
# "opacity ${transparency}, firefox"
|
||||||
"opacity ${transparency}, code-oss"
|
"opacity ${transparency}, class:^(code-oss)$"
|
||||||
"opacity ${transparency}, VSCodium"
|
"opacity ${transparency}, class:^(VSCodium)$"
|
||||||
"opacity ${transparency}, Code"
|
"opacity ${transparency}, class:^(Code)$"
|
||||||
# "opacity ${transparency}, sent"
|
# "opacity ${transparency}, sent"
|
||||||
"opacity ${transparency}, neovide"
|
"opacity ${transparency}, class:^(neovide)$"
|
||||||
"opacity ${transparency}, obsidian"
|
"opacity ${transparency}, class:^(obsidian)$"
|
||||||
# "opacity ${transparency}, zathura"
|
# "opacity ${transparency}, zathura"
|
||||||
# "bordercolor rgba(${rice.lib.nohash rice.color.foreground}ff) rgba(${rice.lib.nohash rice.color.background}${rice.lib.float-to-drune rice.transparency}), Alacritty"
|
# "bordercolor rgba(${rice.lib.nohash rice.color.foreground}ff) rgba(${rice.lib.nohash rice.color.background}${rice.lib.float-to-drune rice.transparency}), Alacritty"
|
||||||
# "bordercolor rgba(${rice.lib.nohash rice.color.foreground}ff) rgba(${rice.lib.nohash rice.color.background}${rice.lib.float-to-drune rice.transparency}), ${terminal}"
|
# "bordercolor rgba(${rice.lib.nohash rice.color.foreground}ff) rgba(${rice.lib.nohash rice.color.background}${rice.lib.float-to-drune rice.transparency}), ${terminal}"
|
||||||
"opacity ${transparency}, discord"
|
"opacity ${transparency}, class:^(discord)$"
|
||||||
"opacity ${transparency}, vesktop"
|
"opacity ${transparency}, class:^(vesktop)$"
|
||||||
"opacity ${transparency}, Element"
|
"opacity ${transparency}, class:^(Element)$"
|
||||||
"opacity ${transparency}, lutris"
|
"opacity ${transparency}, class:^(lutris)$"
|
||||||
"opacity ${transparency}, element"
|
"opacity ${transparency}, class:^(element)$"
|
||||||
# "opacity ${transparency}, ^([sS]potify)$"
|
# "opacity ${transparency}, ^([sS]potify)$"
|
||||||
# "opacity ${transparency}, virt-manager"
|
# "opacity ${transparency}, virt-manager"
|
||||||
# "opacity ${transparency}, thunar"
|
# "opacity ${transparency}, thunar"
|
||||||
"opacity ${transparency}, title:^(wlogout)$"
|
"opacity ${transparency}, title:^(wlogout)$"
|
||||||
"opaque, title:^(GNU Image Manipulation Program)$"
|
"opaque, title:^(GNU Image Manipulation Program)$"
|
||||||
"float, title:^(Picture-in-Picture)$"
|
"float, title:^(Picture-in-Picture)$"
|
||||||
"float, title:^(Ibus-ui.*)$"
|
# "float, class:^(Ibus-ui.*)$"
|
||||||
"float, ^(ibus-ui.*)$"
|
# "float, ^(ibus-ui.*)$"
|
||||||
"float, ^(ibus-ui-gtk3)$"
|
# "float, ^(ibus-ui-gtk3)$"
|
||||||
"float, title:^(Ibus-ui-gtk3)$"
|
"float, title:^(Ibus-ui-gtk3)$"
|
||||||
"pin, title:^(Picture-in-Picture)$"
|
"pin, title:^(Picture-in-Picture)$"
|
||||||
"float, org.kde.polkit-kde-authentication-agent-1"
|
"float, class:^(org.kde.polkit-kde-authentication-agent-1)$"
|
||||||
"float, title:^(wlogout)$"
|
"float, title:^(wlogout)$"
|
||||||
"float, imv"
|
"float, class:^(imv)$"
|
||||||
"float, title:^(Page Info — .*)$"
|
"float, title:^(Page Info — .*)$"
|
||||||
"float, title:^(Compact folders)$"
|
"float, title:^(Compact folders)$"
|
||||||
"tile, sent"
|
"tile, class:^(sent)$"
|
||||||
"fullscreen, wlogout"
|
"fullscreen, class:^(wlogout)$"
|
||||||
"fullscreen, sent"
|
"fullscreen, class:^(sent)$"
|
||||||
"workspace 14, lutris"
|
"workspace 14, class:^(lutris)$"
|
||||||
"workspace 100, title:^(Apex Legends)$"
|
"workspace 100, title:^(Apex Legends)$"
|
||||||
"workspace 100, ^(cyberpunk2077.exe)$"
|
# "workspace 100, ^(cyberpunk2077.exe)$"
|
||||||
"workspace 100, title:^(No Man.s Sky)$"
|
"workspace 100, title:^(No Man.s Sky)$"
|
||||||
"workspace 100, gamescope"
|
"workspace 100, class:^(gamescope)$"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user