OOKNET                             [ /  search the index  ]  
──────────────────────────────────────────────────────────────────────────────────────
══════════════════════════════════════════════════════════════════════════════════════
OOKNET   [ /  search  ]  
────────────────────────────────────────────────
════════════════════════════════════════════════
 
 
main @ 45 LINES
 
[ HISTORY ]  [ UP ]
 

{
  lib,
  pkgs,
  ...
}: let
  mkBind = message:
    lib.mkOption {
      type = lib.types.str;
      default = "${pkgs.libnotify}/bin/notify-send --urgency=normal 'Warning' '${m
essage}'";
    };
in {
  options.ooknet.binds = {
    browser = mkBind "No browser is enabled";
    terminal = mkBind "No terminal is enabled";
    terminalLaunch = mkBind "Failed to launch tui";
    terminalDropdown = mkBind "Terminal Dropdown not enabled";
    btop = mkBind "Btop binding not set";
    fileManager = mkBind "No file manager is enabled.";
    notes = mkBind "No Notes app is enabled";
    discord = mkBind "No Discord app is enabled";
    steam = mkBind "Steam is not enabled";
    powerMenu = mkBind "No power menu is enabled";
    lock = mkBind "No screen locker enabled";
    password = mkBind "No password manager enabled";
    quickpass = mkBind "1Password module is not enabled";
    zellijMenu = mkBind "Zellij Menu is not enabled";
    factorio = mkBind "Gaming module is not enabled";
    volume = {
      up = mkBind "Volume binding not found...";
      down = mkBind "Volume binding not found...";
      mute = mkBind "Volume binding not found...";
    };
    brightness = {
      up = mkBind "Brightness binding not found...";
      down = mkBind "Brightness binding not found...";
    };
    spotify = {
      launch = mkBind "Spotify is not enabled";
      next = mkBind "Spotify is not enabled";
      previous = mkBind "Spotify is not enabled";
      play = mkBind "Spotify is not enabled";
    };
  };
}

{
  lib,
  pkgs,
  ...
}: let
  mkBind = message:
    lib.mkOption {
      type = lib.types.str;
      default = "${pkgs.libnotify}/bin/notif
y-send --urgency=normal 'Warning' '${message
}'";
    };
in {
  options.ooknet.binds = {
    browser = mkBind "No browser is enabled"
;
    terminal = mkBind "No terminal is enable
d";
    terminalLaunch = mkBind "Failed to launc
h tui";
    terminalDropdown = mkBind "Terminal Drop
down not enabled";
    btop = mkBind "Btop binding not set";
    fileManager = mkBind "No file manager is
 enabled.";
    notes = mkBind "No Notes app is enabled"
;
    discord = mkBind "No Discord app is enab
led";
    steam = mkBind "Steam is not enabled";
    powerMenu = mkBind "No power menu is ena
bled";
    lock = mkBind "No screen locker enabled"
;
    password = mkBind "No password manager e
nabled";
    quickpass = mkBind "1Password module is 
not enabled";
    zellijMenu = mkBind "Zellij Menu is not 
enabled";
    factorio = mkBind "Gaming module is not 
enabled";
    volume = {
      up = mkBind "Volume binding not found.
..";
      down = mkBind "Volume binding not foun
d...";
      mute = mkBind "Volume binding not foun
d...";
    };
    brightness = {
      up = mkBind "Brightness binding not fo
und...";
      down = mkBind "Brightness binding not 
found...";
    };
    spotify = {
      launch = mkBind "Spotify is not enable
d";
      next = mkBind "Spotify is not enabled"
;
      previous = mkBind "Spotify is not enab
led";
      play = mkBind "Spotify is not enabled"
;
    };
  };
}
 
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET