Small changes to waybar and smallfetch

This commit is contained in:
Bun 2025-04-22 23:04:05 -04:00
parent f1ef766a9b
commit 5e98415873
4 changed files with 9 additions and 8 deletions

View file

@ -248,6 +248,6 @@
};
# Symlinks to Librewolf
home.file.".librewolf".source = config.lib.file.mkOutOfStoreSymlink "/home/${config.home.username}/.mozilla/firefox";
home.file.".librewolf".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.mozilla/firefox";
};
}

View file

@ -1,5 +1,5 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ (writeScriptBin "pfetch" "fastfetch --config ~/.config/fastfetch/small.jsonc") ];
home.packages = with pkgs; [ (writeScriptBin "smallfetch" "fastfetch --config ~/.config/fastfetch/small.jsonc") ];
xdg.configFile."fastfetch/small.jsonc".source = ./small.jsonc;
}

View file

@ -21,7 +21,7 @@
path = "$ZDOTDIR/.zsh_history";
};
initExtra = ''
pfetch
smallfetch
source ${pkgs.zsh-you-should-use}/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh
'';
};

View file

@ -124,7 +124,6 @@
tooltip-format-connected = "{num_connections} connected\n{device_enumerate}";
tooltip-format-enumerate-connected = "{device_alias}";
tooltip-format-enumerate-connected-battery = "{device_alias} {device_battery_percentage}%";
on-click = "rofi-bluetooth";
};
scratchpadModule = {
@ -148,7 +147,7 @@
icon-size = 15;
};
mediaModule = {
mpdModule = {
format = " {title}";
format-paused = " {artist}";
format-stopped = "";
@ -156,8 +155,9 @@
tooltip-format = "{artist} - {title}";
interval = 2;
max-length = 30;
on-click = "mpc toggle";
on-click = "playerctl -p mpd play-pause";
};
notificationModule = {
exec = pkgs.writeScript "notificationScript" ''
# Run makoctl mode and store the output in a variable
@ -193,6 +193,7 @@
format-icons = [ "" "󰖨" ];
tooltip = false;
};
batteryModule = {
interval = 60;
states = {
@ -278,7 +279,7 @@
"niri/window" = windowModule;
"hyprland/window" = windowModule;
"pulseaudio" = pulseModule;
"mpd" = mediaModule;
"mpd" = mpdModule;
"custom/notifs" = notificationModule;
"cpu" = cpuModule;
"memory" = ramModule;
@ -358,7 +359,7 @@
"niri/window" = windowModule;
"hyprland/window" = windowModule;
"pulseaudio" = pulseModule;
"mpd" = mediaModule;
"mpd" = mpdModule;
"custom/notifs" = notificationModule;
"custom/weather2" = weatherModule;
"cpu" = cpuModule;