Re-style wlogout for consistency

Update some hyprland rules

Adjust monitor locations for Ronin
This commit is contained in:
Evie Litherland-Smith 2023-10-17 09:57:53 +01:00
parent 3ab21edc2c
commit a88456c409
4 changed files with 56 additions and 49 deletions

View file

@ -220,7 +220,7 @@
} }
rsync-local-config () { rsync-local-config () {
HOST=$1 HOST=$1
for TARGET in emacs doom starship.toml; do for TARGET in starship.toml; do
SOURCE="${config.xdg.configHome}/$TARGET" SOURCE="${config.xdg.configHome}/$TARGET"
if [[ -e ${config.xdg.configHome}/$TARGET ]]; then if [[ -e ${config.xdg.configHome}/$TARGET ]]; then
[[ -d $SOURCE ]] && SOURCE="$SOURCE/" [[ -d $SOURCE ]] && SOURCE="$SOURCE/"

View file

@ -181,24 +181,30 @@ in ''
windowrule = center,(davmail-imap-ImapConnection) windowrule = center,(davmail-imap-ImapConnection)
windowrule = float,(wlogout) windowrule = float,(wlogout)
windowrule = center,(wlogout) windowrule = center,(wlogout)
windowrule = size 100% 100%,(wlogout)
windowrule = nofullscreenrequest,(wlogout) windowrule = nofullscreenrequest,(wlogout)
windowrule = nomaximizerequest,(wlogout) windowrule = nomaximizerequest,(wlogout)
windowrule = size 75% 75%,(wlogout) windowrule = noborder,(wlogout)
windowrule = noanim,(wlogout)
windowrule = pin,(wlogout) windowrule = pin,(wlogout)
windowrule = dimaround,(wlogout)
windowrule = stayfocused,(wlogout) windowrule = stayfocused,(wlogout)
windowrule = keepaspectratio,(wlogout)
windowrule = pin,(Rofi) windowrule = pin,(Rofi)
windowrule = dimaround,(Rofi) windowrule = dimaround,(Rofi)
windowrule = stayfocused,(Rofi) windowrule = stayfocused,(Rofi)
windowrule = nofullscreenrequest,(firefox) windowrule = nofullscreenrequest,(firefox)
windowrule = nomaximizerequest,(firefox) windowrule = nomaximizerequest,(firefox)
windowrulev2 = float,title:(File|Picture-in-Picture),class:(firefox) windowrulev2 = float,title:(File|Picture-in-Picture),class:(firefox)
windowrulev2 = float,title:^(Extension.*)$,class:(firefox)
windowrulev2 = pin,title:(File|Picture-in-Picture),class:(firefox) windowrulev2 = pin,title:(File|Picture-in-Picture),class:(firefox)
windowrulev2 = workspace special silent, title:^(Firefox Sharing Indicator)$ windowrulev2 = pin,title:^(Extension.*)$,class:(firefox)
windowrulev2 = workspace special silent, title:^(.*is sharing (your screen|a window)\.)$ windowrulev2 = center,title:(File|Picture-in-Picture),class:(firefox)
windowrulev2 = center,title:^(Extension.*)$,class:(firefox)
windowrulev2 = workspace special silent, title:^(Firefox Sharing Indicator)$,class:(firefox)
windowrulev2 = workspace special silent, title:^(.*is sharing (your screen|a window)\.)$,class:(firefox)
windowrulev2 = float,title:(Open),class:(soffice) windowrulev2 = float,title:(Open),class:(soffice)
windowrulev2 = float,class:(steam),title:(Friends List) windowrulev2 = float,title:(Friends List),class:(steam)
windowrulev2 = float,class:(steam),title:(Steam Settings) windowrulev2 = float,title:(Steam Settings),class:(steam)
# Workspace definitions # Workspace definitions
# 1: [t]erminal # 1: [t]erminal

View file

@ -23,52 +23,53 @@
keybind = "l"; keybind = "l";
} }
]; ];
style = let style = with config.lib.stylix.colors.withHashtag;
shutdownIcon = ./icons/shutdown.png; let
rebootIcon = ./icons/reboot.png; font-family = config.stylix.fonts.sansSerif.name;
logoutIcon = ./icons/logout.png; shutdownIcon = ./icons/shutdown.png;
in '' rebootIcon = ./icons/reboot.png;
* { logoutIcon = ./icons/logout.png;
font-family: "Fira Sans"; in ''
} * { font-family: "${font-family}"; }
window { window {
background: transparent; border: none;
} background: transparent;
}
button { button {
background-repeat: no-repeat; border: ${base0D};
background-position: center; background-color: alpha(${base00}, 0.8);
background-size: 25%; background-repeat: no-repeat;
border: none; background-position: center;
background-color: rgba(36, 39, 58, .5); background-size: 25%;
box-shadow: none; box-shadow: none;
margin: 5px; margin: 5px;
font-size: 20px; font-size: 20px;
color: #6e738d; color: ${base05};
} }
button:hover { button:hover {
background-color: rgba(183, 189, 248, .05); background-color: ${base01};
color: #cad3f5; color: ${base05};
} }
button:focus { button:focus {
background-color: rgba(202, 211, 245, .1); background-color: ${base03};
color: #cad3f5; color: ${base05};
} }
#shutdown { #shutdown {
background-image: url("${shutdownIcon}"); background-image: url("${shutdownIcon}");
} }
#reboot { #reboot {
background-image: url("${rebootIcon}"); background-image: url("${rebootIcon}");
} }
#logout { #logout {
background-image: url("${logoutIcon}"); background-image: url("${logoutIcon}");
} }
''; '';
}; };
} }

View file

@ -23,7 +23,7 @@
disable_splash_rendering = true disable_splash_rendering = true
} }
monitor=eDP-1,preferred,0x190,1.5 monitor=eDP-1,preferred,0x480,1.5
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x190,1 monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x0,1
''; '';
} }