nxricelib

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-04-19 17:28:08 +02:00
parent 1683946235
commit bf7848df01
9 changed files with 157 additions and 111 deletions

View File

@@ -1,9 +1,9 @@
{ config, pkgs, pkgs-unstable, inputs, host, nvidia, rice, lib, ... }:
let
animation-speed = "2";
transparency = rice.transparency;
transparency = builtins.toString rice.transparency;
gap-size = 10;
rounding = 3;
rounding = rice.rounding;
border-width = 3;
monitors = {
xps = {
@@ -143,8 +143,8 @@ in
gaps_in = builtins.div gap-size 2;
gaps_out = gap-size;
border_size = border-width;
"col.active_border" = "rgba(${rice.color.red}ff) rgba(${rice.color.bright-cyan}ff) 45deg";
"col.inactive_border" = "rgba(${rice.color.black}ff)";
"col.active_border" = "rgba(${rice.lib.nohash rice.color.red}ff) rgba(${rice.lib.nohash rice.color.cyan}ff) 90deg";
"col.inactive_border" = "rgba(${rice.lib.nohash rice.color.black}ff)";
cursor_inactive_timeout = 10;
@@ -159,8 +159,8 @@ in
shadow_range = "20";
shadow_offset = "0 0";
shadow_render_power = "4";
"col.shadow" = "rgba(${rice.color.red}ff)";
"col.shadow_inactive" = "rgba(${rice.color.black}ff)";
"col.shadow" = "rgba(${rice.lib.nohash rice.color.red}ff)";
"col.shadow_inactive" = "rgba(${rice.lib.nohash rice.color.black}ff)";
active_opacity = "1.0";
inactive_opacity = "1.0";
@@ -239,7 +239,7 @@ in
windowrulev2 = [
"opacity ${transparency},class:^(com.chatterino.*)$"
"opacity ${transparency},class:^(chatterino)$"
"bordercolor rgba(${rice.color.bright-magenta}ff), pinned:1"
"bordercolor rgba(${rice.lib.nohash rice.color.bright-magenta}ff), pinned:1"
];
windowrule = [
@@ -250,8 +250,8 @@ in
"opacity ${transparency}, neovide"
"opacity ${transparency}, obsidian"
"opacity ${transparency}, zathura"
"bordercolor rgba(${rice.color.foreground}ff) rgba(${rice.color.background}b2), Alacritty"
"bordercolor rgba(${rice.color.foreground}ff) rgba(${rice.color.background}b2), Kitty"
"bordercolor rgba(${rice.lib.nohash rice.color.foreground}ff) rgba(${rice.lib.nohash rice.color.background}${rice.lib.float-to-drune rice.transparency}), Alacritty"
"bordercolor rgba(${rice.lib.nohash rice.color.foreground}ff) rgba(${rice.lib.nohash rice.color.background}${rice.lib.float-to-drune rice.transparency}), Kitty"
"opacity ${transparency}, discord"
"opacity ${transparency}, vesktop"
"opacity ${transparency}, Element"
@@ -313,8 +313,8 @@ in
# "SUPER, F10, hyprload,update"
"SUPER, F11, exec, waybar"
"SUPER SHIFT, F11, exec, pkill waybar "
"SUPER, F12, exec, hyprland-autoname-workspaces --migrate-config &"
"SUPER SHIFT, F12, exec, pkill hyprland-autoname-workspaces "
"SUPER, F12, exec, hyprland-autoname-workspaces"
"SUPER SHIFT, F12, exec, pkill -9 hyprland-autoname-workspaces "
###########################################################################
## ROW 1:
@@ -778,7 +778,7 @@ in
hyprexpo {
columns = 5
gap_size = ${builtins.toString gap-size}
bg_col = rgb(${rice.color.background})
bg_col = rgb(${rice.lib.nohash rice.color.background})
workspace_method = first 10 # [center/first] [workspace] e.g. first 1 or center m+1
enable_gesture = false # laptop touchpad, 4 fingers