working system

This commit is contained in:
Vali 2024-07-15 09:27:55 +02:00
commit b4585b3e87
14 changed files with 76 additions and 18 deletions

View file

@ -20,10 +20,10 @@ in {
plugins = with inputs.anyrun.packages.${pkgs.system}; [
applications
dictionary
rink
#rink
shell
# symbols
translate
#translate
websearch
];
hideIcons = false;
@ -41,7 +41,6 @@ in {
extraConfigFiles = {
"applications.ron".text = ''
Config(
desktop_actions: true,
max_entries: 10,
terminal: Some("foot"),
)

View file

@ -92,7 +92,7 @@ in {
{
Name = "noogle";
Descriptiom = "Noogle Search";
Alias = "!no";
Alias = "!ng";
Method = "GET";
URLTemplate = "https://noogle.dev/";
}

View file

@ -16,14 +16,15 @@ in {
settings.mainBar = {
gtk-layer-shell = true;
layer = "top";
modules-left = ["tray" "hyprland/window"];
modules-left = ["tray" "mpd" "hyprland/window"];
modules-center = ["hyprland/workspaces"];
modules-right = [
"mpd"
"cpu"
"memory"
"pulseaudio"
"clock"
"backlight"
"battery"
];
pulseaudio = {
@ -34,6 +35,7 @@ in {
format-icons = {default = ["󰕿" "󰖀" "󰕾"];};
on-click = "${pkgs.wireplumber}/bin/wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
};
"hyprland/workspaces" = {
sort-by-name = true;
sort-by-coordinates = false;
@ -74,10 +76,12 @@ in {
"30" = "10";
};
};
tray = {
icon-size = 12;
spacing = 5;
};
# 󰃰
clock = {
interval = 1;
@ -105,27 +109,39 @@ in {
};
};
};
battery = {
interval = 10;
states = {
good = 75;
warning = 20;
critical = 10;
};
format = "{icon}{capacity}%";
format-charging = "󰚥{icon}{capacity}%";
format-discharging = "{icon}{capacity}%";
format-icons = ["󰂎" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹"];
format-charging-icons = ["󰢟" "󰢜" "󰂆" "󰂇" "󰂈" "󰢝" "󰂉" "󰢞" "󰂊" "󰂋" "󰂅"];
};
cpu = {
interval = 1;
format = "󰻠 {}%";
max-length = 10;
};
memory = {
interval = 1;
format = "󰍛 {}%";
max-length = 10;
};
"custom/launcher" = {
format = " ";
on-click = "anyrun";
on-click-right = "pkill anyrun";
};
"hyprland/window" = {
format = "{}";
separate-outputs = true;
};
mpd = {
format = "󰝚 {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})";
format = "󰝚 {artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})";
format-disconnected = "󰝚 Disconnected";
format-stopped = "󰝚 Stopped";
interval = 1;
@ -134,6 +150,7 @@ in {
on-click = "mpc toggle";
};
};
style = ''
@define-color base #1e1e2e;
@define-color mantle #181825;

View file

@ -6,7 +6,7 @@
}:
with lib; let
cfg = config.modules.programs.zathura;
username = config.modules.other.system.username;
inherit (config.modules.other.system) username;
catppuccin = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "zathura";
@ -24,7 +24,16 @@ in {
extraConfig = ''
include catppuccin-mocha
'';
options = {selection-clipboard = "clipboard";};
options = {
selection-clipboard = "clipboard";
adjust-open = "best-fit";
pages-per-row = "1";
scroll-page-aware = "true";
scroll-full-overlap = "0.01";
scroll-step = "100";
zoom-min = "10";
guioptions = "none";
};
};
};
};