universedesktop: waybar
This commit is contained in:
@@ -27,6 +27,7 @@ in {
|
|||||||
(dwl-patch "ipc")
|
(dwl-patch "ipc")
|
||||||
(dwl-patch "restore-monitor")
|
(dwl-patch "restore-monitor")
|
||||||
(dwl-patch "regexrules")
|
(dwl-patch "regexrules")
|
||||||
|
(dwl-patch "autostart")
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
version = "10-05-2024";
|
version = "10-05-2024";
|
||||||
@@ -44,6 +45,7 @@ in {
|
|||||||
export termcmd=${pkgs.foot}/bin/foot
|
export termcmd=${pkgs.foot}/bin/foot
|
||||||
export editcmd=${launch_emacs}
|
export editcmd=${launch_emacs}
|
||||||
export menucmd=${pkgs.fuzzel}/bin/fuzzel
|
export menucmd=${pkgs.fuzzel}/bin/fuzzel
|
||||||
|
export barcmd=${pkgs.waybar}/bin/waybar
|
||||||
substituteAll ${./dwl/config.def.h} ./config.def.h
|
substituteAll ${./dwl/config.def.h} ./config.def.h
|
||||||
'';
|
'';
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
@@ -70,6 +72,7 @@ in {
|
|||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
dwl
|
dwl
|
||||||
|
waybar
|
||||||
foot
|
foot
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,11 @@ static const float fullscreen_bg[] = {0.0f, 0.0f, 0.0f, 1.0f}; /* You ca
|
|||||||
|
|
||||||
/* logging */
|
/* logging */
|
||||||
static int log_level = WLR_ERROR;
|
static int log_level = WLR_ERROR;
|
||||||
|
/* Autostart */
|
||||||
|
static const char *const autostart[] = {
|
||||||
|
"@barcmd@", NULL,
|
||||||
|
NULL /* terminate */
|
||||||
|
};
|
||||||
|
|
||||||
static const Rule rules[] = {
|
static const Rule rules[] = {
|
||||||
/* app_id title tags mask isfloating monitor */
|
/* app_id title tags mask isfloating monitor */
|
||||||
|
|||||||
Reference in New Issue
Block a user