2 Commits

Author SHA1 Message Date
fbdc5b8810 add go install on workflow, temp remove iso build for faster tests
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 16s
2025-04-15 19:46:47 +02:00
0baab5a237 small changes on waybar 2025-04-15 19:45:30 +02:00
2 changed files with 22 additions and 9 deletions

View File

@ -12,12 +12,15 @@ jobs:
- name: install nix - name: install nix
uses: https://github.com/cachix/install-nix-action@v31 uses: https://github.com/cachix/install-nix-action@v31
- name: build iso - name: install go
run: make iso uses: https://github.com/actions/setup-go@v4
#- name: build iso
# run: make iso
- name: create release - name: create release
uses: https://gitea.com/actions/release-action@main uses: https://gitea.com/actions/release-action@main
with: with:
files: |- files: |-
nixos.iso flake.nix
api_key: '${{secrets.RELEASE_TOKEN}}' api_key: '${{secrets.RELEASE_TOKEN}}'

View File

@ -51,6 +51,13 @@
#temperature.critical { #temperature.critical {
color: #ff2222; color: #ff2222;
} }
#battery.critical {
color: #ff2222;
}
#cpu.high {
color: #ff2222;
}
''; '';
programs.waybar.settings.mainBar = { programs.waybar.settings.mainBar = {
@ -61,7 +68,7 @@
margin-right = 5; margin-right = 5;
modules-left = ["hyprland/workspaces" "custom/music"]; modules-left = ["hyprland/workspaces" "custom/music"];
modules-center = ["hyprland/window"]; modules-center = ["hyprland/window"];
modules-right = ["disk" "pulseaudio" "network" "custom/pipe" "cpu" "temperature" "custom/pipe" "memory" "battery" "clock"]; modules-right = ["disk" "pulseaudio" "network" "custom/pipe" "cpu" "custom/pipe" "temperature" "custom/pipe" "memory" "battery" "clock"];
"hyprland/workspaces" = { "hyprland/workspaces" = {
disable-scroll = true; disable-scroll = true;
@ -76,8 +83,9 @@
}; };
cpu = { cpu = {
format = " {usage}% |"; format = " {usage}% ";
interval = 5; states.high = 80;
interval = 5;
}; };
memory = { memory = {
@ -87,13 +95,15 @@
battery = { battery = {
bat = "BAT0"; bat = "BAT0";
full-at = 79;
states = { states = {
good = 79; good = 20;
warning = 30;
critical = 15; critical = 15;
}; };
format-time = " {H}:{m}"; format-time = " {H}:{m}";
format = " {icon} {capacity}%{time} |"; format-discharging = " {icon} {capacity}%{time} |";
format-charging = " {capacity}%{time} |";
format-plugged = "";
format-icons = [" " " " " " " " " "]; format-icons = [" " " " " " " " " "];
interval = 10; interval = 10;
}; };