diff options
| author | Christian <[email protected]> | 2026-05-25 15:27:53 -0500 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-05-25 15:27:53 -0500 |
| commit | 0331a1b53c9586a92c6b7555cc37bed27839ffb7 (patch) | |
| tree | 3cbfb6dce2fabe3beccea77fdd9022df70b91b35 /hosts/laptop | |
| parent | 745dc29a70fa0bd2fc6d648101b66dc6446a3b81 (diff) | |
Add fish as default shell with zoxide integration
Diffstat (limited to 'hosts/laptop')
| -rw-r--r-- | hosts/laptop/configuration.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 2ac3ce0..a2030fe 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -40,6 +40,11 @@ hibernate = "systemctl hibernate"; }; + programs.fish.shellAliases = { + battery = "echo (math (cat /sys/class/power_supply/BAT0/charge_now) * 100 / (cat /sys/class/power_supply/BAT0/charge_full))%"; + hibernate = "systemctl hibernate"; + }; + services.keyd = { enable = true; keyboards.default = { |
