Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.25 KB

SCRIPTS.md

File metadata and controls

55 lines (38 loc) · 1.25 KB

Scripts

Scripts are located in the home/scripts folder. Home-manager add those in the user's path.

Nix/NixOs shortcuts

Tip

The hostname variable in hosts/yourhost/variables.nix should be also the name of the nixosConfiguration in flake.nix file.

  • nixy # UI
  • nixy rebuild
  • nixy update
  • nixy upgrade
  • nixy gc # garbage collection
  • nixy cb # clean boot menu

Brightness control

  • brightness-up
  • brightness-down
  • brightness-set [value]
  • brightness-change [up/down] <increment>

Sound control

  • sound-up
  • sound-down
  • sound-toggle
  • sound-set [value]
  • sound-change [up/down/mute] <increment>

Caffeine

Caffeine is a simple script that toggles hypridle (disable suspend & screenlock).

  • caffeine # Toggle caffeine
  • caffeine-status # Return 1/0
  • caffeine-status-icon # Return 󰅶/󰾪

Night-Shift

Blue light filter, using wlsunset

  • night-shift # Toggle night shift
  • night-shift-status # Return 1/0
  • night-shift-status-icon # Return 󰖕/󰖔
  • night-shift-on
  • night-shift-off

Nerdfont FZF

Nerdfont fzf is a quick way to search for nerdfont icons locally. It will copy the selected icon to the clipboard.

  • nerdfont-fzf