From 8b1b233d6cf57738b59b7bbdffc6e353770eebbf Mon Sep 17 00:00:00 2001 From: Buliway Date: Fri, 9 Aug 2024 18:23:09 +0300 Subject: [PATCH] ready3 --- flake.lock | 261 +++++- flake.nix | 12 +- modules/home-manager/bundle.nix | 2 +- .../file-managers/ranger/ranger.nix | 15 +- modules/home-manager/gui/vscode.nix | 2 +- modules/home-manager/obs/obs.nix | 2 +- modules/home-manager/terminal/alacritty.nix | 32 +- modules/home-manager/wm/bspwm/bspwm.nix | 11 +- modules/home-manager/wm/bspwm/bspwmrc | 1 + modules/home-manager/wm/dunst.nix | 4 +- modules/home-manager/wm/polybar.nix | 823 +++++++++--------- modules/home-manager/wm/rofi/rofi.nix | 4 +- modules/nixos/hardware.nix | 20 +- modules/nixos/sound.nix | 1 - modules/nixos/stylix.nix | 20 +- modules/nixos/xserver.nix | 102 +-- nixos/configuration.nix | 7 +- nixos/hardware-configuration.nix | 5 +- nixos/packages.nix | 31 +- 19 files changed, 823 insertions(+), 532 deletions(-) diff --git a/flake.lock b/flake.lock index 0821cb0..3f15bc7 100644 --- a/flake.lock +++ b/flake.lock @@ -1,12 +1,216 @@ { "nodes": { + "base16": { + "inputs": { + "fromYaml": "fromYaml" + }, + "locked": { + "lastModified": 1708890466, + "narHash": "sha256-LlrC09LoPi8OPYOGPXegD72v+//VapgAqhbOFS3i8sc=", + "owner": "SenchoPens", + "repo": "base16.nix", + "rev": "665b3c6748534eb766c777298721cece9453fdae", + "type": "github" + }, + "original": { + "owner": "SenchoPens", + "repo": "base16.nix", + "type": "github" + } + }, + "base16-fish": { + "flake": false, + "locked": { + "lastModified": 1622559957, + "narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=", + "owner": "tomyun", + "repo": "base16-fish", + "rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe", + "type": "github" + }, + "original": { + "owner": "tomyun", + "repo": "base16-fish", + "type": "github" + } + }, + "base16-foot": { + "flake": false, + "locked": { + "lastModified": 1696725948, + "narHash": "sha256-65bz2bUL/yzZ1c8/GQASnoiGwaF8DczlxJtzik1c0AU=", + "owner": "tinted-theming", + "repo": "base16-foot", + "rev": "eedbcfa30de0a4baa03e99f5e3ceb5535c2755ce", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "base16-foot", + "type": "github" + } + }, + "base16-helix": { + "flake": false, + "locked": { + "lastModified": 1720809814, + "narHash": "sha256-numb3xigRGnr/deF7wdjBwVg7fpbTH7reFDkJ75AJkY=", + "owner": "tinted-theming", + "repo": "base16-helix", + "rev": "34f41987bec14c0f3f6b2155c19787b1f6489625", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "base16-helix", + "type": "github" + } + }, + "base16-kitty": { + "flake": false, + "locked": { + "lastModified": 1665001328, + "narHash": "sha256-aRaizTYPpuWEcvoYE9U+YRX+Wsc8+iG0guQJbvxEdJY=", + "owner": "kdrag0n", + "repo": "base16-kitty", + "rev": "06bb401fa9a0ffb84365905ffbb959ae5bf40805", + "type": "github" + }, + "original": { + "owner": "kdrag0n", + "repo": "base16-kitty", + "type": "github" + } + }, + "base16-tmux": { + "flake": false, + "locked": { + "lastModified": 1696725902, + "narHash": "sha256-wDPg5elZPcQpu7Df0lI5O8Jv4A3T6jUQIVg63KDU+3Q=", + "owner": "tinted-theming", + "repo": "base16-tmux", + "rev": "c02050bebb60dbb20cb433cd4d8ce668ecc11ba7", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "base16-tmux", + "type": "github" + } + }, + "base16-vim": { + "flake": false, + "locked": { + "lastModified": 1716150083, + "narHash": "sha256-ZMhnNmw34ogE5rJZrjRv5MtG3WaqKd60ds2VXvT6hEc=", + "owner": "tinted-theming", + "repo": "base16-vim", + "rev": "6e955d704d046b0dc3e5c2d68a2a6eeffd2b5d3d", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "base16-vim", + "type": "github" + } + }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "fromYaml": { + "flake": false, + "locked": { + "lastModified": 1689549921, + "narHash": "sha256-iX0pk/uB019TdBGlaJEWvBCfydT6sRq+eDcGPifVsCM=", + "owner": "SenchoPens", + "repo": "fromYaml", + "rev": "11fbbbfb32e3289d3c631e0134a23854e7865c84", + "type": "github" + }, + "original": { + "owner": "SenchoPens", + "repo": "fromYaml", + "type": "github" + } + }, + "gnome-shell": { + "flake": false, + "locked": { + "lastModified": 1713702291, + "narHash": "sha256-zYP1ehjtcV8fo+c+JFfkAqktZ384Y+y779fzmR9lQAU=", + "owner": "GNOME", + "repo": "gnome-shell", + "rev": "0d0aadf013f78a7f7f1dc984d0d812971864b934", + "type": "github" + }, + "original": { + "owner": "GNOME", + "ref": "46.1", + "repo": "gnome-shell", + "type": "github" + } + }, + "home-manager": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1723015306, + "narHash": "sha256-jQnFEtH20/OsDPpx71ntZzGdRlpXhUENSQCGTjn//NA=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "b3d5ea65d88d67d4ec578ed11d4d2d51e3de525e", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_2": { + "inputs": { + "nixpkgs": [ + "stylix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715930644, + "narHash": "sha256-W9pyM3/vePxrffHtzlJI6lDS3seANQ+Nqp+i58O46LI=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "e3ad5108f54177e6520535768ddbf1e6af54b59d", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, "nixpkgs": { "locked": { - "lastModified": 1720768451, - "narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=", + "lastModified": 1722813957, + "narHash": "sha256-IAoYyYnED7P8zrBFMnmp7ydaJfwTnwcnqxUElC1I26Y=", "owner": "nixos", "repo": "nixpkgs", - "rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9", + "rev": "cb9a96f23c491c081b38eab96d22fa958043c9fa", "type": "github" }, "original": { @@ -16,9 +220,58 @@ "type": "github" } }, + "nixpkgs-stable": { + "locked": { + "lastModified": 1722869614, + "narHash": "sha256-7ojM1KSk3mzutD7SkrdSflHXEujPvW1u7QuqWoTLXQU=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "883180e6550c1723395a3a342f830bfc5c371f6b", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-24.05", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { - "nixpkgs": "nixpkgs" + "home-manager": "home-manager", + "nixpkgs": "nixpkgs", + "nixpkgs-stable": "nixpkgs-stable", + "stylix": "stylix" + } + }, + "stylix": { + "inputs": { + "base16": "base16", + "base16-fish": "base16-fish", + "base16-foot": "base16-foot", + "base16-helix": "base16-helix", + "base16-kitty": "base16-kitty", + "base16-tmux": "base16-tmux", + "base16-vim": "base16-vim", + "flake-compat": "flake-compat", + "gnome-shell": "gnome-shell", + "home-manager": "home-manager_2", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1722946882, + "narHash": "sha256-mxtnMye8gs82tdQbVC+g6v3aPOZlH150f9WyntHIkTg=", + "owner": "danth", + "repo": "stylix", + "rev": "5853f1a8bd072f2ebabfc3de3973084353cf6f1e", + "type": "github" + }, + "original": { + "owner": "danth", + "repo": "stylix", + "type": "github" } } }, diff --git a/flake.nix b/flake.nix index 1695486..ae94716 100644 --- a/flake.nix +++ b/flake.nix @@ -22,16 +22,16 @@ }; outputs = { self, nixpkgs, ... }@inputs: - # let - # system = "x86_64-linux"; # Не понимаю зачем, если это в hardware.nix указывается - # pkgs = nixpkgs.legacyPackages.${system}; - # in + let + system = "x86_64-linux"; # Не понимаю зачем, если это в hardware.nix указывается + pkgs = nixpkgs.legacyPackages.${system}; + in { nixosConfigurations = { nixos = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs;}; - # inherit pkgs; - # inherit system; + inherit pkgs; + inherit system; modules = [ ./nixos/configuration.nix inputs.home-manager.nixosModules.default diff --git a/modules/home-manager/bundle.nix b/modules/home-manager/bundle.nix index 1bd011c..5ca9f7a 100644 --- a/modules/home-manager/bundle.nix +++ b/modules/home-manager/bundle.nix @@ -23,7 +23,7 @@ ./terminal/zellij.nix ./terminal/zsh.nix - ./wm/bspwm/bspwm.nix + # ./wm/bspwm/bspwm.nix ./wm/rofi/rofi.nix ./wm/dunst.nix ./wm/lockscreen.nix diff --git a/modules/home-manager/file-managers/ranger/ranger.nix b/modules/home-manager/file-managers/ranger/ranger.nix index d3c0c02..f62e7d1 100644 --- a/modules/home-manager/file-managers/ranger/ranger.nix +++ b/modules/home-manager/file-managers/ranger/ranger.nix @@ -19,7 +19,7 @@ exiftool # Information about media files odt2txt # For OpenDocument text files jq # Preview JSON (А зачем? Есть же bat, который красиво код показывает) - sqlite3 # Listing tables in SQLite database + sqlite # Listing tables in SQLite database sqlite-utils # Fancier box drawing (optional) fontforge # Preview font openscad # 3D model previews (`stl`, `off`, `dxf`, `scad`, `csg`) @@ -71,16 +71,9 @@ ]; }; - # Не работает, ошибка будет, надо юзать другую команду - # home.file = { - # ".config/ranger/rc.conf".source = "./rc.conf"; - # ".config/ranger/rifle.conf".source = "./rifle.conf"; - # ".config/ranger/scope.sh".source = "./scope.sh"; - # }; - xdg.configFile = { - "ranger/rc.conf".source = "./rc.conf"; - "ranger/rifle.conf".source = "./rifle.conf"; - "ranger/scope.sh".source = "./scope.sh"; + "ranger/rc.conf".source = ./rc.conf; + "ranger/rifle.conf".source = ./rifle.conf; + "ranger/scope.sh".source = ./scope.sh; }; } \ No newline at end of file diff --git a/modules/home-manager/gui/vscode.nix b/modules/home-manager/gui/vscode.nix index 18d7564..67df958 100644 --- a/modules/home-manager/gui/vscode.nix +++ b/modules/home-manager/gui/vscode.nix @@ -35,7 +35,7 @@ userSettings = { # "workbench.colorTheme" = "Gruvbox Dark Medium"; - "editor.fontFamily" = "JetBrainsMono Nerd Font"; + # "editor.fontFamily" = "JetBrainsMono Nerd Font"; "telemetry.telemetryLevel" = "off"; "update.showReleaseNotes" = false; }; diff --git a/modules/home-manager/obs/obs.nix b/modules/home-manager/obs/obs.nix index 2725bae..71cd221 100644 --- a/modules/home-manager/obs/obs.nix +++ b/modules/home-manager/obs/obs.nix @@ -16,5 +16,5 @@ ]; }; - # home.file."config?".source = "./config?"; # Мб потом добавлю конфиги obs сюда + # home.file."config?".source = ./config?; # Мб потом добавлю конфиги obs сюда } \ No newline at end of file diff --git a/modules/home-manager/terminal/alacritty.nix b/modules/home-manager/terminal/alacritty.nix index 66cbbc9..cb1d66c 100644 --- a/modules/home-manager/terminal/alacritty.nix +++ b/modules/home-manager/terminal/alacritty.nix @@ -6,22 +6,22 @@ x = 15; y = 15; }; - font = let - nerdFont = "JetBrainsMono Nerd Font"; - in { - normal = { - family = nerdFont; - }; - bold = { - family = nerdFont; - }; - italic = { - family = nerdFont; - }; - bold_italic = { - family = nerdFont; - }; - }; + # font = let + # nerdFont = "JetBrainsMono Nerd Font"; + # in { + # normal = { + # family = nerdFont; + # }; + # bold = { + # family = nerdFont; + # }; + # italic = { + # family = nerdFont; + # }; + # bold_italic = { + # family = nerdFont; + # }; + # }; }; }; diff --git a/modules/home-manager/wm/bspwm/bspwm.nix b/modules/home-manager/wm/bspwm/bspwm.nix index 9d0fc01..a979154 100644 --- a/modules/home-manager/wm/bspwm/bspwm.nix +++ b/modules/home-manager/wm/bspwm/bspwm.nix @@ -1,7 +1,10 @@ { # Управление окнами. В инете примерно ноль нормальной документации с описанием всех параметров. Проклинал - xsession.windowManager.bspwm = { - enable = true; - }; + # xsession.windowManager.bspwm = { + # enable = true; + # }; - xdg.configFile."bspwm/bspwmrc".source = "./bspwmrc"; + xdg.configFile."bspwm/bspwmrc" = { + source = ./bspwmrc; + executable = true; + }; } diff --git a/modules/home-manager/wm/bspwm/bspwmrc b/modules/home-manager/wm/bspwm/bspwmrc index d388712..ef13beb 100644 --- a/modules/home-manager/wm/bspwm/bspwmrc +++ b/modules/home-manager/wm/bspwm/bspwmrc @@ -22,6 +22,7 @@ # nekoray & # obsidian & # planify & +lxqt-policykit-agent & # Я ебал рот видеть инет в трее. Замени эту ёбань на rofi и отдельную кнопку в polybar # nm-applet & diff --git a/modules/home-manager/wm/dunst.nix b/modules/home-manager/wm/dunst.nix index 61c32ee..f1be843 100644 --- a/modules/home-manager/wm/dunst.nix +++ b/modules/home-manager/wm/dunst.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, ... }: { +{ pkgs, ... }: { # Оповещения. Бинды можно делать через "dunstctl" # https://wiki.archlinux.org/title/Dunst # https://dunst-project.org/documentation/ @@ -69,7 +69,7 @@ ### Text ### ############ - font = lib.mkForce "JetBrainsMono Nerd Font 11"; # Перезаписать шрифт от stylix + # font = lib.mkForce "JetBrainsMono Nerd Font 11"; # Перезаписать шрифт от stylix # The spacing between lines. # If the height is smaller than the font height, it will get raised to the font height. diff --git a/modules/home-manager/wm/polybar.nix b/modules/home-manager/wm/polybar.nix index 459cb9a..1506dd0 100644 --- a/modules/home-manager/wm/polybar.nix +++ b/modules/home-manager/wm/polybar.nix @@ -37,422 +37,435 @@ # double-click-middle # double-click-right -{ config, ... }: let - gruvbox = { - black = "#000000"; - dark = "#1d1d1d"; - disabled = "${config.lib.stylix.colors.base00}"; # #282828 - red = "${config.lib.stylix.colors.base08}"; # #fb4934 - red-alt = "#b22222"; - orange = "${config.lib.stylix.colors.base09}"; # #fe8019 - orange-mat = "#e78a4e"; - yellow = "${config.lib.stylix.colors.base0A}"; # #fabd2f - yellow-mat = "#d8a657"; - green = "${config.lib.stylix.colors.base0B}"; # #b8bb26 - green-alt = "#98971a"; - aqua = "${config.lib.stylix.colors.base0C}"; # #8ec07c - aqua-alt = "#689d6a"; - blue = "#458588"; - blue-alt = "${config.lib.stylix.colors.base0D}"; # #83a598 - grey = "#313131"; - dark-grey = "#222222"; - cream = "${config.lib.stylix.colors.base07}"; # #fbf1c7 - white = "#FFFFFF"; - transparent = "#00000000"; - Stransparent = "#CC000000"; - }; -in { # Статус бар внизу +# { config, ... }: let +# gruvbox = { +# black = "#000000"; +# dark = "#1d1d1d"; +# disabled = "${config.lib.stylix.colors.base00}"; # #282828 +# red = "${config.lib.stylix.colors.base08}"; # #fb4934 +# red-alt = "#b22222"; +# orange = "${config.lib.stylix.colors.base09}"; # #fe8019 +# orange-mat = "#e78a4e"; +# yellow = "${config.lib.stylix.colors.base0A}"; # #fabd2f +# yellow-mat = "#d8a657"; +# green = "${config.lib.stylix.colors.base0B}"; # #b8bb26 +# green-alt = "#98971a"; +# aqua = "${config.lib.stylix.colors.base0C}"; # #8ec07c +# aqua-alt = "#689d6a"; +# blue = "#458588"; +# blue-alt = "${config.lib.stylix.colors.base0D}"; # #83a598 +# grey = "#313131"; +# dark-grey = "#222222"; +# cream = "${config.lib.stylix.colors.base07}"; # #fbf1c7 +# white = "#FFFFFF"; +# transparent = "#00000000"; +# Stransparent = "#CC000000"; +# }; +# in +{ # Статус бар внизу services.polybar = { enable = true; - settings = { # Или переимоневать в "config"? Не понял в чём разница - # "colors" = {}; + script = "polybar bottom &"; + settings = { "global/wm" = { margin-bottom = 0; }; - - # bottom это просто имя, это не говорит бару быть внизу, можно написать что угодно "bar/bottom" = { monitor = "polybar -M | cut -d ':' -f 1"; # содержит список мониторов - monitor-strict = false; # Require the monitor to be in connected state - monitor-exact = true; # Зачем? Нечёткий поиск мониторов, если они называются по разному с разными драйверами - bottom = true; # Put the bar at the bottom of the screen fixed-center = true; # Мидл модуль будет по центру экрана. При false будет между левым и правым модулями - width = "100%"; # Ширина относительно ширины монитора - height = "20pt"; # Высота относительно высоты монитора. Не ебу что значит pt - offset-x = 0; # Offset the bar window in the x and/or y direction. - offset-y = 0; # Supports any percentage with offset relative to the monitor width or height - padding = 0; # Padding to add at the beginning/end of the bar. Можно юзать padding-{left,right} - enable-ipc = true; # Enable support for inter-process messaging - double-click-interval = 400; # If two clicks are received within this interval (ms), they are recognized as a double click. - - module-margin = 1; # Margin to add before/after each module. Можно юзать module-margin-{left,right} - # separator = " "; # The separator will be inserted between the output of each module - # separator-foreground = gruvbox.transparent; - - # background = gruvbox.transparent; # Фон бара - # foreground = gruvbox.cream; # Передний план - # border-color = gruvbox.transparent; # Цвет контура - # border-size = "3pt"; # Размер контура - # line-color = "#f00"; # Under-/overline argb color. Может быть {overline,underline}-color - # line-size = 0; # Under-/overline pixel size. Может быть {overline,underline}-size - - # If you don't explicitly set the font-index for a tag, - # the bar will iterate the font list and pick the first one that is able to draw the character - font-0 = "JetBrainsMono Nerd Font"; - - modules-left = "bspwm title"; - modules-center = "time"; - modules-right = "cpu cpu-temp gpu-temp battery memory pulseaudio tray xkeyboard rofi"; - - # Restack the bar window and put it above the selected window manager's root - # Fixes the issue where the bar is being drawn on top of fullscreen window's - # Currently supported values: - # generic (Tries the ewmh strategy and falls back to the bottom strategy. - # This is a best-effort strategy and may change and be tweaked in - # the future, the individual strategies are available on their own) - # (New in version 3.6.0) - # (Changed in version 3.7.0: Tries the ewmh strategy instead of just the bottom strategy) - # bspwm (Moves the bar window above all bspwm root windows) - # bottom (Moves the bar window above the first window in the window stack. - # Works in xmonad, may not work on other WMs - # New in version 3.7.0) - # ewmh (Moves the bar above the window specified in _NET_SUPPORTING_WM_CHECK, if it is set - # New in version 3.7.0) - # i3 (requires `override-redirect = true`) - wm-restack = "bspwm"; - }; - - "module/rofi" = { - type = "custom/text"; - click-left = "exec rofi -show drun"; - label = " "; - }; - - "module/bspwm" = { # Воркспейсы bspwm - type = "internal/bspwm"; - pin-workspaces = true; # Only show workspaces defined on the same output as the bar - inline-mode = true; # Output mode flags after focused state label. Не понял что значит - enable-click = true; # Create click handler used to focus workspace - enable-scroll = false; # Create scroll handlers used to cycle workspaces - reverse-scroll = false; # Set the scroll cycle direction - occupied-scroll = true; # Only scroll through occupied workspaces - - ws-icon-0 = "0;0"; - ws-icon-1 = "1;1"; - ws-icon-2 = "2;2"; - ws-icon-3 = "3;3"; - ws-icon-4 = "4;4"; - ws-icon-5 = "5;5"; - ws-icon-6 = "6;6"; - ws-icon-7 = "7;7"; - ws-icon-8 = "8;8"; - ws-icon-9 = "9;9"; - ws-icon-10 = "10;10"; - - format = " "; # Это невозможно описать. Я сам не до конца понял - - # label-mode = "%mode%"; - # label-mode-padding = 1; - # label-mode-background = gruvbox.red-alt; - # label-mode-foreground = gruvbox.white; - - # label-separator = ""; - # label-separator-padding = 0; - # label-separator-foreground = gruvbox.transparen; - - # label-focused = "%icon% %name%"; - # label-focused-font = 5; - # label-focused-foreground = gruvbox.yellow; - # label-focused-underline = "#565c64"; - # label-focused-padding = 1; - # label-focused-background = gruvbox.black; - - # label-occupied = "%icon%"; - # label-occupied-foreground = "#646870"; - # label-occupied-background = "#2b2f37"; - # label-occupied-padding = 1; - - # label-empty = "%icon%"; - # label-empty-foreground = gruvbox.yellow; - # label-empty-padding = 1; - # label-empty-background = "#2b2f37"; - - # label-unfocused = "%icon%"; - # label-unfocused-font = 5; - # label-unfocused-foreground = gruvbox.cream; - # label-unfocused-background= gruvbox.black; - # label-unfocused-padding = 2; - - # label-visible = "%icon%"; - # label-visible-padding = 2; - - # label-urgent = "%icon%"; - # label-urgent-font = 5 - # label-urgent-foreground = gruvbox.red-alt; - # label-urgent-background = gruvbox.black; - # label-urgent-padding = 2; - }; - - "module/title" = { # Отображение имени окна - type = internal/xwindow; - format-prefix = "  "; - # format-prefix-foreground = gruvbox.yellow-mat; - # format-prefix-background = gruvbox.black; - # format-background = "#f00"; - # format-foreground = "#000"; - # format-padding = 4; - - # label = "%title%"; - label = "%class%"; - label-maxlen = 60; - # label-foreground = gruvbox.cream; - # label-background = gruvbox.dark; - label-padding-left = 2; - label-padding-right = 2; - }; - - # %A: Полное название дня недели (например, "Monday") - # %d: День месяца в формате двух цифр (например, "01") - # %b или %B: Сокращённое или полное название месяца ("Jan", "January") - # %m: Месяц в формате двух цифр (например, "01" для января) - "module/time" = { - type = "internal/date"; - interval = 1; - # format = "🕓