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.titlebar = false;
terminal = "${pkgs.alacritty}/bin/alacritty";
menu = "${pkgs.wofi}/bin/wofi -show drun -modi drun";
menu = "${pkgs.wofi}/bin/wofi --show drun";
bars = [];
gaps = {
inner = 10;

View File

@ -1,8 +1,10 @@
{ config, pkgs, inputs, ... }:
{
programs = {
services = {
mako = { enable = true; };
};
programs = {
alacritty = { enable = true; };
swaylock = {enable = true;};
wofi = { enable = true; };

View File

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