summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-05-25 15:27:53 -0500
committerChristian <[email protected]>2026-05-25 15:27:53 -0500
commit0331a1b53c9586a92c6b7555cc37bed27839ffb7 (patch)
tree3cbfb6dce2fabe3beccea77fdd9022df70b91b35 /hosts
parent745dc29a70fa0bd2fc6d648101b66dc6446a3b81 (diff)
Add fish as default shell with zoxide integration
Diffstat (limited to 'hosts')
-rw-r--r--hosts/laptop/configuration.nix5
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 = {