fix: networking renaming

feat(waybar): blinks after all
This commit is contained in:
Patrick 2024-07-13 16:57:59 +02:00
parent c72505dd56
commit e0cdea8c88
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
7 changed files with 21 additions and 25 deletions

View file

@ -8,7 +8,7 @@
systemd.network.networks = { systemd.network.networks = {
"01-lan1" = { "01-lan1" = {
DHCP = "yes"; DHCP = "yes";
matchConfig.MACAddress = config.secrets.secrets.local.networking.lan01.mac; matchConfig.MACAddress = config.secrets.secrets.local.networking.interfaces.lan01.mac;
networkConfig = { networkConfig = {
IPv6PrivacyExtensions = "yes"; IPv6PrivacyExtensions = "yes";
MulticastDNS = true; MulticastDNS = true;
@ -18,7 +18,7 @@
}; };
"01-wlan1" = { "01-wlan1" = {
DHCP = "yes"; DHCP = "yes";
matchConfig.MACAddress = config.secrets.secrets.local.networking.wlan01.mac; matchConfig.MACAddress = config.secrets.secrets.local.networking.interfaces.wlan01.mac;
networkConfig = { networkConfig = {
IPv6PrivacyExtensions = "yes"; IPv6PrivacyExtensions = "yes";
MulticastDNS = true; MulticastDNS = true;

View file

@ -31,7 +31,7 @@
systemd.network.networks = { systemd.network.networks = {
"01-lan1" = { "01-lan1" = {
DHCP = "yes"; DHCP = "yes";
matchConfig.MACAddress = config.secrets.secrets.local.networking.lan01.mac; matchConfig.MACAddress = config.secrets.secrets.local.networking.interfaces.lan01.mac;
networkConfig = { networkConfig = {
IPv6PrivacyExtensions = "yes"; IPv6PrivacyExtensions = "yes";
MulticastDNS = true; MulticastDNS = true;
@ -42,7 +42,7 @@
}; };
"02-lan1" = { "02-lan1" = {
DHCP = "yes"; DHCP = "yes";
matchConfig.MACAddress = config.secrets.secrets.local.networking.lan02.mac; matchConfig.MACAddress = config.secrets.secrets.local.networking.interfaces.lan02.mac;
networkConfig = { networkConfig = {
IPv6PrivacyExtensions = "yes"; IPv6PrivacyExtensions = "yes";
MulticastDNS = true; MulticastDNS = true;
@ -53,7 +53,7 @@
}; };
"01-wlan1" = { "01-wlan1" = {
DHCP = "yes"; DHCP = "yes";
matchConfig.MACAddress = config.secrets.secrets.local.networking.wlan01.mac; matchConfig.MACAddress = config.secrets.secrets.local.networking.interfaces.wlan01.mac;
networkConfig = { networkConfig = {
IPv6PrivacyExtensions = "yes"; IPv6PrivacyExtensions = "yes";
MulticastDNS = true; MulticastDNS = true;

View file

@ -1,4 +1,3 @@
window#waybar { window#waybar {
background-color: #000000; background-color: #000000;
border-bottom: 3px solid alpha(#485263, 0.7); border-bottom: 3px solid alpha(#485263, 0.7);
@ -85,20 +84,27 @@ button:hover {
} }
#battery {
color: #ffffff;
background-color: #000000;
}
#battery.charging, #battery.charging,
#battery.plugged { #battery.plugged {
background-color: #26A65B; background-color: #26A65B;
} }
@keyframes blink { @keyframes blink {
to {
background-color: #ffffff; 0%,
color: #000000; 49% {
background-color: #000000;
}
50%,
100% {
background-color: #e05f65;
} }
}
#battery {
color: #ffffff;
background-color: #000000;
} }
/* Using steps() instead of linear as a timing function to limit cpu usage */ /* Using steps() instead of linear as a timing function to limit cpu usage */
@ -108,10 +114,9 @@ button:hover {
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
background-color: #e05f65; background-color: #e05f65;
animation-name: blink; animation-name: blink;
animation-duration: 0.5s; animation-duration: 2s;
animation-timing-function: steps(2); animation-timing-function: steps(12);
animation-iteration-count: infinite; animation-iteration-count: infinite;
animation-direction: alternate;
} }
#battery.warning:not(.charging) { #battery.warning:not(.charging) {

View file

@ -18,11 +18,6 @@
user = "root"; user = "root";
}; };
"gojo" = {
hostname = "gojo.local";
user = "root";
};
"patricknix" = { "patricknix" = {
hostname = "patricknix.local"; hostname = "patricknix.local";
user = "root"; user = "root";
@ -37,10 +32,6 @@
hostname = "desktopnix.local"; hostname = "desktopnix.local";
user = "root"; user = "root";
}; };
"binex" = {
hostname = "praksrv.sec.in.tum.de";
user = "team402";
};
"*" = { "*" = {
user = "root"; user = "root";
identitiesOnly = true; identitiesOnly = true;