2023-07-08 19:30:16 +04:00
|
|
|
{
|
2023-08-06 19:03:24 +04:00
|
|
|
outputs,
|
|
|
|
options,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.modules.desktop.bspwm;
|
|
|
|
in {
|
2023-07-12 16:42:51 +04:00
|
|
|
imports = [
|
|
|
|
./polybar
|
|
|
|
./lemonbar
|
|
|
|
];
|
2023-07-08 19:30:16 +04:00
|
|
|
options.modules.desktop.bspwm = {
|
|
|
|
enable = mkEnableOption false;
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
2023-07-11 00:07:17 +04:00
|
|
|
windowManager = {
|
|
|
|
bspwm.enable = true;
|
|
|
|
};
|
2023-07-11 00:12:00 +04:00
|
|
|
displayManager = {
|
2023-08-06 19:03:24 +04:00
|
|
|
defaultSession = "none+bspwm";
|
|
|
|
lightdm = {
|
2023-07-10 23:59:27 +04:00
|
|
|
enable = true;
|
2023-08-07 17:36:33 +04:00
|
|
|
background = ../../../config/background.png;
|
2023-08-14 22:31:43 +04:00
|
|
|
greeters.mini = {
|
2023-08-06 19:03:24 +04:00
|
|
|
enable = true;
|
2023-08-14 22:31:43 +04:00
|
|
|
user = "sako";
|
|
|
|
extraConfig = ''
|
|
|
|
[greeter]
|
|
|
|
show-password-label = true
|
|
|
|
password-label-text = magic word
|
|
|
|
invalid-password-text = skull issue
|
|
|
|
|
|
|
|
'';
|
2023-07-17 21:30:58 +04:00
|
|
|
};
|
2023-07-10 23:59:27 +04:00
|
|
|
};
|
2023-07-10 23:52:55 +04:00
|
|
|
};
|
2023-07-10 00:31:08 +04:00
|
|
|
libinput = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
# no mouse accel
|
|
|
|
mouse = {
|
|
|
|
accelProfile = "flat";
|
|
|
|
};
|
|
|
|
|
|
|
|
# no touchpad accel
|
|
|
|
touchpad = {
|
|
|
|
accelProfile = "flat";
|
|
|
|
};
|
|
|
|
};
|
2023-08-06 19:03:24 +04:00
|
|
|
};
|
2023-07-08 19:30:16 +04:00
|
|
|
users.users.sako.packages = with pkgs; [
|
2023-07-08 20:00:13 +04:00
|
|
|
rofi
|
2023-07-11 07:32:58 +04:00
|
|
|
# network
|
2023-07-09 02:38:42 +04:00
|
|
|
networkmanagerapplet
|
2023-07-11 07:32:58 +04:00
|
|
|
# brightness
|
|
|
|
brightnessctl
|
2023-07-12 00:26:59 +04:00
|
|
|
# gee tee k
|
|
|
|
vimix-gtk-themes
|
2023-07-12 00:28:42 +04:00
|
|
|
vimix-icon-theme
|
2023-07-12 00:26:59 +04:00
|
|
|
lxappearance
|
2023-07-15 19:06:11 +04:00
|
|
|
catppuccin-cursors.mochaDark
|
2023-07-12 02:06:16 +04:00
|
|
|
# screen shot (s)
|
|
|
|
flameshot
|
2023-07-08 19:30:16 +04:00
|
|
|
];
|
|
|
|
|
2023-08-06 19:03:24 +04:00
|
|
|
home-manager.users.sako = {pkgs, ...}: {
|
2023-07-17 21:22:45 +04:00
|
|
|
home.pointerCursor = {
|
2023-08-06 19:03:24 +04:00
|
|
|
name = "Catppuccin-Mocha-Dark";
|
2023-07-17 21:30:58 +04:00
|
|
|
size = 16;
|
|
|
|
x11 = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-07-17 21:22:45 +04:00
|
|
|
gtk.enable = true;
|
|
|
|
package = pkgs.catppuccin-cursors.mochaDark;
|
|
|
|
};
|
2023-07-12 00:36:03 +04:00
|
|
|
gtk = {
|
2023-08-29 13:51:25 +04:00
|
|
|
enable = true;
|
2023-07-17 21:33:22 +04:00
|
|
|
theme.name = "vimix-dark-ruby";
|
2023-07-12 00:36:03 +04:00
|
|
|
iconTheme.name = "Vimix Ruby Dark";
|
2023-07-15 19:08:20 +04:00
|
|
|
};
|
2023-07-21 21:58:43 +04:00
|
|
|
home.file = {
|
|
|
|
"background.png" = {
|
|
|
|
enable = true;
|
|
|
|
source = ../../../config/background.png;
|
|
|
|
};
|
|
|
|
};
|
2023-07-12 00:21:20 +04:00
|
|
|
xdg.configFile = {
|
|
|
|
bspwm = {
|
|
|
|
source = ../../../config/bspwm;
|
|
|
|
};
|
|
|
|
sxhkd = {
|
|
|
|
source = ../../../config/sxhkd;
|
|
|
|
};
|
2023-08-06 19:03:24 +04:00
|
|
|
};
|
2023-07-08 19:30:16 +04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|