New Hyprland keybinding, disable wayvnc and fix cursor
This commit is contained in:
parent
795b5a05ce
commit
59e1329644
2 changed files with 16 additions and 26 deletions
|
@ -1,8 +1,4 @@
|
||||||
{
|
{ config, pkgs, ... }:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
screenshotScript = pkgs.writeShellScriptBin "screenshot.sh" ''
|
screenshotScript = pkgs.writeShellScriptBin "screenshot.sh" ''
|
||||||
filename="$HOME/shots/$(date --iso-8601=seconds).png"
|
filename="$HOME/shots/$(date --iso-8601=seconds).png"
|
||||||
|
@ -20,15 +16,14 @@ let
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
imports = [
|
imports = [
|
||||||
./hyprpaper.nix
|
./hyprpaper.nix
|
||||||
../waybar
|
../waybar
|
||||||
../swayidle
|
../swayidle
|
||||||
../gammastep
|
../gammastep
|
||||||
# ../wezterm
|
# ../wezterm
|
||||||
../wayvnc
|
# ../wayvnc
|
||||||
../swaync
|
../swaync
|
||||||
../foot
|
../foot
|
||||||
];
|
];
|
||||||
|
@ -43,9 +38,7 @@ in
|
||||||
brightnessctl
|
brightnessctl
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.user.sessionVariables = {
|
systemd.user.sessionVariables = { NIXOS_OZONE_WL = "1"; };
|
||||||
NIXOS_OZONE_WL = "1";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.network-manager-applet.enable = true;
|
services.network-manager-applet.enable = true;
|
||||||
services.blueman-applet.enable = true;
|
services.blueman-applet.enable = true;
|
||||||
|
@ -61,16 +54,14 @@ in
|
||||||
name = "Adwaita";
|
name = "Adwaita";
|
||||||
package = pkgs.adwaita-icon-theme;
|
package = pkgs.adwaita-icon-theme;
|
||||||
};
|
};
|
||||||
# cursorTheme = {
|
cursorTheme = {
|
||||||
# name = "catppuccin-mocha-sapphire";
|
name = "catppuccin-mocha-sapphire";
|
||||||
# package = pkgs.catppuccin-cursors;
|
package = pkgs.catppuccin-cursors;
|
||||||
# size = 48;
|
size = 40;
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
qt = {
|
qt = { enable = true; };
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# services.kanshi = {
|
# services.kanshi = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
|
@ -100,16 +91,14 @@ in
|
||||||
# };
|
# };
|
||||||
|
|
||||||
home.file.".icons/catppuccin-mocha-sapphire" = {
|
home.file.".icons/catppuccin-mocha-sapphire" = {
|
||||||
source = "${pkgs.catppuccin-cursors.mochaSapphire}/share/icons/catppuccin-mocha-sapphire-cursors";
|
source =
|
||||||
|
"${pkgs.catppuccin-cursors.mochaSapphire}/share/icons/catppuccin-mocha-sapphire-cursors";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.hyprlandPlugins; [
|
plugins = with pkgs.hyprlandPlugins; [ hy3 hyprspace ];
|
||||||
hy3
|
|
||||||
hyprspace
|
|
||||||
];
|
|
||||||
# TODO migrate to structured options
|
# TODO migrate to structured options
|
||||||
extraConfig = builtins.readFile ./hyprland.conf;
|
extraConfig = builtins.readFile ./hyprland.conf;
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,9 +5,9 @@ cursor {
|
||||||
}
|
}
|
||||||
|
|
||||||
env = HYPRCURSOR_THEME,catppuccin-mocha-sapphire
|
env = HYPRCURSOR_THEME,catppuccin-mocha-sapphire
|
||||||
env = HYPRCURSOR_SIZE,48
|
env = HYPRCURSOR_SIZE,40
|
||||||
env = XCURSOR_THEME,catppuccin-mocha-sapphire
|
env = XCURSOR_THEME,catppuccin-mocha-sapphire
|
||||||
env = XCURSOR_SIZE,48
|
env = XCURSOR_SIZE,40
|
||||||
|
|
||||||
$mod = SUPER
|
$mod = SUPER
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ bind = $mod, t, exec, footclient $SHELL
|
||||||
bind = $mod, RETURN, exec, emacsclient -c --eval "(ccr/start-eshell)"
|
bind = $mod, RETURN, exec, emacsclient -c --eval "(ccr/start-eshell)"
|
||||||
bind = $mod, m, exec, emacsclient -c --eval '(notmuch-search "tag:new")'
|
bind = $mod, m, exec, emacsclient -c --eval '(notmuch-search "tag:new")'
|
||||||
bind = $mod, g, exec, emacsclient -c --eval '(switch-to-buffer (gptel "*ChatGPT*"))'
|
bind = $mod, g, exec, emacsclient -c --eval '(switch-to-buffer (gptel "*ChatGPT*"))'
|
||||||
|
bind = $mod, c, exec, emacsclient -c --eval '(org-roam-dailies-capture-today)'
|
||||||
bind = $mod, d, exec, fuzzel --background-color=253559cc --border-radius=5 --border-width=0
|
bind = $mod, d, exec, fuzzel --background-color=253559cc --border-radius=5 --border-width=0
|
||||||
bind = $mod, s, exec, screenshot.sh
|
bind = $mod, s, exec, screenshot.sh
|
||||||
bind = $mod, n, exec, logseq
|
bind = $mod, n, exec, logseq
|
||||||
|
|
Loading…
Add table
Reference in a new issue