refactor(treewide): format with alejandra
This commit is contained in:
parent
7fefb94400
commit
61cef505da
216 changed files with 5995 additions and 3969 deletions
|
|
@ -1,12 +1,13 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
fonts = config.ooknet.fonts;
|
||||
wayland = config.ooknet.wayland;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
config = mkIf (wayland.launcher == "rofi") {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
|
|
@ -14,7 +15,7 @@ in
|
|||
package = pkgs.rofi-wayland;
|
||||
terminal = "${config.home.sessionVariables.TERMINAL}";
|
||||
theme = let
|
||||
inherit (config.colorscheme ) palette;
|
||||
inherit (config.colorscheme) palette;
|
||||
inherit (config.lib.formats.rasi) mkLiteral;
|
||||
in {
|
||||
"*" = {
|
||||
|
|
|
|||
|
|
@ -1,41 +1,45 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (config.colorscheme) palette;
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
fonts = config.ooknet.fonts;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
config = mkIf (wayland.launcher == "tofi") {
|
||||
home.packages = [pkgs.tofi];
|
||||
xdg.configFile."tofi/config".text = /* config */ ''
|
||||
history = false
|
||||
clip-to-padding = false
|
||||
horizontal = true
|
||||
width = 40%
|
||||
height = 35
|
||||
anchor = top-left
|
||||
margin-top = 5
|
||||
margin-left = 25%
|
||||
num-results = 1
|
||||
border-width = 0
|
||||
outline-width = 0
|
||||
result-spacing = 10
|
||||
selection-background-padding = 30
|
||||
prompt-padding = 10
|
||||
font = "${fonts.monospace.family}"
|
||||
font-size = 14
|
||||
prompt-text = " "
|
||||
background-color = #0000
|
||||
prompt-background = #0000
|
||||
prompt-color = ${palette.base0B}
|
||||
input-color = ${palette.base05}
|
||||
placeholder-color = ${palette.base03}
|
||||
default-result-color = ${palette.base03}
|
||||
selection-color = ${palette.base04}
|
||||
'';
|
||||
xdg.configFile."tofi/config".text =
|
||||
/*
|
||||
config
|
||||
*/
|
||||
''
|
||||
history = false
|
||||
clip-to-padding = false
|
||||
horizontal = true
|
||||
width = 40%
|
||||
height = 35
|
||||
anchor = top-left
|
||||
margin-top = 5
|
||||
margin-left = 25%
|
||||
num-results = 1
|
||||
border-width = 0
|
||||
outline-width = 0
|
||||
result-spacing = 10
|
||||
selection-background-padding = 30
|
||||
prompt-padding = 10
|
||||
font = "${fonts.monospace.family}"
|
||||
font-size = 14
|
||||
prompt-text = " "
|
||||
background-color = #0000
|
||||
prompt-background = #0000
|
||||
prompt-color = ${palette.base0B}
|
||||
input-color = ${palette.base05}
|
||||
placeholder-color = ${palette.base03}
|
||||
default-result-color = ${palette.base03}
|
||||
selection-color = ${palette.base04}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue