Compare commits

..

No commits in common. "d69d8e03baeda963b3509720d48f27491b03285b" and "d996cc78ea05b854f42bddf967d17b3073c6a5b0" have entirely different histories.

3 changed files with 52 additions and 28 deletions

View file

@ -37,7 +37,6 @@ in
}; };
startup = mkOption { startup = mkOption {
description = "Commands that should be executed at startup."; description = "Commands that should be executed at startup.";
default = [ ];
type = types.listOf ( type = types.listOf (
types.submodule { types.submodule {
options = { options = {
@ -93,6 +92,14 @@ in
config = { config = {
modifier = mod; modifier = mod;
assigns = {
"1" = [ { app_id = "firefox"; } ];
"2" = [ { app_id = "foot"; } ];
"3" = [
{ class = "Code"; }
{ app_id = "emacs"; }
];
};
bars = [ ]; bars = [ ];
# Dracula theme # Dracula theme

View file

@ -9,11 +9,7 @@ let
cfg = config.eboskma.programs.waybar; cfg = config.eboskma.programs.waybar;
in in
{ {
options.eboskma.programs.waybar = { options.eboskma.programs.waybar.enable = mkEnableOption "Enable waybar";
enable = mkEnableOption "Enable waybar";
sway = mkEnableOption "sway";
river = mkEnableOption "river";
};
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.waybar = { programs.waybar = {
@ -26,18 +22,18 @@ in
position = "top"; position = "top";
height = 32; height = 32;
modules-left = modules-left = [
[ ] "wlr/workspaces"
++ lib.optionals cfg.river [
"river/tags" "river/tags"
"river/mode" "river/mode"
]
++ lib.optionals cfg.sway [
"sway/workspaces" "sway/workspaces"
"sway/mode" "sway/mode"
] "custom/now_playing"
++ [ "custom/now_playing" ]; ];
modules-center = (lib.optional cfg.sway "sway/window") ++ (lib.optional cfg.river "river/window"); modules-center = [
"sway/window"
"river/window"
];
modules-right = [ modules-right = [
"network" "network"
"memory" "memory"

View file

@ -10,6 +10,26 @@ let
cfg = config.eboskma.users.erwin; cfg = config.eboskma.users.erwin;
homeCfg = config.home-manager.users.erwin; homeCfg = config.home-manager.users.erwin;
bt = config.eboskma.bluetooth; bt = config.eboskma.bluetooth;
ewwDaemon =
let
path = lib.makeBinPath (
with pkgs;
[
ha-now-playing
jaq
pamedia
bash
helvum
pavucontrol
]
);
in
pkgs.writeShellScript "eww-daemon" ''
export PATH=${path}:''${PATH}
${homeCfg.eboskma.programs.eww.package}/bin/eww $@
'';
in in
{ {
config = mkIf cfg.home { config = mkIf cfg.home {
@ -36,6 +56,9 @@ in
emacs = { emacs = {
enable = true; enable = true;
package = pkgs.emacs-unstable-pgtk; package = pkgs.emacs-unstable-pgtk;
# .override {
# treeSitterPlugins = builtins.attrValues (filterAttrs (_: isDerivation) pkgs.tree-sitter-grammars);
# }
daemon = true; daemon = true;
}; };
electron = { electron = {
@ -118,10 +141,13 @@ in
"1133:49291:Logitech_G502_HERO_SE" = { "1133:49291:Logitech_G502_HERO_SE" = {
natural_scroll = "enabled"; natural_scroll = "enabled";
}; };
"1390:268:ELECOM_TrackBall_Mouse_HUGE_TrackBall" = {
natural_scroll = "enabled";
};
}; };
startup = [
{
command = "${ewwDaemon} --restart open bar-home";
always = true;
}
];
}; };
swaynotificationcenter.enable = true; swaynotificationcenter.enable = true;
tea = { tea = {
@ -140,10 +166,7 @@ in
}; };
}; };
tmux.enable = true; tmux.enable = true;
waybar = { waybar.enable = true;
enable = true;
sway = true;
};
zathura.enable = true; zathura.enable = true;
zellij = { zellij = {
enable = true; enable = true;
@ -177,7 +200,6 @@ in
easyeffects easyeffects
element-desktop element-desktop
fd fd
freecad
ffmpeg_5-full ffmpeg_5-full
helvum helvum
imagemagick imagemagick
@ -226,7 +248,6 @@ in
# winetricks # winetricks
wl-clipboard wl-clipboard
zeal zeal
zed-editor
] ]
++ (with gst_all_1; [ ++ (with gst_all_1; [
gstreamer gstreamer
@ -240,7 +261,7 @@ in
]); ]);
pointerCursor = { pointerCursor = {
name = "catppuccin-mocha-dark-cursors"; name = "Catppuccin-Mocha-Dark-Cursors";
package = pkgs.catppuccin-cursors.mochaDark; package = pkgs.catppuccin-cursors.mochaDark;
gtk.enable = true; gtk.enable = true;
x11.enable = true; x11.enable = true;