continue improvement

This commit is contained in:
Sense T
2023-06-27 10:44:31 +08:00
parent 5e6f72d38f
commit c191d80985
10 changed files with 60 additions and 63 deletions

View File

@@ -3,7 +3,7 @@
border: none;
border-radius: 10;
font-family: "nerdfonts" ;
font-size: 15px;
font-size: 12px;
min-height: 10px;
}
@@ -81,7 +81,7 @@ window#waybar.hidden {
background: #bd93f9;
}
#pulseaudio {
#wireplumber {
margin-top: 6px;
margin-left: 8px;
padding-left: 10px;
@@ -213,40 +213,4 @@ window#waybar.hidden {
color: #161320;
background: #F28FAD;
}
#custom-wallpaper {
margin-top: 6px;
margin-left: 8px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 0px;
border-radius: 10px;
transition: none;
color: #161320;
background: #C9CBFF;
}
#custom-updates {
margin-top: 6px;
margin-left: 8px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 0px;
border-radius: 10px;
transition: none;
color: #161320;
background: #E8A2AF;
}
#custom-media {
margin-top: 6px;
margin-left: 8px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 0px;
border-radius: 10px;
transition: none;
color: #161320;
background: #F2CDCD;
}
''

View File

@@ -4,27 +4,27 @@
height = 24;
modules-left = [
"custom/launcher"
"custom/launcher"
"hyprland/window"
];
modules-center = [ "wlr/workspaces" ];
modules-right = [
"backlight"
"pulseaudio" # use pipewire, test needed.
"cpu"
"memory"
"tray"
"wireplumber"
# "cpu"
# "memory"
"battery"
"tray"
"clock"
"custom/power"
];
pulseaudio = {
wireplumber = {
tooltip = false;
scroll-step = 5;
format = "{icon} {volume}%";
format-muted = "{icon} {volume}%";
on-click ="pactl set-sink-mute @DEFAULT_SINK@ toggle";
on-click ="pactl set-sink-mute @DEFAULT_SINK@ toggle"; # wpctl?
format-icons = {
default = ["" "" ""];
};
@@ -52,7 +52,7 @@
network = {
tooltip = false;
format-wifi = " {essid}";
format-wifi = " {essid}";
format-ethernet = "";
};
@@ -83,7 +83,19 @@
};
clock = {
format = "{ = %I =%M %p %d/%m/%Y}";
format = " {:%H:%M}";
tooltip-format = "\n<span size='9pt' font='Source Han Mono SC'>{calendar}</span>";
calendar = {
mode = "month";
weeks-pos = "right";
format = {
months = "<span color='#ffead3'><b>{}</b></span>";
days = "<span color='#ecc6d9'><b>{}</b></span>";
weeks = "<span color='#99ffdd'><b>W{}</b></span>";
weekdays = "<span color='#ffcc66'><b>{}</b></span>";
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
};
};
};
cpu = {
@@ -98,13 +110,13 @@
max-length = 10;
};
"custom/launcher" ={
format = " ";
on-click = "nwggrid -o 0.8";
"custom/launcher" = {
format = " ";
on-click = "nwggrid";
};
"custom/power" ={
format = " ";
"custom/power" = {
format = "󰐥 ";
on-click = "nwgbar";
};
}
}

View File

@@ -0,0 +1,2 @@
set preview_images true
set preview_images_method kitty

View File

@@ -15,6 +15,7 @@
#rofi
#rofi-rbw
nwg-launchers
iconpack-obsidian # icon theme
];
sessionPath = [
@@ -34,6 +35,9 @@
# hyprland
".config/hypr/hyprland.conf".source = ./files/hyprland.conf;
# ranger
".config/ranger/rc.conf".source = ./files/rager-rc.conf;
# Use flatseal to change permissions.
#".local/share/fonts".source = /run/current-system/sw/share/X11/fonts;