task | reformatted with nixfmt

This commit is contained in:
Don Harper 2024-12-13 11:50:29 -06:00
parent e3fea64660
commit c3a0a0847f
119 changed files with 1010 additions and 2135 deletions

View file

@ -1,12 +1,6 @@
{
inputs,
pkgs,
hostname,
outputs,
osConfig,
...
}: {
xdg.configFile."sway/config".source = ./files/sway/${osConfig.networking.hostName};
{ inputs, pkgs, hostname, outputs, osConfig, ... }: {
xdg.configFile."sway/config".source =
./files/sway/${osConfig.networking.hostName};
xdg.configFile."waybar/weather.py".source = ./files/sway/weather.py;
xdg.configFile."waybar/weather.conf".source = ./files/sway/weather.conf;
@ -30,13 +24,9 @@
position = "top";
height = 10;
spacing = 0;
modules-left = [
"sway/workspaces"
"sway/mode"
"wlr/workspaces"
"custom/mycal"
];
modules-center = [];
modules-left =
[ "sway/workspaces" "sway/mode" "wlr/workspaces" "custom/mycal" ];
modules-center = [ ];
# modules-right = ["idle_inhibitor" "custom/mytimew" "pulseaudio" "custom/mymusic" "bluetooth" "network" "backlight" "battery" "battery#bat2" "tray" "custom/mycal" "clock"];
modules-right = [
"idle_inhibitor"
@ -89,12 +79,8 @@
on-click = "~/bin/control-music --pause";
interval = 5;
};
"sway/window" = {
icon-size = 10;
};
"sway/mode" = {
format = "<span style=\"italic\">{}</span>";
};
"sway/window" = { icon-size = 10; };
"sway/mode" = { format = ''<span style="italic">{}</span>''; };
"idle_inhibitor" = {
format = "{icon}";
format-icons = {
@ -107,7 +93,9 @@
spacing = 10;
};
clock = {
tooltip-format = "<big>{:%Y %B %d}</big>\n<tt><small>{calendar}</small></tt>";
tooltip-format = ''
<big>{:%Y %B %d}</big>
<tt><small>{calendar}</small></tt>'';
format = "{:%I:%M %p}";
format-alt = "{:%Y-%m-%d}";
on-click = "~/bin/mynewterm -e ikhal";
@ -116,9 +104,7 @@
format = "cpu: {usage}%";
tooltip = false;
};
memory = {
format = "mem: {}%";
};
memory = { format = "mem: {}%"; };
temperature = {
critical-threshold = 80;
format = "{temperatureC}°C {icon}";
@ -135,9 +121,7 @@
format-discharging = "d:{capacity}% {time}";
format-alt = "{time} {icon}";
};
"battery#bat2" = {
bat = "BAT2";
};
"battery#bat2" = { bat = "BAT2"; };
network = {
format-wifi = "{essid} ({signalStrength}%)";
format-ethernet = "{ipaddr}/{cidr}";