This commit is contained in:
Adithya 2023-04-07 21:01:48 +05:30
parent 3554ffe466
commit fe6b13fbf8
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 98 additions and 94 deletions

View file

@ -1,12 +1,4 @@
{ pkgs, ... }: { { pkgs, ... }: {
xdg.desktopEntries."rofi".name = "Rofi";
xdg.desktopEntries."rofi".exec = "rofi -show";
xdg.desktopEntries."rofi".noDisplay = true;
xdg.desktopEntries."rofi-theme-selector".name = "Rofi Theme Selector";
xdg.desktopEntries."rofi-theme-selector".exec = "rofi-theme-selector";
xdg.desktopEntries."rofi-theme-selector".noDisplay = true;
programs.rofi = { programs.rofi = {
enable = true; enable = true;
cycle = false; cycle = false;
@ -17,4 +9,17 @@
}; };
theme = ./theme.rasi; theme = ./theme.rasi;
}; };
xdg.desktopEntries = {
"rofi" = {
name = "Rofi";
exec = "rofi -show";
noDisplay = true;
};
"rofi-theme-selector" = {
name = "Rofi Theme Selector";
exec = "rofi-theme-selector";
noDisplay = true;
};
};
} }

View file

@ -1,12 +1,10 @@
{ config { config, pkgs, ... }: {
, pkgs
, ...
}: {
programs.waybar.enable = true;
programs.waybar.systemd.enable = true;
programs.waybar.style = ./style.css;
xdg.configFile."waybar/colors.css".source = ./colors.css; xdg.configFile."waybar/colors.css".source = ./colors.css;
programs.waybar.settings = { programs.waybar = {
enable = true;
systemd.enable = true;
style = ./style.css;
settings = {
mainBar = { mainBar = {
layer = "top"; layer = "top";
position = "top"; position = "top";
@ -91,4 +89,5 @@
}; };
}; };
}; };
};
} }