Shift home config to enable by desktop, work out more details later
This commit is contained in:
parent
d873588c59
commit
77168ba9c7
37 changed files with 120 additions and 127 deletions
|
@ -3,7 +3,7 @@
|
|||
imports = [ ./scripts ];
|
||||
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
enable = config.home.desktop.enable;
|
||||
package = pkgs.rofi-wayland;
|
||||
terminal = "foot";
|
||||
font = "${config.look.fonts.main} 14";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
home.packages = with pkgs; lib.mkIf config.programs.rofi.enable [
|
||||
(pkgs.writeScriptBin "rofiscratch" ''
|
||||
SCRATCHPADS=$(echo -e "Btop\nMusic\nSound\nEasyEffects" | rofi -dmenu -i -p "Scratchpads")
|
||||
case $SCRATCHPADS in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue