Compare commits

...

3 Commits

Author SHA1 Message Date
Renovate Bot
d02931c64e Lock file maintenance 2023-11-30 01:02:12 +00:00
soraefir
c0d7023d90 [m] Dunst: minor style change 2023-11-29 23:50:40 +01:00
soraefir
675d79ad1a [m] Various fixes and reverts 2023-11-29 23:12:08 +01:00
12 changed files with 57 additions and 122 deletions

36
flake.lock generated
View File

@ -39,11 +39,11 @@
}, },
"hardware": { "hardware": {
"locked": { "locked": {
"lastModified": 1700559156, "lastModified": 1701250978,
"narHash": "sha256-gL4epO/qf+wo30JjC3g+b5Bs8UrpxzkhNBBsUYxpw2g=", "narHash": "sha256-ohu3cz4edjpGxs2qUTgbs0WrnewOX4crnUJNEB6Jox4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "c3abafb01cd7045dba522af29b625bd1e170c2fb", "rev": "8772491ed75f150f02552c60694e1beff9f46013",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -59,11 +59,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700900274, "lastModified": 1701071203,
"narHash": "sha256-KWoKDP5I1viHR4bG3ENnJ7H1DD16tXWH4ROvS0IfXw8=", "narHash": "sha256-lQywA7QU/vzTdZ1apI0PfgCWNyQobXUYghVrR5zuIeM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a462e7315deaa8194b0821f726709bb7e51a850c", "rev": "db1878f013b52ba5e4034db7c1b63e8d04173a86",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -83,11 +83,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1700967537, "lastModified": 1701264997,
"narHash": "sha256-TzyP5xNGF+rCj2ko+E+VOpQTtzlQ4TfDLuObEPbRX6g=", "narHash": "sha256-0Q9gNAxk//uaXJd5llBP+1TbgP7FgCZBVdX0rYd3MvM=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "cd96ceecc551c25631783499bd92c6662c5d3616", "rev": "b80c72c7ddbf79147d64759c8659eb5939d0327e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -142,11 +142,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1700794826, "lastModified": 1701068326,
"narHash": "sha256-RyJTnTNKhO0yqRpDISk03I/4A67/dp96YRxc86YOPgU=", "narHash": "sha256-vmMceA+q6hG1yrjb+MP8T0YFDQIrW3bl45e7z24IEts=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8", "rev": "8cfef6986adfb599ba379ae53c9f5631ecd2fd9c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -173,11 +173,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1700999123, "lastModified": 1701297900,
"narHash": "sha256-cHUigiOX70G8tZ6Utdl7IkYZ879GDeUkdoI9urX2WcM=", "narHash": "sha256-P2iNMqLm8lgcfsuLQEAPmbZeYomWfckTNA2TEDLlER8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "95f618e3eaf6156578985fb5d14da500b811c52e", "rev": "64dba129a417f506338de690a3e8b8829e7d8df6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -208,11 +208,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700967639, "lastModified": 1701127353,
"narHash": "sha256-uuUwD/O1QcVk+TWPZFwl4ioUkC8iACj0jEXSyE/wGPI=", "narHash": "sha256-qVNX0wOl0b7+I35aRu78xUphOyELh+mtUp1KBx89K1Q=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "4be58d802693d7def8622ff34d36714f8db40371", "rev": "b1edbf5c0464b4cced90a3ba6f999e671f0af631",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -13,5 +13,6 @@
pipes-rs pipes-rs
cmatrix cmatrix
cava cava
sl
]; ];
} }

View File

@ -1 +1 @@
{ ... }: { imports = [ ./dunst ./eww ./kanshi ./waybar ./waylock ./wofi ]; } { ... }: { imports = [ ./dunst ./eww ./kanshi ./waylock ./wofi ]; }

View File

@ -9,7 +9,7 @@
global = { global = {
follow = "mouse"; follow = "mouse";
height = "200"; height = "200";
width = "400"; width = "350";
scale = "0"; scale = "0";
origin = "top-right"; origin = "top-right";
offset = offset =
@ -17,9 +17,9 @@
notification_limit = "0"; notification_limit = "0";
progress_bar = "true"; progress_bar = "true";
progress_bar_height = "10"; progress_bar_height = "10";
progress_bar_frame_width = "0"; progress_bar_frame_width = "1";
progress_bar_min_width = "350"; progress_bar_min_width = "150";
progress_bar_max_width = "400"; progress_bar_max_width = "350";
indicate_hidden = "yes"; indicate_hidden = "yes";
transparency = "0"; transparency = "0";
separator_height = "2"; separator_height = "2";

View File

@ -23,15 +23,6 @@ color: $base0B;
margin: $gaps-window 0; margin: $gaps-window 0;
} }
.icon-text {
padding: 5pt;
font-size: 5pt;
font-weight: 900;
}
.cpu-core-usage, .gpu-core-usage, .memory-usage { .cpu-core-usage, .gpu-core-usage, .memory-usage {
background-color: $bg0; background-color: $bg0;
border-radius: $border-radius; border-radius: $border-radius;

View File

@ -41,24 +41,30 @@ tooltip {
.icon, .icon,
.icon label { font-family: Material Design Icons; } .icon label { font-family: Material Design Icons; }
.icon-text {
padding: 4pt;
font-size: 6pt;
font-weight: 900;
}
.grey { .grey {
background-color: $base02; color: $base02;
} }
.red { .red {
background-color: $base0F; color: $base0F;
} }
.orange { .orange {
background-color: $base08; color: $base08;
} }
.green { .green {
background-color: $base0B; color: $base0B;
} }
.blue { .blue {
background-color: $base0C; color: $base0C;
} }
/* WINDOW WRAPPER CSS */ /* WINDOW WRAPPER CSS */
@ -116,17 +122,3 @@ tooltip {
.bar label { .bar label {
font-size: 1.2rem; font-size: 1.2rem;
} }
/* WORKSPACE */
.ws {
border-radius: $border-radius;
margin: $gaps-window;
}
.focused {
background-color: $bg1;
border-radius: 1rem;
margin: .3rem;
padding: .25rem;
}

View File

@ -1,17 +1,22 @@
(deflisten workspace :initial '[]' "scripts/workspaces") (deflisten workspace :initial '[]' "scripts/workspaces")
(defwidget workspace-mod [] (defwidget workspace-mod []
(module (module
(eventbox (eventbox
:onscroll "echo {} | sed -e \"s/up/-1/g\" -e \"s/down/+1/g\" | xargs hyprctl dispatch workspace" :onscroll "echo {} | sed -e \"s/up/-1/g\" -e \"s/down/+1/g\" | xargs hyprctl dispatch workspace"
(box (box
:class "module workspaces" :class "module workspaces"
:orientation "v" :orientation "v"
(for ws in workspace (for ws in workspace
(button (button
:onclick "hyprctl dispatch workspace ${ws.number}" :onclick "hyprctl dispatch workspace ${ws.number}"
:class "ws icon ${ws.color}" (label
; :tooltip {ws.tooltip} :class "icon-text ${ws.color}"
(box :text `${ws.focused ? "󰜗" : "󰝥"}`
:class `${ws.focused ? "focused" : ""}` )
:height 3))))))) )
)
)
)
)
)

View File

@ -1,7 +1,7 @@
{ lib, config, pkgs, ... }: { { lib, config, pkgs, ... }: {
config = lib.mkIf (config.homecfg.wm == "Wayland") { config = lib.mkIf (config.homecfg.wm == "Wayland") {
home.packages = with pkgs; [ eww-wayland jaq ]; home.packages = with pkgs; [ eww-wayland jaq custom.amdgpu_top ];
xdg.configFile."eww" = { xdg.configFile."eww" = {
source = lib.cleanSourceWith { source = lib.cleanSourceWith {

View File

@ -50,59 +50,5 @@
caps-lock-key-hl-color=${config.colorscheme.colors.base09}FF caps-lock-key-hl-color=${config.colorscheme.colors.base09}FF
caps-lock-bs-hl-color=${config.colorscheme.colors.base09}FF caps-lock-bs-hl-color=${config.colorscheme.colors.base09}FF
''; '';
xdg.configFile."wlogout/style.css".text = ''
window {
font-family: Material Design Icons;
font-size: 64pt;
color: #${config.colorscheme.colors.base07};
background-color: alpha(#${config.colorscheme.colors.base00},0.6);
}
button {
border-radius:${config.colorscheme.colors.border-radius}px;
border-width: ${config.colorscheme.colors.border-width}px;
border-style: solid;
border-color: #${config.colorscheme.colors.base04};
color: #${config.colorscheme.colors.base07};
padding: 20px;
background-color: alpha(#${config.colorscheme.colors.base00},0.8);
transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
button:hover {
background-color: alpha(#${config.colorscheme.colors.base02},0.8);
}
button:focus {
background-color: alpha(#${config.colorscheme.colors.base02},1.0);
border-radius:${config.colorscheme.colors.border-radius}px;
border-width: ${config.colorscheme.colors.border-width}px;
border-color: #${config.colorscheme.colors.base04};
border-style: solid;
}
'';
xdg.configFile."wlogout/layout".text = ''
{
"label" : "lock",
"action" : "swaylock",
"text" : "󰌾",
"keybind" : "l"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text" : "󰜉",
"keybind" : "r"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "󰐥",
"keybind" : "s"
}
'';
}; };
} }

View File

@ -117,8 +117,6 @@
windowrule = float, title:^(Volume Control)$ windowrule = float, title:^(Volume Control)$
windowrule = float, title:^(Picture-in-Picture)$ windowrule = float, title:^(Picture-in-Picture)$
windowrule = float, title:^(Steam)$ windowrule = float, title:^(Steam)$
windowrule = fullscreen, title:^(wlogout)$
windowrule = float, title:^(wlogout)$
windowrulev2 = workspace 2 silent, class:^(org.telegram.desktop)$ windowrulev2 = workspace 2 silent, class:^(org.telegram.desktop)$
windowrulev2 = workspace 2 silent, class:^(discord)$ windowrulev2 = workspace 2 silent, class:^(discord)$

View File

@ -1,5 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
services.fstrim.enable = true; # Improves SSD life services.fstrim.enable = true; # Improves SSD life
services.gvfs.enable = true; # User Mounted FS
environment.systemPackages = with pkgs; [ gvfs nfs-utils ]; environment.systemPackages = with pkgs; [ nfs-utils ];
} }

View File

@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }: {
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
services.blueman.enable = true; services.blueman.enable = true;
environment.systemPackages = with pkgs; [ bluez bluez-tools ];
} }