work: Switch back to waybar

This commit is contained in:
Erwin Boskma 2024-07-12 10:28:57 +02:00
parent 197fb1716d
commit 9e2ce5f496
Signed by: erwin
SSH key fingerprint: SHA256:OCinH/khuGY1LA9RG8YLM8GNH6C1DDXBdy3SNE+I5Hw

View file

@ -10,27 +10,6 @@ let
cfg = config.eboskma.users.erwin;
homeCfg = config.home-manager.users.erwin;
ewwDaemon =
let
path = lib.makeBinPath (
with pkgs;
[
jaq
pamedia
bash
helvum
pavucontrol
headsetcontrol
ha-now-playing
]
);
in
pkgs.writeShellScript "eww-daemon" ''
export PATH=${path}:''${PATH}
${config.home-manager.users.erwin.eboskma.programs.eww.package}/bin/eww $@
'';
workspacePartition = builtins.concatLists (
builtins.attrValues (
builtins.mapAttrs
@ -74,13 +53,10 @@ in
emacs = {
enable = true;
package = pkgs.emacs-unstable-pgtk;
# .override {
# treeSitterPlugins = builtins.attrValues (filterAttrs (_: isDerivation) pkgs.tree-sitter-grammars);
# };
daemon = true;
};
eww = {
enable = true;
enable = false;
};
firefox = {
enable = true;
@ -172,13 +148,6 @@ in
pointer_accel = "1";
};
};
startup = [
{
command = "${ewwDaemon} --restart open bar-work";
always = true;
}
# { command = "${pkgs.wayvnc}/bin/wayvnc 0.0.0.0"; always = true; }
];
workspaceOutputs = workspacePartition;
extraKeybindings = {
"Ctrl+Alt+1" = "exec ${pkgs.wayvnc}/bin/wayvncctl output-set DP-1";
@ -187,6 +156,10 @@ in
};
swaynotificationcenter.enable = true;
tmux.enable = true;
waybar = {
enable = true;
sway = true;
};
};
services = {
xbanish.enable = false;