1
0
Fork 0

Switch to light-mode

This commit is contained in:
Malte Brandy 2021-03-29 22:53:33 +02:00
parent 7e04202923
commit eb074ee11f
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
8 changed files with 108 additions and 97 deletions

View file

@ -16,7 +16,7 @@ in {
package = pkgs.arc-icon-theme; package = pkgs.arc-icon-theme;
}; };
theme = { theme = {
name = "Arc-Dark"; name = "Arc";
package = pkgs.arc-theme; package = pkgs.arc-theme;
}; };
}; };

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
let let
my-lib = import ../../../lib; my-lib = import ../../../lib;
inherit (my-lib) colors; theme = my-lib.themes.default;
in { in {
home.sessionVariables.TERMINAL = "${pkgs.kitty}/bin/kitty"; home.sessionVariables.TERMINAL = "${pkgs.kitty}/bin/kitty";
home.packages = [ home.packages = [
@ -23,43 +23,42 @@ in {
font_size = "10.5"; font_size = "10.5";
foreground = colors.foreground; foreground = theme.primary.foreground;
background = colors.background; background = theme.primary.background;
background_opacity = "0.9";
selection_foreground = colors.background; selection_foreground = theme.primary.background;
selection_background = colors.foreground; selection_background = theme.primary.foreground;
# black # black
color0 = colors.black; color0 = theme.normal.white;
color8 = colors.brightBlack; color8 = theme.bright.white;
# red # red
color1 = colors.red; color1 = theme.normal.red;
color9 = colors.brightRed; color9 = theme.bright.red;
# green # green
color2 = colors.green; color2 = theme.normal.green;
color10 = colors.brightGreen; color10 = theme.bright.green;
# yellow # yellow
color3 = colors.yellow; color3 = theme.normal.yellow;
color11 = colors.brightYellow; color11 = theme.bright.yellow;
# blue # blue
color4 = colors.blue; color4 = theme.normal.blue;
color12 = colors.brightBlue; color12 = theme.bright.blue;
# magenta # magenta
color5 = colors.magenta; color5 = theme.normal.magenta;
color13 = colors.brightMagenta; color13 = theme.bright.magenta;
# cyan # cyan
color6 = colors.cyan; color6 = theme.normal.cyan;
color14 = colors.brightCyan; color14 = theme.bright.cyan;
color7 = colors.white; color7 = theme.normal.black;
color15 = colors.brightWhite; color15 = theme.bright.black;
}; };
}; };
} }

View file

@ -1,51 +0,0 @@
theme = "solarized-dark"
icons = "awesome"
[[block]]
block = "music"
buttons = ["play", "next"]
max_width = 64
[[block]]
block = "net"
device = "wlp61s0"
ssid = true
ip = false
speed_up = false
speed_down = false
graph_up = false
graph_down = false
interval = 5
[[block]]
block = "disk_space"
path = "/"
alias = "/"
info_type = "available"
unit = "GB"
interval = 60
warning = 20.0
alert = 10.0
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
format_swap = "{SUp}%"
[[block]]
block = "sound"
[[block]]
block = "backlight"
device = "intel_backlight"
[[block]]
block = "battery"
driver = "upower"
format = "{percentage}% ({power}W) {time}"
[[block]]
block = "time"
interval = 5
format = "%F %a %T"

View file

@ -8,7 +8,7 @@ let g:tex_flavor = 'latex'
nmap <space>e :CocCommand explorer --no-toggle<CR> nmap <space>e :CocCommand explorer --no-toggle<CR>
set foldcolumn=1 set foldcolumn=1
set background=dark set background=light
set autoindent set autoindent
set nosmartindent set nosmartindent
set listchars=tab:»\ ,trail:.,extends:# set listchars=tab:»\ ,trail:.,extends:#

View file

@ -45,7 +45,6 @@ alias nom-build-remote="nom-build --builders '@/etc/nix/machines' --max-jobs 0"
alias nix-build-remote="nix-build --builders '@/etc/nix/machines' --max-jobs 0" alias nix-build-remote="nix-build --builders '@/etc/nix/machines' --max-jobs 0"
alias nixpkgs-review-pr-remote='nixpkgs-review pr --build-args "--builders @/etc/nix/machines --max-jobs 0"' alias nixpkgs-review-pr-remote='nixpkgs-review pr --build-args "--builders @/etc/nix/machines --max-jobs 0"'
alias nixpkgs-review-rev-remote='nixpkgs-review rev --build-args "--builders @/etc/nix/machines --max-jobs 0"' alias nixpkgs-review-rev-remote='nixpkgs-review rev --build-args "--builders @/etc/nix/machines --max-jobs 0"'
alias cat=bat
alias accounting='hledger -f ~/git/buchhaltung/buchhaltung.ledger ui -- --watch --theme=terminal -T -E' alias accounting='hledger -f ~/git/buchhaltung/buchhaltung.ledger ui -- --watch --theme=terminal -T -E'
alias o=xdg-open alias o=xdg-open
alias sudo='sudo -A' alias sudo='sudo -A'

View file

@ -1,22 +1,86 @@
rec { rec {
colors = { themes = rec {
"foreground" = "#dddbff"; default = papercolor-light;
"background" = "#000018"; papercolor-light = rec {
"black" = "#000000"; primary = {
"brightBlack" = "#55508f"; foreground = normal.black;
"red" = "#e34b4f"; background = normal.white;
"brightRed" = "#e34b4f"; };
"green" = "#67b779"; normal = {
"brightGreen" = "#45b75e"; white = "#eeeeee";
"yellow" = "#ff9c00"; red = "#af0000";
"brightYellow" = "#ff9c00"; green = "#008700";
"blue" = "#5c67ff"; yellow = "#5f8700";
"brightBlue" = "#5c67ff"; blue = "#0087af";
"magenta" = "#cb85ff"; magenta = "#878787";
"brightMagenta" = "#cb85ff"; cyan = "#005f87";
"cyan" = "#17d0f4"; black = "#444444";
"brightCyan" = "#17d0f4"; };
"white" = "#dddbff";
"brightWhite" = "#ffffff"; bright = {
white = "#bcbcbc";
red = "#d70000";
green = "#d70087";
yellow = "#8700af";
blue = "#d75f00";
magenta = "#d75f00";
cyan = "#005faf";
black = "#005f87";
};
};
solarized-light = {
primary = {
foreground = "#586e75";
background = "#fdf6e3";
};
normal = {
black = "#073642";
red = "#dc322f";
green = "#859900";
yellow = "#b58900";
blue = "#268bd2";
magenta = "#d33682";
cyan = "#2aa198";
white = "#eee8d5";
};
bright = {
black = "#002b36";
red = "#cb4b16";
green = "#586e75";
yellow = "#657b83";
blue = "#839496";
magenta = "#6c71c4";
cyan = "#93a1a1";
white = "#fdf6e3";
};
};
maralorn-dark = {
primary = {
foreground = "#dddbff";
background = "#000018";
};
normal = {
black = "#000000";
red = "#e34b4f";
green = "#67b779";
yellow = "#ff9c00";
blue = "#5c67ff";
magenta = "#cb85ff";
cyan = "#17d0f4";
white = "#dddbff";
};
bright = {
black = "#55508f";
red = "#e34b4f";
green = "#45b75e";
yellow = "#ff9c00";
blue = "#5c67ff";
magenta = "#cb85ff";
cyan = "#17d0f4";
white = "#ffffff";
};
};
}; };
} }

View file

@ -653,7 +653,7 @@
], ],
"refresh": "1m", "refresh": "1m",
"schemaVersion": 26, "schemaVersion": 26,
"style": "dark", "style": "light",
"tags": [], "tags": [],
"templating": { "templating": {
"list": [] "list": []

View file

@ -12159,7 +12159,7 @@
], ],
"refresh": false, "refresh": false,
"schemaVersion": 22, "schemaVersion": 22,
"style": "dark", "style": "light",
"tags": [], "tags": [],
"templating": { "templating": {
"list": [ "list": [