Compare commits
1 Commits
f8407706a3
...
12-add-bet
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e305eb081 |
@@ -9,7 +9,20 @@ let
|
||||
in
|
||||
{
|
||||
options = {
|
||||
modules.hyprland.enable = lib.mkEnableOption "hyprland";
|
||||
modules.hyprland.enable = lib.mkOption {
|
||||
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 {
|
||||
@@ -22,6 +35,7 @@ in
|
||||
"hypr/hyprpaper.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hyprpaper.conf;
|
||||
"hypr/hypridle.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hypridle.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;
|
||||
|
||||
"hypr/nix.conf".text = ''
|
||||
|
||||
@@ -48,8 +48,7 @@ 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
|
||||
# https://github.com/quirinecker/dotfiles-modules/issues/13
|
||||
# exec-once = [workspace 3 silent] errands
|
||||
exec-once = [workspace 3 silent] errands
|
||||
exec-once = [workspace 2 silent] $browser
|
||||
exec-once = [workspace 1 silent] $terminal
|
||||
# exec-once = [workspace 4 silent] discord
|
||||
|
||||
3
homemanager/hyprland/xdph.conf
Normal file
3
homemanager/hyprland/xdph.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
screencopy {
|
||||
custom_picker_binary = hyprland-preview-share-picker
|
||||
}
|
||||
@@ -44,9 +44,7 @@
|
||||
pkgs.steam-run
|
||||
pkgs.sops
|
||||
pkgs.pavucontrol
|
||||
|
||||
# https://github.com/quirinecker/dotfiles-modules/issues/13
|
||||
# pkgs.errands
|
||||
pkgs.errands
|
||||
|
||||
# editors
|
||||
# pkgs.zed-editor # updating softwar crashed the pc. Not in use right now anyway. disabled for now
|
||||
|
||||
Reference in New Issue
Block a user