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, ... }:
|
||||
{
|
||||
xsession.windowManager.bspwm = let colors = import ../color-scheme.nix; in {
|
||||
xsession.windowManager.bspwm = let theme = import ../theme.nix; in {
|
||||
enable = true;
|
||||
settings = {
|
||||
normal_border_color = colors.disabled;
|
||||
active_border_color = colors.secondary;
|
||||
focused_border_color = colors.primary;
|
||||
normal_border_color = theme.colors.disabled;
|
||||
active_border_color = theme.colors.secondary;
|
||||
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;
|
||||
single_monocle = true;
|
||||
honor_size_hints = true;
|
||||
};
|
||||
extraConfig = ''
|
||||
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
|
||||
'';
|
||||
startupPrograms = [ "picom" "polybar primary" "polybar secondary" ];
|
||||
startupPrograms = [
|
||||
"bluetoothd"
|
||||
"picom"
|
||||
"polybar primary"
|
||||
"polybar secondary"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,20 +4,20 @@
|
|||
enable = true;
|
||||
script = ""; # required but we start polybar via bspwm, so dont start it here.
|
||||
config = rec {
|
||||
colors = import ../.color-scheme.nix;
|
||||
theme = import ../theme.nix;
|
||||
|
||||
common-bar = {
|
||||
width = "100%";
|
||||
height = "24pt";
|
||||
radius = 10;
|
||||
height = "${theme.sizing.str.xl}pt";
|
||||
radius = theme.border-radius;
|
||||
|
||||
#;dpi = 96
|
||||
|
||||
background = colors.background;
|
||||
foreground = colors.foreground;
|
||||
background = theme.colors.background;
|
||||
foreground = theme.colors.foreground;
|
||||
line-size = "3pt";
|
||||
|
||||
border-size = "4pt";
|
||||
border-size = "${theme.sizing.str.m}pt";
|
||||
border-color = "#00000000";
|
||||
|
||||
padding-left = 0;
|
||||
|
@ -26,7 +26,7 @@
|
|||
module-margin = 1;
|
||||
|
||||
separator = "|";
|
||||
separator-foreground = colors.disabled;
|
||||
separator-foreground = theme.colors.disabled;
|
||||
|
||||
font-0 = "monospace;2";
|
||||
wm-restack = "bspwm";
|
||||
|
@ -59,19 +59,19 @@
|
|||
pin-workspaces = true;
|
||||
|
||||
label-active = "%name%";
|
||||
label-active-background = colors.background-alt;
|
||||
label-active-underline = colors.primary;
|
||||
label-active-background = theme.colors.background-alt;
|
||||
label-active-underline = theme.colors.primary;
|
||||
label-active-padding = 1;
|
||||
|
||||
label-occupied = "%name%";
|
||||
label-occupied-padding = 1;
|
||||
|
||||
label-urgent = "%name%";
|
||||
label-urgent-background = colors.alert;
|
||||
label-urgent-background = theme.colors.alert;
|
||||
label-urgent-padding = 1;
|
||||
|
||||
label-empty = "%name%";
|
||||
label-empty-foreground = colors.disabled;
|
||||
label-empty-foreground = theme.colors.disabled;
|
||||
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}";
|
||||
|
||||
imports = [
|
||||
../../apps/vscode.nix
|
||||
../../modules/bspwm
|
||||
|
||||
../../apps/bash.nix
|
||||
|
@ -15,6 +14,8 @@
|
|||
../../apps/git.nix
|
||||
../../apps/kitty.nix
|
||||
../../apps/mpv.nix
|
||||
../../apps/nextcloud.nix
|
||||
../../apps/vscode.nix
|
||||
];
|
||||
|
||||
# Packages that should be installed to the user profile.
|
||||
|
@ -48,7 +49,6 @@
|
|||
lmms
|
||||
lutris
|
||||
moonlight-qt
|
||||
nextcloud-client
|
||||
nixpkgs-fmt
|
||||
nodejs_20
|
||||
obsidian
|
||||
|
|
Loading…
Reference in New Issue