This commit is contained in:
k 2024-11-19 22:02:21 -05:00
parent 1f1a29fb7c
commit 446e5ab59b
3 changed files with 29 additions and 20 deletions

View File

@ -11,7 +11,7 @@
window.border = 1; window.border = 1;
window.titlebar = false; window.titlebar = false;
terminal = "${pkgs.alacritty}/bin/alacritty"; terminal = "${pkgs.alacritty}/bin/alacritty";
menu = "${pkgs.wofi}/bin/wofi -show drun -modi drun"; menu = "${pkgs.wofi}/bin/wofi --show drun";
bars = []; bars = [];
gaps = { gaps = {
inner = 10; inner = 10;

View File

@ -1,12 +1,14 @@
{ config, pkgs, inputs, ... }: { config, pkgs, inputs, ... }:
{ {
programs = { services = {
mako = { enable = true; }; mako = { enable = true; };
};
programs = {
alacritty = { enable = true; }; alacritty = { enable = true; };
swaylock = {enable = true;}; swaylock = {enable = true;};
wofi = { enable = true; }; wofi = { enable = true; };
zathura = { enable = true; }; zathura = { enable = true; };
mpv = { enable = true; }; mpv = { enable = true; };
}; };
} }

View File

@ -7,6 +7,9 @@
layer = "bottom"; layer = "bottom";
position = "bottom"; position = "bottom";
output = [ "eDP-1" ]; output = [ "eDP-1" ];
margin-left = 45;
margin-right = 45;
spacing = 15;
modules-left = [ "sway/workspaces" "sway/mode" ]; modules-left = [ "sway/workspaces" "sway/mode" ];
modules-center = [ "clock" ]; modules-center = [ "clock" ];
@ -26,16 +29,16 @@
"pulseaudio" = { "pulseaudio" = {
format = "{volume}% {icon}"; format = "{volume}% {icon}";
format-bluetooth = "{volume}% {icon}"; format-bluetooth = "{volume}% {icon} ";
format-muted = ""; format-muted = " ";
format-icons = { format-icons = {
headphone = ""; headphone = " ";
hands-free = ""; hands-free = " ";
headset = ""; headset = " ";
phone = ""; phone = " ";
portable = ""; portable = " ";
car = ""; car = " ";
default = [ "" "" ]; default = [ " " " " ];
}; };
scroll-step = 1; scroll-step = 1;
on-click = "pavucontrol"; on-click = "pavucontrol";
@ -51,22 +54,26 @@
network = { network = {
format = "{ifname}"; format = "{ifname}";
format-wifi = "{essid} ({signalStrength}%) "; format-wifi = "{essid} ({signalStrength}%) ";
format-ethernet = "{ipaddr}/{cidr} 󰊗"; format-ethernet = "{ipaddr}/{cidr} 󰊗 ";
format-disconnected = "󰤮"; format-disconnected = "󰤮 ";
tooltip-format = "{ifname} via {gwaddr} 󰊗"; tooltip-format = "{ifname} via {gwaddr} 󰊗 ";
tooltip-format-wifi = "{essid} ({signalStrength}%) "; tooltip-format-wifi = "{essid} ({signalStrength}%) ";
tooltip-format-ethernet = "{ifname} "; tooltip-format-ethernet = "{ifname} ";
tooltip-format-disconnected = "Disconnected"; tooltip-format-disconnected = "Disconnected";
max-length = 50; max-length = 50;
}; };
battery = { battery = {
format = "{capacity}% {icon}"; format = "{capacity}% {icon}";
"format-icons" = [ "" "" "" "" "" ]; "format-icons" = [ " " " " " " " " " " ];
}; };
clock = { "format-alt" = "{:%a, %d. %b %H:%M}"; }; clock = {
format = "{:%I:%M %p}";
"format-alt" = "{:%a, %d. %b %H:%M}";
tooltip = false;
};
}; };
}; };
}; };