Add hyprland rule for chromium file dialog, update waybar style

This commit is contained in:
Evie Litherland-Smith 2023-07-13 13:49:51 +01:00
parent a8f304b075
commit fa3fb14661
5 changed files with 24 additions and 54 deletions

View file

@ -179,3 +179,4 @@ windowrule = center,(Nxplayer.bin)
windowrulev2 = float,title:^(Zoom|zoom).* windowrulev2 = float,title:^(Zoom|zoom).*
windowrulev2 = workspace 5,title:^(Zoom|zoom).* windowrulev2 = workspace 5,title:^(Zoom|zoom).*
windowrulev2 = float,title:(File),class:(chromium)

View file

@ -1,35 +0,0 @@
{...}: {
imports = [./default.nix];
programs.waybar.settings.compact = {
layer = "top";
position = "top";
"modules-left" = [
"wlr/workspaces"
"cpu"
"memory"
"temperature"
];
"modules-center" = [
"clock#compact"
];
"modules-right" = [
"pulseaudio#compact"
"bluetooth#compact"
"network#compact"
"backlight"
"battery#compact"
"tray"
];
"wlr/workspaces" = import ./modules/wlr_workspaces.nix;
cpu = import ./modules/cpu.nix;
memory = import ./modules/memory.nix;
temperature = import ./modules/temperature.nix;
"clock#compact" = import ./modules/clock.compact.nix;
"pulseaudio#compact" = import ./modules/pulseaudio.compact.nix;
"bluetooth#compact" = import ./modules/bluetooth.compact.nix;
"network#compact" = import ./modules/network.compact.nix;
backlight = import ./modules/backlight.nix;
"battery#compact" = import ./modules/battery.compact.nix;
tray = import ./modules/tray.nix;
};
}

View file

@ -10,9 +10,7 @@
settings.main = { settings.main = {
layer = "top"; layer = "top";
position = "top"; position = "top";
"modules-left" = [ "modules-left" = ["wlr/workspaces"];
"wlr/workspaces"
];
"modules-center" = []; "modules-center" = [];
"modules-right" = [ "modules-right" = [
"pulseaudio" "pulseaudio"

View file

@ -0,0 +1,3 @@
{
cava_config = "$XDG_CONFIG_HOME/cava/config";
}

View file

@ -39,8 +39,16 @@
font-size: 18px; font-size: 18px;
} }
window { window > box {
margin-left: 20px;
margin-right: 20px;
border-left: 3px solid @surface2;
border-right: 3px solid @surface2;
border-bottom: 3px solid @surface2; border-bottom: 3px solid @surface2;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
} }
tooltip { tooltip {
@ -49,18 +57,8 @@ tooltip {
border-radius: 10px; border-radius: 10px;
} }
tooltip label {
font-size: 24px;
}
.modules-left,
.modules-center,
.modules-right {
margin-left: 20px;
margin-right: 20px;
}
#workspaces, #workspaces,
#cava,
#cpu, #cpu,
#memory, #memory,
#temperature, #temperature,
@ -72,14 +70,19 @@ tooltip label {
#battery, #battery,
#tray { #tray {
margin: 0px; margin: 0px;
padding-left: 10px; padding-left: 5px;
padding-right: 10px; padding-right: 5px;
} }
#workspaces button { #workspaces button {
border-bottom: 3px solid transparent; border-top: 3px solid transparent;
border-radius: 0px;
} }
#workspaces button.active { #workspaces button.active {
border-bottom: 3px solid @mauve; border-top: 3px solid @mauve;
}
#workspaces button.urgent {
border-top: 3px solid @red;
} }