Add hyprland rule for chromium file dialog, update waybar style
This commit is contained in:
parent
a8f304b075
commit
fa3fb14661
|
@ -179,3 +179,4 @@ windowrule = center,(Nxplayer.bin)
|
|||
|
||||
windowrulev2 = float,title:^(Zoom|zoom).*
|
||||
windowrulev2 = workspace 5,title:^(Zoom|zoom).*
|
||||
windowrulev2 = float,title:(File),class:(chromium)
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -10,9 +10,7 @@
|
|||
settings.main = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
"modules-left" = [
|
||||
"wlr/workspaces"
|
||||
];
|
||||
"modules-left" = ["wlr/workspaces"];
|
||||
"modules-center" = [];
|
||||
"modules-right" = [
|
||||
"pulseaudio"
|
||||
|
|
3
home/desktop/waybar/modules/cava.nix
Normal file
3
home/desktop/waybar/modules/cava.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
cava_config = "$XDG_CONFIG_HOME/cava/config";
|
||||
}
|
|
@ -39,8 +39,16 @@
|
|||
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-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
|
@ -49,18 +57,8 @@ tooltip {
|
|||
border-radius: 10px;
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.modules-left,
|
||||
.modules-center,
|
||||
.modules-right {
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#cava,
|
||||
#cpu,
|
||||
#memory,
|
||||
#temperature,
|
||||
|
@ -72,14 +70,19 @@ tooltip label {
|
|||
#battery,
|
||||
#tray {
|
||||
margin: 0px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
border-bottom: 3px solid transparent;
|
||||
border-top: 3px solid transparent;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
border-bottom: 3px solid @mauve;
|
||||
border-top: 3px solid @mauve;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
border-top: 3px solid @red;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue