This commit is contained in:
2025-02-16 19:40:39 +01:00
parent 2e5dcfe151
commit fa0407fbd6
31 changed files with 919 additions and 3047 deletions

View File

@@ -0,0 +1,44 @@
{
config,
lib,
pkgs,
inputs,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.home.programs.ags;
in {
imports = [inputs.ags.homeManagerModules.default];
options = {
home.programs.ags.enable = mkEnableOption "Enables ags";
};
config = mkIf cfg.enable {
programs.ags = {
enable = true;
# symlink to ~/.config/ags
configDir = ../ags;
# additional packages to add to gjs's runtime
extraPackages = with pkgs; [
inputs.ags.packages.${pkgs.system}.battery
fzf
io
astal3
astal4
apps
auth
battery
bluetooth
greet
hyprland
mpris
network
notifd
powerprofiles
tray
wireplumber
];
};
};
}

View File

@@ -46,19 +46,13 @@ in {
scale = 0.95;
};
};
animations = {
enabled = true;
bezier = [
"myBezier,0.19, 1, 0.22, 1"
];
animation = [
"windows, 1, 3, myBezier"
"windowsOut, 1, 3, default, popin 80%"
"border, 1, 2, default"
"workspaces, 1, 2, default, slide"
"specialWorkspace, 1, 2, default, fade"
];
};
animations.enabled = true;
animation = [
"border, 1, 2, default"
"fade, 1, 4, default"
"windows, 1, 3, default, popin 80%"
"workspaces, 1, 2, default, slide"
];
dwindle = {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = true; # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below

View File

@@ -18,7 +18,7 @@ in {
map (
m: "${m.name},${
if m.enabled
then "${toString m.width}x${toString m.height}@${toString m.refreshRate},${m.position},1${
then "${toString m.width}x${toString m.height}@${toString m.refreshRate},${m.position},${toString m.scale},transform,${toString m.transform}${
if m.bitDepth != null
then ",bitdepth,${toString m.bitDepth}"
else ""

View File

@@ -82,8 +82,6 @@ in {
",Insert, exec, ${runOnce "grimblast"} --notify --freeze copysave area"
"SHIFT, Insert, exec, ${runOnce "grimblast"} --notify --freeze copysave output"
"ALT, Insert, exec, ${runOnce "grimblast"} --freeze save area - | ${runOnce "tesseract"} - - | wl-copy && ${runOnce "notify-send"} -t 3000 'OCR result copied to buffer'"
"$mod, S, togglespecialworkspace, magic"
"$mod SHIFT, S, movetoworkspace, special:magic"
];
bindm = [

View File

@@ -59,8 +59,21 @@ in {
"float, class:^(org.gnome.Calculator)$"
"float, class:^(com.github.hluk.copyq)$"
"float, class:^(blueman-manager)$"
# === WORKSPACE RULES ===
"workspace 5 silent, class:^(discord)$"
];
windowrule = [];
workspace = [
"name:2,monitor:DP-3"
"name:3,monitor:DP-3"
"name:4,monitor:DP-3"
"name:6,monitor:DP-3"
"name:7,monitor:DP-3"
"name:8,monitor:DP-3"
"name:9,monitor:DP-3"
"name:10,monitor:DP-3"
];
layerrule = [
"animation fade,hyprpicker"
"animation fade,selection"

View File

@@ -21,7 +21,7 @@ in {
};
# a monitor of resources
btop = {
enable = false;
enable = true;
package = pkgs.btop.override {rocmSupport = true;};
settings = {
color_theme = "gruvbox_material_dark";

View File

@@ -77,7 +77,7 @@ in {
zig.enable = false;
ocaml.enable = false;
nu.enable = false;
python.enable = true;
python.enable = false; # pyright wont build
dart.enable = false;
lua.enable = true;
bash.enable = true;

View File

@@ -23,6 +23,7 @@ in {
settings = [
{
height = 25;
output = ["DP-3"];
modules-left = [
"group/system"

View File

@@ -19,6 +19,7 @@ in {
};
settings = {
global = {
follow = "mouse";
browser = "${config.home.sessionVariables.BROWSER}";
padding = 16;
horizontal_padding = 16;
@@ -28,12 +29,12 @@ in {
};
urgency_low = {
msg_urgency = "low";
background = "#665c54";
background = "#282828";
foreground = "#d5c4a1";
};
urgency_normal = {
msg_urgency = "normal";
background = "#3c3836";
background = "#282828";
foreground = "#d5c4a1";
# foreground = "#fbf1c7";
};