mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
switch to dankmaterialshell
This commit is contained in:
parent
57bfa61e0b
commit
e543d6cde6
2 changed files with 38 additions and 40 deletions
|
|
@ -2,18 +2,17 @@
|
|||
pkgs,
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
noctalia = inputs.noctalia.packages.${pkgs.system}.default;
|
||||
in {
|
||||
}: {
|
||||
imports = [
|
||||
./darkman.nix
|
||||
# inputs.niri.homeModules.niri.default
|
||||
inputs.dankMaterialShell.homeModules.dankMaterialShell.default
|
||||
inputs.dankMaterialShell.homeModules.dankMaterialShell.niri
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
noctalia
|
||||
inputs.quickshell.packages.${system}.default
|
||||
|
||||
glib
|
||||
xdg-desktop-portal-gnome
|
||||
xdg-desktop-portal-gtk
|
||||
|
|
@ -25,8 +24,11 @@ in {
|
|||
wlsunset
|
||||
];
|
||||
|
||||
home.shellAliases = {
|
||||
restart-shell = "${noctalia} kill && niri msg action spawn -- \"${noctalia}\"";
|
||||
programs.dankMaterialShell = {
|
||||
enable = true;
|
||||
quickshell.package = pkgs.unstable.quickshell;
|
||||
niri.enableKeybinds = true;
|
||||
niri.enableSpawn = true;
|
||||
};
|
||||
|
||||
gtk = {
|
||||
|
|
@ -283,16 +285,6 @@ in {
|
|||
# }
|
||||
};
|
||||
|
||||
# Add lines like this to spawn processes at startup.
|
||||
# Note that running niri as a session supports xdg-desktop-autostart,
|
||||
# which may be more convenient to use.
|
||||
# See the binds section below for more spawn examples.
|
||||
|
||||
# // This line starts waybar, a commonly used bar for Wayland compositors.
|
||||
spawn-at-startup = [
|
||||
{argv = ["noctalia-shell"];}
|
||||
];
|
||||
|
||||
# Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
||||
# If the client will specifically ask for CSD, the request will be honored.
|
||||
# Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
|
||||
|
|
@ -409,27 +401,27 @@ in {
|
|||
hotkey-overlay.title = "Open a Terminal: ghostty";
|
||||
action = spawn "ghostty";
|
||||
};
|
||||
"Mod+Space" = {
|
||||
hotkey-overlay.title = "Application launcher";
|
||||
action = spawn ["noctalia-shell" "ipc" "call" "launcher" "toggle"];
|
||||
};
|
||||
# "Mod+Space" = {
|
||||
# hotkey-overlay.title = "Application launcher";
|
||||
# action = spawn ["noctalia-shell" "ipc" "call" "launcher" "toggle"];
|
||||
# };
|
||||
|
||||
"XF86AudioRaiseVolume" = {
|
||||
allow-when-locked = true;
|
||||
action = spawn ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"];
|
||||
};
|
||||
"XF86AudioLowerVolume" = {
|
||||
allow-when-locked = true;
|
||||
action = spawn ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"];
|
||||
};
|
||||
"XF86AudioMute" = {
|
||||
allow-when-locked = true;
|
||||
action = spawn ["wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"];
|
||||
};
|
||||
XF86AudioMicMute = {
|
||||
allow-when-locked = true;
|
||||
action = spawn ["wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"];
|
||||
};
|
||||
# "XF86AudioRaiseVolume" = {
|
||||
# allow-when-locked = true;
|
||||
# action = spawn ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"];
|
||||
# };
|
||||
# "XF86AudioLowerVolume" = {
|
||||
# allow-when-locked = true;
|
||||
# action = spawn ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"];
|
||||
# };
|
||||
# "XF86AudioMute" = {
|
||||
# allow-when-locked = true;
|
||||
# action = spawn ["wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"];
|
||||
# };
|
||||
# XF86AudioMicMute = {
|
||||
# allow-when-locked = true;
|
||||
# action = spawn ["wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"];
|
||||
# };
|
||||
|
||||
# Open/close the Overview: a zoomed-out view of workspaces and windows.
|
||||
# You can also move the mouse into the top-left hot corner,
|
||||
|
|
@ -606,7 +598,7 @@ in {
|
|||
"Mod+BracketRight".action = consume-or-expel-window-right;
|
||||
|
||||
# Consume one window from the right to the bottom of the focused column.
|
||||
"Mod+Comma".action = consume-window-into-column;
|
||||
"Mod+Comma".action = lib.mkForce consume-window-into-column;
|
||||
# Expel the bottom window from the focused column to the right.
|
||||
"Mod+Period".action = expel-window-from-column;
|
||||
|
||||
|
|
@ -645,7 +637,7 @@ in {
|
|||
# Mod+Shift+Equal { set-window-height "+10%"; }
|
||||
|
||||
# // Move the focused window between the floating and the tiling layout.
|
||||
"Mod+V".action = toggle-window-floating;
|
||||
"Mod+V".action = lib.mkForce toggle-window-floating;
|
||||
"Mod+Shift+V".action = switch-focus-between-floating-and-tiling;
|
||||
|
||||
# Toggle tabbed column display mode.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue