waybar changes

This commit is contained in:
Charlie Root 2024-05-26 03:00:51 +02:00
commit fe075d5150
4 changed files with 11 additions and 34 deletions

View file

@ -49,7 +49,6 @@ in {
nicotine-plus nicotine-plus
nil nil
nitch nitch
nixfmt
nixpkgs-wayland.swww nixpkgs-wayland.swww
nmap nmap
notesnook notesnook

View file

@ -1,12 +1,10 @@
{ {
config, config,
lib, lib,
inputs,
pkgs,
... ...
}: }:
with lib; let with lib; let
username = config.modules.other.system.username; inherit (config.modules.other.system) username;
cfg = config.modules.programs.steam; cfg = config.modules.programs.steam;
in { in {
options.modules.programs.steam = { options.modules.programs.steam = {

View file

@ -17,10 +17,9 @@ in {
settings.mainBar = { settings.mainBar = {
gtk-layer-shell = true; gtk-layer-shell = true;
layer = "top"; layer = "top";
modules-left = ["custom/launcher" "tray" "hyprland/window"]; modules-left = ["tray" "hyprland/window"];
modules-center = ["hyprland/workspaces"]; modules-center = ["hyprland/workspaces"];
modules-right = [ modules-right = [
# "custom/dnd"
"mpd" "mpd"
"cpu" "cpu"
"memory" "memory"
@ -77,8 +76,8 @@ in {
}; };
}; };
tray = { tray = {
icon-size = 18; icon-size = 12;
spacing = 8; spacing = 5;
}; };
# 󰃰 # 󰃰
clock = { clock = {
@ -126,25 +125,6 @@ in {
format = "{}"; format = "{}";
separate-outputs = true; separate-outputs = true;
}; };
cava = {
framerate = 60;
autosens = 0;
sensitivity = 7;
bars = 14;
lower_cutoff_freq = 50;
higher_cutoff_freq = 10000;
method = "pipewire";
source = "auto";
stereo = true;
reverse = false;
bar_delimiter = 0;
monstercat = false;
waves = false;
noise_reduction = 0.77;
input_delay = 0;
format-icons = ["" "" "" "" "" "" "" ""];
actions = {on-click-right = "mode";};
};
mpd = { mpd = {
format = "󰝚 {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})"; format = "󰝚 {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})";
format-disconnected = "󰝚 Disconnected"; format-disconnected = "󰝚 Disconnected";
@ -205,10 +185,10 @@ in {
} }
#window { #window {
margin-top: 4px; margin-top: 2px;
margin-bottom: 4px; margin-bottom: 2px;
padding-left: 10px; padding-left: 2px;
padding-right: 10px; padding-right: 2px;
background: @mantle; background: @mantle;
color: @teal; color: @teal;
font-family: JetBrains Mono; font-family: JetBrains Mono;
@ -219,7 +199,7 @@ in {
} }
#workspaces button { #workspaces button {
border-radius: 3px; border-radius: 0px;
padding-top: 0px; padding-top: 0px;
padding-right: 0px; padding-right: 0px;
padding-bottom: 0px; padding-bottom: 0px;

View file

@ -127,8 +127,8 @@ in {
}; };
general = { general = {
sensitivity = 1.0; sensitivity = 1.0;
gaps_in = 4; gaps_in = 0;
gaps_out = 10; gaps_out = 0;
border_size = 2; border_size = 2;
}; };
#Decoration settings #Decoration settings