Remove 'with' from most modules
This commit is contained in:
parent
40032f7fd9
commit
7459ae0e96
27 changed files with 222 additions and 230 deletions
|
|
@ -1,7 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
with pkgs.lib.nix-rice;
|
||||
let
|
||||
strPalette = palette.toRgbHex {
|
||||
strPalette = pkgs.lib.nix-rice.palette.toRgbHex {
|
||||
inherit (pkgs.rice.colorPalette) normal bright dark;
|
||||
inherit (pkgs.rice.colorPalette.primary) background foreground;
|
||||
};
|
||||
|
|
@ -30,7 +29,7 @@ in
|
|||
{
|
||||
home.packages = [ pkgs.terminator ];
|
||||
|
||||
xdg.configFile."terminator/config".text = with strPalette; ''
|
||||
xdg.configFile."terminator/config".text = ''
|
||||
[global_config]
|
||||
scroll_tabbar = True
|
||||
enabled_plugins = ActivityWatch, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
|
||||
|
|
@ -41,34 +40,34 @@ in
|
|||
[profiles]
|
||||
[[default]]
|
||||
visible_bell = True
|
||||
background_color = "${background}"
|
||||
background_color = "${strPalette.background}"
|
||||
background_darkness = ${opacity}
|
||||
background_type = transparent
|
||||
cursor_color = "${foreground}"
|
||||
cursor_color = "${strPalette.foreground}"
|
||||
font = ${font.name} weight=450 ${toString font.size}
|
||||
foreground_color = "${foreground}"
|
||||
foreground_color = "${strPalette.foreground}"
|
||||
show_titlebar = False
|
||||
scrollbar_position = hidden
|
||||
scrollback_lines = 10000
|
||||
palette = "${colorString normal bright}"
|
||||
palette = "${colorString strPalette.normal strPalette.bright}"
|
||||
use_system_font = False
|
||||
[[Light presentation]]
|
||||
visible_bell = True
|
||||
background_color = "${foreground}"
|
||||
cursor_color = "${background}"
|
||||
background_color = "${strPalette.foreground}"
|
||||
cursor_color = "${strPalette.background}"
|
||||
font = ${font.name} weight=450 20
|
||||
foreground_color = "${background}"
|
||||
foreground_color = "${strPalette.background}"
|
||||
show_titlebar = False
|
||||
palette = "${colorString dark normal}"
|
||||
palette = "${colorString strPalette.dark strPalette.normal}"
|
||||
use_system_font = False
|
||||
[[Dark presentation]]
|
||||
visible_bell = True
|
||||
background_color = "${background}"
|
||||
cursor_color = "${foreground}"
|
||||
background_color = "${strPalette.background}"
|
||||
cursor_color = "${strPalette.foreground}"
|
||||
font = ${font.name} weight=450 20
|
||||
foreground_color = "${foreground}"
|
||||
foreground_color = "${strPalette.foreground}"
|
||||
show_titlebar = False
|
||||
palette = "${colorString normal bright}"
|
||||
palette = "${colorString strPalette.normal strPalette.bright}"
|
||||
use_system_font = False
|
||||
[layouts]
|
||||
[[default]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue