hyprland: cleanup
This commit is contained in:
parent
719047b5ca
commit
d912e3de8c
|
@ -1,17 +1,12 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
namespace,
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
# hyprpaper-package = inputs.hyprpaper.packages.${system}.hyprpaper;
|
||||
|
||||
cfg = config.${namespace}.desktop.addons.hyprpaper;
|
||||
|
||||
username = config.${namespace}.user.name;
|
||||
|
|
|
@ -30,7 +30,7 @@ let
|
|||
hyprctl dispatch workspace $running
|
||||
else
|
||||
# always open on w/space 4
|
||||
hyprctl dispatch workspace 4
|
||||
hyprctl dispatch workspace 9
|
||||
1password&
|
||||
fi
|
||||
'';
|
||||
|
@ -47,19 +47,31 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
polkit-kde-agent
|
||||
# Auth Agent
|
||||
hyprpolkitagent
|
||||
|
||||
# Notification daemon
|
||||
libnotify
|
||||
|
||||
# Wayland Utilities
|
||||
wl-clipboard
|
||||
wl-screenrec
|
||||
wlr-randr
|
||||
grimblast
|
||||
xfce.thunar
|
||||
dunst
|
||||
|
||||
# Screenshot Utility
|
||||
grimblast
|
||||
|
||||
# File Manager
|
||||
xfce.thunar
|
||||
|
||||
# clean sddm theme
|
||||
elegant-sddm
|
||||
|
||||
# json cli parser for bash script to focus 1password
|
||||
jq
|
||||
focus-1password
|
||||
|
||||
hyprpanel
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
|
|
@ -57,22 +57,23 @@ in
|
|||
};
|
||||
|
||||
exec-once = [
|
||||
"hyprctl dispatch moveworkspacetomonitor 4 HDMI-A-1"
|
||||
"xrandr --output DP-2 --primary"
|
||||
"[workspace 1 silent] obsidian --disabled-gpu"
|
||||
"[workspace 4 silent] git-butler"
|
||||
"[workspace 9 silent] git-butler"
|
||||
];
|
||||
|
||||
workspace = [
|
||||
"1, monitor:DP-2"
|
||||
"2, monitor:HDMI-A-1"
|
||||
"2, monitor:DP-2"
|
||||
"3, monitor:DP-2"
|
||||
"4, monitor:HDMI-A-1"
|
||||
"4, monitor:DP-2"
|
||||
"8, monitor:HDMI-A-1"
|
||||
"9, monitor:HDMI-A-1"
|
||||
];
|
||||
|
||||
windowrulev2 = [
|
||||
"workspace 2 silent, class:^(steam)$, title:^(Friends List)"
|
||||
"workspace 2 silent, class:^(discord)$, title:^(Discord)"
|
||||
"workspace 8 silent, class:^(steam)$, title:^(Friends List)"
|
||||
"workspace 8 silent, class:^(discord)$, title:^(Discord)"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -82,10 +83,6 @@ in
|
|||
};
|
||||
|
||||
system = {
|
||||
# autoUpgrade = {
|
||||
# enable = true;
|
||||
# time = "10:00";
|
||||
# };
|
||||
hardware = {
|
||||
bluetooth = enabled;
|
||||
gpu.nvidia = enabled;
|
||||
|
|
Loading…
Reference in a new issue