From 9f3d04e23160220382853a5c209ab9dc72d9af2e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 28 Oct 2023 11:14:27 +0100 Subject: [PATCH 1/2] Add wttr to emacs modeline --- home/emacs/modules/custom-ui-config.el | 4 ++++ system/emacs.nix | 1 + 2 files changed, 5 insertions(+) diff --git a/home/emacs/modules/custom-ui-config.el b/home/emacs/modules/custom-ui-config.el index 1078a30f..ebd37587 100644 --- a/home/emacs/modules/custom-ui-config.el +++ b/home/emacs/modules/custom-ui-config.el @@ -55,6 +55,10 @@ (when (require 'which-key nil :noerror) (which-key-mode +1)) (when (require 'page-break nil :noerror) (global-page-break-lines-mode +1)) +;; Weather in modeline +(setq display-wttr-format 1) +(when (require 'display-wttr nil :noerror) (display-wttr-mode +1)) + ;;;; Help Buffers ;; Make `describe-*' screens more helpful diff --git a/system/emacs.nix b/system/emacs.nix index 7ef35de0..759003b7 100644 --- a/system/emacs.nix +++ b/system/emacs.nix @@ -65,6 +65,7 @@ helpful which-key link-hint + display-wttr # writing-packages pdf-tools From d000fc4b891b0215ffcffaf0f1a5b88889fe64b7 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 28 Oct 2023 11:37:11 +0100 Subject: [PATCH 2/2] Add lynx and associated hyprland bind --- home/hyprland/config.nix | 4 ++-- system/default.nix | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/home/hyprland/config.nix b/home/hyprland/config.nix index 510f8714..b7a49754 100644 --- a/home/hyprland/config.nix +++ b/home/hyprland/config.nix @@ -104,7 +104,7 @@ in '' bind = SUPER, Return, exec, alacritty bind = SUPER SHIFT, Return, exec, [float] alacritty - bind = SUPER ALT, W, exec, [workspace 4] firefox + bind = SUPER ALT, W, exec, [workspace 4] alacritty -e tmux new -A -s Web lynx bind = SUPER ALT, F, exec, [workspace 5] alacritty -e tmux new -A -s Files nnn -d bind = SUPER ALT, S, exec, [workspace 6] alacritty -e tmux new -A -s Spotify ncspot @@ -209,7 +209,7 @@ in '' bind = SUPER, D, workspace, 3 bind = SUPER SHIFT, D, movetoworkspace, 3 - # 4: [b]rowser + # 4: [w]ww bind = SUPER, W, moveworkspacetomonitor, 4 current bind = SUPER, W, workspace, 4 bind = SUPER SHIFT, W, movetoworkspace, 4 diff --git a/system/default.nix b/system/default.nix index d095628f..659dcd6b 100644 --- a/system/default.nix +++ b/system/default.nix @@ -9,11 +9,12 @@ in { systemPackages = with pkgs; [ libsecret git - neofetch nitch dig - silver-searcher gnumake + fd + ripgrep + lynx ]; localBinInPath = true; shellAliases.rebuild =