Compare commits
2 Commits
12-add-bet
...
14-hyprlan
| Author | SHA1 | Date | |
|---|---|---|---|
| 677783bfd2 | |||
| f8407706a3 |
@@ -9,20 +9,7 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
modules.hyprland.enable = lib.mkOption {
|
modules.hyprland.enable = lib.mkEnableOption "hyprland";
|
||||||
type = lib.types.bool;
|
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
Whether to enable the hyprland configuration module.
|
|
||||||
Warning: This does not include the installation of hyprland itself.
|
|
||||||
recommended dependencies:
|
|
||||||
hyprpaper
|
|
||||||
hypridle
|
|
||||||
hyprlock
|
|
||||||
hyprshot
|
|
||||||
https://github.com/WhySoBad/hyprland-preview-share-picker/tree/master
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.modules.hyprland.enable {
|
config = lib.mkIf config.modules.hyprland.enable {
|
||||||
@@ -35,7 +22,6 @@ in
|
|||||||
"hypr/hyprpaper.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hyprpaper.conf;
|
"hypr/hyprpaper.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hyprpaper.conf;
|
||||||
"hypr/hypridle.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hypridle.conf;
|
"hypr/hypridle.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hypridle.conf;
|
||||||
"hypr/hyprlock.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hyprlock.conf;
|
"hypr/hyprlock.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hyprlock.conf;
|
||||||
"hypr/xdph.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/xdph.conf;
|
|
||||||
"backgrounds".source = config.lib.file.mkOutOfStoreSymlink ./backgrounds;
|
"backgrounds".source = config.lib.file.mkOutOfStoreSymlink ./backgrounds;
|
||||||
|
|
||||||
"hypr/nix.conf".text = ''
|
"hypr/nix.conf".text = ''
|
||||||
|
|||||||
@@ -42,17 +42,17 @@ exec-once = gsettings set org.gnome.desktop.interface cursor-size 24
|
|||||||
# This requires gpu-screen-recorder to be installed. I installed it with this https://wiki.nixos.org/wiki/Gpu-screen-recorder.
|
# This requires gpu-screen-recorder to be installed. I installed it with this https://wiki.nixos.org/wiki/Gpu-screen-recorder.
|
||||||
exec-once = ~/.config/hypr/scripts/gpu-screen-recorder/start-replay.sh
|
exec-once = ~/.config/hypr/scripts/gpu-screen-recorder/start-replay.sh
|
||||||
|
|
||||||
|
exec-once = spotify && signal-desktop && thunderbird && gnome-calendar && bitwarden && $browser
|
||||||
|
|
||||||
exec-once = [workspace 4 silent] signal-desktop
|
|
||||||
exec-once = [workspace 4 silent] spotify
|
|
||||||
exec-once = [workspace 4 silent] thunderbird
|
|
||||||
exec-once = [workspace 3 silent] gnome-calendar
|
|
||||||
exec-once = [workspace 3 silent] bitwarden
|
|
||||||
exec-once = [workspace 3 silent] errands
|
|
||||||
exec-once = [workspace 2 silent] $browser
|
|
||||||
exec-once = [workspace 1 silent] $terminal
|
exec-once = [workspace 1 silent] $terminal
|
||||||
# exec-once = [workspace 4 silent] discord
|
|
||||||
# windowrulev2 = workspace 4 silent once, class:^(discord)$
|
windowrule = match:class ^(zen-beta)$, workspace 2 silent
|
||||||
|
windowrule = match:class ^(org.gnome.Calendar)$, workspace 3 silent
|
||||||
|
windowrule = match:class ^(Bitwarden)$, workspace 3 silent
|
||||||
|
windowrule = match:class ^(discord)$, workspace 4 silent
|
||||||
|
windowrule = match:class ^(thunderbird)$, workspace 4 silent
|
||||||
|
windowrule = match:class ^(signal)$, workspace 4 silent
|
||||||
|
windowrule = match:class ^(Spotify)$, workspace 4 silent
|
||||||
|
|
||||||
|
|
||||||
env = HYPRCURSOR_SIZE,28
|
env = HYPRCURSOR_SIZE,28
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
screencopy {
|
|
||||||
custom_picker_binary = hyprland-preview-share-picker
|
|
||||||
}
|
|
||||||
@@ -44,7 +44,9 @@
|
|||||||
pkgs.steam-run
|
pkgs.steam-run
|
||||||
pkgs.sops
|
pkgs.sops
|
||||||
pkgs.pavucontrol
|
pkgs.pavucontrol
|
||||||
pkgs.errands
|
|
||||||
|
# https://github.com/quirinecker/dotfiles-modules/issues/13
|
||||||
|
# pkgs.errands
|
||||||
|
|
||||||
# editors
|
# editors
|
||||||
# pkgs.zed-editor # updating softwar crashed the pc. Not in use right now anyway. disabled for now
|
# pkgs.zed-editor # updating softwar crashed the pc. Not in use right now anyway. disabled for now
|
||||||
|
|||||||
Reference in New Issue
Block a user