diff --git a/home/linux.nix b/home/linux.nix index 0448b2a..de12416 100644 --- a/home/linux.nix +++ b/home/linux.nix @@ -45,6 +45,7 @@ ../modules/fish ../modules/firefox ../modules/wm/swaync + ../modules/wm/cliphist ../modules/wm/awww ../modules/wm/fuzzel ../modules/wm/ironbar diff --git a/hosts/dnsc-machine/default.nix b/hosts/dnsc-machine/default.nix index 6673a73..46ff10c 100644 --- a/hosts/dnsc-machine/default.nix +++ b/hosts/dnsc-machine/default.nix @@ -151,6 +151,14 @@ enableSSHSupport = true; }; + xdg.portal = { + enable = true; + extraPortals = [ + pkgs.xdg-desktop-portal-gtk + pkgs.xdg-desktop-portal-gnome + ]; + }; + # Services # Pipewire diff --git a/modules/wm/cliphist/default.nix b/modules/wm/cliphist/default.nix new file mode 100644 index 0000000..8c1bee1 --- /dev/null +++ b/modules/wm/cliphist/default.nix @@ -0,0 +1,9 @@ +{ ... }: + +{ + services.cliphist = { + enable = true; + allowImages = true; + systemdTargets = [ "graphical-session.target" ]; + }; +} diff --git a/modules/wm/fuzzel/default.nix b/modules/wm/fuzzel/default.nix index 0de3c7f..db97092 100644 --- a/modules/wm/fuzzel/default.nix +++ b/modules/wm/fuzzel/default.nix @@ -21,7 +21,6 @@ colors = { background = "0f0b15f5"; text = "ffffffff"; - message = "bf8a9fff"; prompt = "807c9fff"; input = "ffffffff"; match = "c57fafff"; diff --git a/modules/wm/niri/config/config.kdl b/modules/wm/niri/config/config.kdl index 3f36008..143a8e1 100644 --- a/modules/wm/niri/config/config.kdl +++ b/modules/wm/niri/config/config.kdl @@ -246,16 +246,6 @@ window-rule { // open-on-workspace "chat" // } -// Work around WezTerm's initial configure bug -// by setting an empty default-column-width. -// window-rule { -// // This regular expression is intentionally made as specific as possible, -// // since this is the default config, and we want no false positives. -// // You can get away with just app-id="wezterm" if you want. -// match app-id=r#"^org\.wezfurlong\.wezterm$"# -// default-column-width {} -// } - // Open the Firefox picture-in-picture player as floating by default. window-rule { // This app-id regular expression will work for both: @@ -305,10 +295,10 @@ binds { Mod+Shift+Slash { show-hotkey-overlay; } // Suggested binds for running programs: terminal, app launcher, screen locker. - Mod+Return hotkey-overlay-title="Open a terminal" { spawn "wezterm"; } + Mod+T hotkey-overlay-title="Open a terminal" { spawn "ghostty +new-window"; } Mod+Space hotkey-overlay-title="Launcher" { spawn "fuzzel"; } Mod+B hotkey-overlay-title="Browser" { spawn "firefox"; } - Mod+M hotkey-overlay-title="System Monitor" { spawn-sh "wezterm start -- btop"; } + Mod+M hotkey-overlay-title="System Monitor" { spawn-sh "ghostty -e btop"; } Mod+N hotkey-overlay-title="File Manager" { spawn "nautilus"; } Mod+Alt+L hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; } diff --git a/modules/wm/niri/default.nix b/modules/wm/niri/default.nix index 53b4e63..d0f3bc6 100644 --- a/modules/wm/niri/default.nix +++ b/modules/wm/niri/default.nix @@ -10,7 +10,5 @@ services.polkit-gnome.enable = true; # WM Utilities (split out if they need additional config) - # TODO configure ironbar programs.hyprlock.enable = true; - # TODO: Install idle manager } diff --git a/modules/wm/swaync/style.css b/modules/wm/swaync/style.css index 6bde05f..605b966 100644 --- a/modules/wm/swaync/style.css +++ b/modules/wm/swaync/style.css @@ -32,6 +32,10 @@ @define-color silver #b8c6d5; @define-color silver_bright #ffffff; +* { + font-family: "VictorMono NF SemiBold"; +} + notificationwindow, blankwindow, blankwindow { background: transparent; } @@ -438,14 +442,16 @@ notificationwindow, blankwindow, blankwindow { .widget-buttons-grid flowboxchild > button { padding: 12px 0; margin: 8px; - background-color: @magenta_subtle_bg_darker; - color: @magenta_brighter; + background-color: @magenta; + color: @fg; opacity: 1; } .widget-buttons-grid flowboxchild > button:hover { padding: 12px 0; - background-color: @magenta_subtle_bg; + background-color: @magenta; + box-shadow: inset 0px 0px 15px 3px rgba(0,0,0,0.8); + transition: none; color: @fg; }