Compare commits
3 Commits
11d4804be8
...
3c3d062ed5
Author | SHA1 | Date |
---|---|---|
Alex | 3c3d062ed5 | |
Alex | 35cc84844b | |
Alex | df2901291f |
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.nextcloud-client = {
|
||||||
|
enable = true;
|
||||||
|
startInBackground = true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,15 +1,18 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
xsession.windowManager.bspwm = let colors = import ../color-scheme.nix; in {
|
xsession.windowManager.bspwm = let theme = import ../theme.nix; in {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
normal_border_color = colors.disabled;
|
normal_border_color = theme.colors.disabled;
|
||||||
active_border_color = colors.secondary;
|
active_border_color = theme.colors.secondary;
|
||||||
focused_border_color = colors.primary;
|
focused_border_color = theme.colors.primary;
|
||||||
|
|
||||||
|
border_width = theme.sizing.m;
|
||||||
|
window_gap = theme.sizing.xl;
|
||||||
|
|
||||||
border_width = 2;
|
|
||||||
window_gap = 10;
|
|
||||||
focus_follows_pointer = true;
|
focus_follows_pointer = true;
|
||||||
|
single_monocle = true;
|
||||||
|
honor_size_hints = true;
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
bspc monitor DP-2 -d I II III IV V
|
bspc monitor DP-2 -d I II III IV V
|
||||||
|
@ -26,6 +29,11 @@
|
||||||
|
|
||||||
${pkgs.feh}/bin/feh --bg-fill ${pkgs.atau-pkgs.atau-wallpapers}/share/backgrounds/atau-wallpapers/aos1.png
|
${pkgs.feh}/bin/feh --bg-fill ${pkgs.atau-pkgs.atau-wallpapers}/share/backgrounds/atau-wallpapers/aos1.png
|
||||||
'';
|
'';
|
||||||
startupPrograms = [ "picom" "polybar primary" "polybar secondary" ];
|
startupPrograms = [
|
||||||
|
"bluetoothd"
|
||||||
|
"picom"
|
||||||
|
"polybar primary"
|
||||||
|
"polybar secondary"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,20 +4,20 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
script = ""; # required but we start polybar via bspwm, so dont start it here.
|
script = ""; # required but we start polybar via bspwm, so dont start it here.
|
||||||
config = rec {
|
config = rec {
|
||||||
colors = import ../.color-scheme.nix;
|
theme = import ../theme.nix;
|
||||||
|
|
||||||
common-bar = {
|
common-bar = {
|
||||||
width = "100%";
|
width = "100%";
|
||||||
height = "24pt";
|
height = "${theme.sizing.str.xl}pt";
|
||||||
radius = 10;
|
radius = theme.border-radius;
|
||||||
|
|
||||||
#;dpi = 96
|
#;dpi = 96
|
||||||
|
|
||||||
background = colors.background;
|
background = theme.colors.background;
|
||||||
foreground = colors.foreground;
|
foreground = theme.colors.foreground;
|
||||||
line-size = "3pt";
|
line-size = "3pt";
|
||||||
|
|
||||||
border-size = "4pt";
|
border-size = "${theme.sizing.str.m}pt";
|
||||||
border-color = "#00000000";
|
border-color = "#00000000";
|
||||||
|
|
||||||
padding-left = 0;
|
padding-left = 0;
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
module-margin = 1;
|
module-margin = 1;
|
||||||
|
|
||||||
separator = "|";
|
separator = "|";
|
||||||
separator-foreground = colors.disabled;
|
separator-foreground = theme.colors.disabled;
|
||||||
|
|
||||||
font-0 = "monospace;2";
|
font-0 = "monospace;2";
|
||||||
wm-restack = "bspwm";
|
wm-restack = "bspwm";
|
||||||
|
@ -59,19 +59,19 @@
|
||||||
pin-workspaces = true;
|
pin-workspaces = true;
|
||||||
|
|
||||||
label-active = "%name%";
|
label-active = "%name%";
|
||||||
label-active-background = colors.background-alt;
|
label-active-background = theme.colors.background-alt;
|
||||||
label-active-underline = colors.primary;
|
label-active-underline = theme.colors.primary;
|
||||||
label-active-padding = 1;
|
label-active-padding = 1;
|
||||||
|
|
||||||
label-occupied = "%name%";
|
label-occupied = "%name%";
|
||||||
label-occupied-padding = 1;
|
label-occupied-padding = 1;
|
||||||
|
|
||||||
label-urgent = "%name%";
|
label-urgent = "%name%";
|
||||||
label-urgent-background = colors.alert;
|
label-urgent-background = theme.colors.alert;
|
||||||
label-urgent-padding = 1;
|
label-urgent-padding = 1;
|
||||||
|
|
||||||
label-empty = "%name%";
|
label-empty = "%name%";
|
||||||
label-empty-foreground = colors.disabled;
|
label-empty-foreground = theme.colors.disabled;
|
||||||
label-empty-padding = 1;
|
label-empty-padding = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
background = "#282A2E";
|
|
||||||
background-alt = "#373B41";
|
|
||||||
|
|
||||||
foreground = "#C5C8C6";
|
|
||||||
|
|
||||||
primary = "#F0C674";
|
|
||||||
secondary = "#8ABEB7";
|
|
||||||
|
|
||||||
alert = "#A54242";
|
|
||||||
disabled = "#707880";
|
|
||||||
}
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
border-radius = 5;
|
||||||
|
colors = {
|
||||||
|
background = "#282A2E";
|
||||||
|
background-alt = "#373B41";
|
||||||
|
|
||||||
|
foreground = "#C5C8C6";
|
||||||
|
|
||||||
|
primary = "#F0C674";
|
||||||
|
secondary = "#8ABEB7";
|
||||||
|
|
||||||
|
alert = "#A54242";
|
||||||
|
disabled = "#707880";
|
||||||
|
};
|
||||||
|
sizing = rec {
|
||||||
|
xs = 1;
|
||||||
|
s = 2;
|
||||||
|
m = 4;
|
||||||
|
l = 8;
|
||||||
|
xl = 16;
|
||||||
|
|
||||||
|
str = {
|
||||||
|
xs = toString xs;
|
||||||
|
s = toString s;
|
||||||
|
m = toString m;
|
||||||
|
l = toString l;
|
||||||
|
xl = toString xl;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -7,7 +7,6 @@
|
||||||
home.homeDirectory = "/home/${user}";
|
home.homeDirectory = "/home/${user}";
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../apps/vscode.nix
|
|
||||||
../../modules/bspwm
|
../../modules/bspwm
|
||||||
|
|
||||||
../../apps/bash.nix
|
../../apps/bash.nix
|
||||||
|
@ -15,6 +14,8 @@
|
||||||
../../apps/git.nix
|
../../apps/git.nix
|
||||||
../../apps/kitty.nix
|
../../apps/kitty.nix
|
||||||
../../apps/mpv.nix
|
../../apps/mpv.nix
|
||||||
|
../../apps/nextcloud.nix
|
||||||
|
../../apps/vscode.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Packages that should be installed to the user profile.
|
# Packages that should be installed to the user profile.
|
||||||
|
@ -48,7 +49,6 @@
|
||||||
lmms
|
lmms
|
||||||
lutris
|
lutris
|
||||||
moonlight-qt
|
moonlight-qt
|
||||||
nextcloud-client
|
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
nodejs_20
|
nodejs_20
|
||||||
obsidian
|
obsidian
|
||||||
|
|
Loading…
Reference in New Issue