From 41678d23f2b39970a02e9cc8d5aea1c2070421eb Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Mon, 9 Sep 2024 10:00:18 -0500 Subject: [PATCH] add eshell syntax and ags batter stuff --- .config/ags/config.js | 4 ++-- home/modules/hyprland.nix | 1 - modules/emacs.nix | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/ags/config.js b/.config/ags/config.js index 6becff8..7895a59 100644 --- a/.config/ags/config.js +++ b/.config/ags/config.js @@ -103,7 +103,7 @@ function battery_function() { class_name: "battery_icon", icon: battery.bind("icon-name"), }), - tooltip_text: time_left.as(t => "Time till full charge: " + t), + tooltip_text: time_left.as(t => bat.as(p => p + "\nTime till full charge: " + t)), }) } @@ -182,7 +182,7 @@ App.config({ windows: [ Bar(laptop ? 0 : 0), // can be instantiated for each monitor NotificationPopups(), - (laptop ? BatteryPopup() : null) + (laptop ? BatteryPopup() : null), ], }) diff --git a/home/modules/hyprland.nix b/home/modules/hyprland.nix index 5524a29..d39e226 100644 --- a/home/modules/hyprland.nix +++ b/home/modules/hyprland.nix @@ -341,7 +341,6 @@ in "rbw-agent" "hyprctl dispatch --batch 'splitratio 1; splitration -0.35'" "dbus-update-activation-environment --systemd --all" - "batmon.lisp" "/usr/lib/kdeconnectd" "systemctl --user stop jellyfin-mpv-shim" "systemctl --user stop emacs" diff --git a/modules/emacs.nix b/modules/emacs.nix index b4cd6f1..ed828ed 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -168,6 +168,7 @@ with lib; mu4e use-package esh-autosuggest + eshell-syntax-highlighting melpaPackages.org-ai melpaPackages.gptel pkgs.ispell