Small changes to waybar and smallfetch
This commit is contained in:
parent
f1ef766a9b
commit
5e98415873
4 changed files with 9 additions and 8 deletions
|
@ -248,6 +248,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Symlinks to Librewolf
|
# 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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ pkgs, ... }:
|
{ 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;
|
xdg.configFile."fastfetch/small.jsonc".source = ./small.jsonc;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
path = "$ZDOTDIR/.zsh_history";
|
path = "$ZDOTDIR/.zsh_history";
|
||||||
};
|
};
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
pfetch
|
smallfetch
|
||||||
source ${pkgs.zsh-you-should-use}/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh
|
source ${pkgs.zsh-you-should-use}/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -124,7 +124,6 @@
|
||||||
tooltip-format-connected = "{num_connections} connected\n{device_enumerate}";
|
tooltip-format-connected = "{num_connections} connected\n{device_enumerate}";
|
||||||
tooltip-format-enumerate-connected = "{device_alias}";
|
tooltip-format-enumerate-connected = "{device_alias}";
|
||||||
tooltip-format-enumerate-connected-battery = "{device_alias} {device_battery_percentage}%";
|
tooltip-format-enumerate-connected-battery = "{device_alias} {device_battery_percentage}%";
|
||||||
on-click = "rofi-bluetooth";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
scratchpadModule = {
|
scratchpadModule = {
|
||||||
|
@ -148,7 +147,7 @@
|
||||||
icon-size = 15;
|
icon-size = 15;
|
||||||
};
|
};
|
||||||
|
|
||||||
mediaModule = {
|
mpdModule = {
|
||||||
format = " {title}";
|
format = " {title}";
|
||||||
format-paused = " {artist}";
|
format-paused = " {artist}";
|
||||||
format-stopped = "";
|
format-stopped = "";
|
||||||
|
@ -156,8 +155,9 @@
|
||||||
tooltip-format = "{artist} - {title}";
|
tooltip-format = "{artist} - {title}";
|
||||||
interval = 2;
|
interval = 2;
|
||||||
max-length = 30;
|
max-length = 30;
|
||||||
on-click = "mpc toggle";
|
on-click = "playerctl -p mpd play-pause";
|
||||||
};
|
};
|
||||||
|
|
||||||
notificationModule = {
|
notificationModule = {
|
||||||
exec = pkgs.writeScript "notificationScript" ''
|
exec = pkgs.writeScript "notificationScript" ''
|
||||||
# Run makoctl mode and store the output in a variable
|
# Run makoctl mode and store the output in a variable
|
||||||
|
@ -193,6 +193,7 @@
|
||||||
format-icons = [ "" "" ];
|
format-icons = [ "" "" ];
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
batteryModule = {
|
batteryModule = {
|
||||||
interval = 60;
|
interval = 60;
|
||||||
states = {
|
states = {
|
||||||
|
@ -278,7 +279,7 @@
|
||||||
"niri/window" = windowModule;
|
"niri/window" = windowModule;
|
||||||
"hyprland/window" = windowModule;
|
"hyprland/window" = windowModule;
|
||||||
"pulseaudio" = pulseModule;
|
"pulseaudio" = pulseModule;
|
||||||
"mpd" = mediaModule;
|
"mpd" = mpdModule;
|
||||||
"custom/notifs" = notificationModule;
|
"custom/notifs" = notificationModule;
|
||||||
"cpu" = cpuModule;
|
"cpu" = cpuModule;
|
||||||
"memory" = ramModule;
|
"memory" = ramModule;
|
||||||
|
@ -358,7 +359,7 @@
|
||||||
"niri/window" = windowModule;
|
"niri/window" = windowModule;
|
||||||
"hyprland/window" = windowModule;
|
"hyprland/window" = windowModule;
|
||||||
"pulseaudio" = pulseModule;
|
"pulseaudio" = pulseModule;
|
||||||
"mpd" = mediaModule;
|
"mpd" = mpdModule;
|
||||||
"custom/notifs" = notificationModule;
|
"custom/notifs" = notificationModule;
|
||||||
"custom/weather2" = weatherModule;
|
"custom/weather2" = weatherModule;
|
||||||
"cpu" = cpuModule;
|
"cpu" = cpuModule;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue