Compare commits
No commits in common. "cd0afe0797d086ddd87cc1dba5fde8445c699840" and "a87a497a19d40ec63d5983b884ffb2d3bfb48afa" have entirely different histories.
cd0afe0797
...
a87a497a19
8 changed files with 22 additions and 49 deletions
|
@ -1,12 +1,8 @@
|
||||||
let
|
let
|
||||||
theme = import ./everforest;
|
theme = import ./everforest;
|
||||||
colors = {
|
|
||||||
undefined = "#ff00ff";
|
|
||||||
fg1 = "#ffffff";
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
undefined = "#ff00ff";
|
||||||
|
fg1 = "#ffffff";
|
||||||
css = lib: lib.strings.concatStringsSep "\n" (lib.attrValues (lib.mapAttrs (k: v: " --${k}: ${v};") theme.colors));
|
css = lib: lib.strings.concatStringsSep "\n" (lib.attrValues (lib.mapAttrs (k: v: " --${k}: ${v};") theme.colors));
|
||||||
}
|
} // theme // theme.colors
|
||||||
// colors // theme.colors # Root colors
|
|
||||||
// theme // { colors = theme.colors // colors; } # Dedicated color set
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{
|
{
|
||||||
theme = "everforest";
|
|
||||||
|
|
||||||
kitty-theme = "Everforest Dark Hard";
|
kitty-theme = "Everforest Dark Hard";
|
||||||
gtkTheme = pkgs: {
|
gtkTheme = pkgs: {
|
||||||
package = pkgs.callPackage ./gtk.nix {};
|
package = pkgs.callPackage ./gtk.nix {};
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{
|
{
|
||||||
theme = "nord";
|
|
||||||
|
|
||||||
kitty-theme = "Nord";
|
kitty-theme = "Nord";
|
||||||
wallpaper = "roxynord.png";
|
wallpaper = "roxynord.png";
|
||||||
gtkTheme = pkgs: {
|
gtkTheme = pkgs: {
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
nix ; I hereby declare "nix geht mehr!"
|
nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
(org +roam2) ; organize your plain life in plain text
|
org ; organize your plain life in plain text
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
|
@ -207,6 +207,3 @@
|
||||||
;; LaTeX editing
|
;; LaTeX editing
|
||||||
(add-hook 'org-mode-hook 'org-fragtog-mode) ;; automatically expand/preview LaTeX
|
(add-hook 'org-mode-hook 'org-fragtog-mode) ;; automatically expand/preview LaTeX
|
||||||
(add-hook 'org-mode-hook 'org-latex-preview) ;; automatically preview LaTeX on open
|
(add-hook 'org-mode-hook 'org-latex-preview) ;; automatically preview LaTeX on open
|
||||||
|
|
||||||
;; Display .rasi (rofi theme files) as CSS
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.rasi\\'" . css-mode))
|
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
{ pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
xsession.windowManager.i3.config = {
|
xsession.windowManager.i3.config = {
|
||||||
startup = [
|
startup = [
|
||||||
{
|
{
|
||||||
command = let layout = pkgs.substituteAll {
|
command = ''i3-msg workspace 1 && (firefox &) && i3-msg "workspace 2; append_layout ${./tree.json}; open" && (for i in {1..4}; do i3-msg move left; done) && (discord &) && firefox --new-window https://youtube.com && i3-msg workspace 1'';
|
||||||
src = ./layout.sh;
|
|
||||||
tree = ./tree.json;
|
|
||||||
isExecutable = true;
|
|
||||||
}; in "${layout}";
|
|
||||||
always = true;
|
always = true;
|
||||||
notification = false;
|
notification = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
i3-msg workspace 1
|
|
||||||
firefox &
|
|
||||||
|
|
||||||
i3-msg "workspace 2; append_layout @tree@; open"
|
|
||||||
for i in {1..4}; do
|
|
||||||
i3-msg move left
|
|
||||||
done
|
|
||||||
discord
|
|
||||||
firefox --new-window https://youtube.com
|
|
||||||
i3-msg workspace 1
|
|
|
@ -1,18 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
{
|
||||||
colors = import ../colors;
|
|
||||||
theme = colors.theme;
|
|
||||||
in {
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
(pkgs.callPackage ./power.nix { })
|
(pkgs.callPackage ./power.nix { })
|
||||||
wmctrl # TODO: add as dependency of rofi-power
|
wmctrl # TODO: add as dependency of rofi-power
|
||||||
];
|
];
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit theme;
|
theme = "theme";
|
||||||
};
|
};
|
||||||
home.file.".config/rofi/${theme}.rasi".source = pkgs.substituteAll ({
|
home.file.".config/rofi/theme.rasi".text = import ./theme.nix;
|
||||||
src = ./theme.rasi;
|
|
||||||
} // colors.colors);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
/* Modified from https://github.com/undiabler/nord-rofi-theme */
|
# Modified from https://github.com/undiabler/nord-rofi-theme
|
||||||
|
let colors = import ../colors; in
|
||||||
|
''
|
||||||
configuration {
|
configuration {
|
||||||
font: "Noto Sans Mono 12";
|
font: "Noto Sans Mono 12";
|
||||||
width: 30;
|
width: 30;
|
||||||
|
@ -16,7 +18,7 @@ configuration {
|
||||||
|
|
||||||
* {
|
* {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
highlight: underline bold @fg1@;
|
highlight: underline bold ${colors.fg1};
|
||||||
}
|
}
|
||||||
|
|
||||||
window {
|
window {
|
||||||
|
@ -38,16 +40,16 @@ mainbox {
|
||||||
}
|
}
|
||||||
|
|
||||||
message {
|
message {
|
||||||
color: @bg0@;
|
color: ${colors.bg0};
|
||||||
padding: 5;
|
padding: 5;
|
||||||
border-color: @fg0@;
|
border-color: ${colors.fg0};
|
||||||
border: 0px 2px 2px 2px;
|
border: 0px 2px 2px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
inputbar {
|
inputbar {
|
||||||
color: @fg0@;
|
color: ${colors.fg0};
|
||||||
padding: 11px;
|
padding: 11px;
|
||||||
background-color: @bg1@;
|
background-color: ${colors.bg1};
|
||||||
}
|
}
|
||||||
|
|
||||||
entry, prompt, case-indicator {
|
entry, prompt, case-indicator {
|
||||||
|
@ -62,22 +64,23 @@ prompt {
|
||||||
listview {
|
listview {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border: 0;
|
border: 0;
|
||||||
background-color: @bg0@e5;
|
background-color: ${colors.bg0}e5;
|
||||||
dynamic: false;
|
dynamic: false;
|
||||||
}
|
}
|
||||||
|
|
||||||
element {
|
element {
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
text-color: @fg0@;
|
text-color: ${colors.fg0};
|
||||||
}
|
}
|
||||||
|
|
||||||
element selected.normal {
|
element selected.normal {
|
||||||
background-color: @primary@;
|
background-color: ${colors.primary};
|
||||||
text-color: @bg0@;
|
text-color: ${colors.bg0};
|
||||||
}
|
}
|
||||||
|
|
||||||
element-text, element-icon {
|
element-text, element-icon {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
}
|
}
|
||||||
|
''
|
Loading…
Add table
Add a link
Reference in a new issue