Compare commits

...

3 commits

Author SHA1 Message Date
82a9c5be65
Use Catppuccin GTK theme and use a more idiomatic poiner configuration
Some checks failed
/ test (push) Failing after 17m4s
2025-01-15 14:20:31 +01:00
5a7309b5d3
Keybinding for spawning a floating btop 2025-01-15 14:20:02 +01:00
95ee537f03
Refactor keybinding 2025-01-15 14:19:33 +01:00
2 changed files with 26 additions and 13 deletions

View file

@ -1,6 +1,7 @@
{ {
config, config,
pkgs, pkgs,
lib,
... ...
}: }:
let let
@ -52,29 +53,34 @@ in
services.udiskie.enable = true; services.udiskie.enable = true;
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
package = pkgs.catppuccin-cursors;
name = "catppuccin-mocha-sapphire";
size = 38;
};
gtk = { gtk = {
enable = true; enable = true;
# font.name = lib.mkForce "Sans,Symbols Nerd Font"; theme = {
name = "Catppuccin-GTK-Purple-Dark-Compact";
package = pkgs.magnetic-catppuccin-gtk.override {
accent = [ "purple" ];
shade = "dark";
size = "compact";
};
};
iconTheme = { iconTheme = {
name = "Adwaita"; name = "Adwaita";
package = pkgs.adwaita-icon-theme; package = pkgs.adwaita-icon-theme;
}; };
cursorTheme = {
name = "catppuccin-mocha-sapphire";
package = pkgs.catppuccin-cursors;
size = 38;
};
}; };
qt = { qt = {
enable = true; enable = true;
}; };
home.file.".icons/catppuccin-mocha-sapphire" = {
source = "${pkgs.catppuccin-cursors.mochaSapphire}/share/icons/catppuccin-mocha-sapphire-cursors";
recursive = true;
};
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
plugins = with pkgs.hyprlandPlugins; [ plugins = with pkgs.hyprlandPlugins; [

View file

@ -304,8 +304,15 @@ window-rule {
match title=r#"^Emacs Selector$"# match title=r#"^Emacs Selector$"#
opacity 0.95 opacity 0.95
open-floating true open-floating true
open-focused true
} }
window-rule {
match title=r#"^bTop$"#
opacity 0.95
open-floating true
open-focused true
}
@ -336,9 +343,9 @@ binds {
Mod+M { spawn "emacsclient" "-c" "--eval" "(notmuch-search \"tag:new\")"; } Mod+M { spawn "emacsclient" "-c" "--eval" "(notmuch-search \"tag:new\")"; }
Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))"; } Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))"; }
Mod+Shift+C { spawn "emacsclient" "-c" "--eval" "(org-roam-dailies-capture-today)"; } Mod+Shift+C { spawn "emacsclient" "-c" "--eval" "(org-roam-dailies-capture-today)"; }
Super+Alt+L { spawn "swaylock"; } Mod+Alt+L { spawn "swaylock"; }
Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; } Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; }
Mod+Ctrl+b { spawn "foot" "--title='bTop'" "-W" "210x60" "btop";}
// Example volume keys mappings for PipeWire & WirePlumber. // Example volume keys mappings for PipeWire & WirePlumber.
// The allow-when-locked=true property makes them work even when the session is locked. // The allow-when-locked=true property makes them work even when the session is locked.