fix icons

This commit is contained in:
mjallen18
2024-08-26 16:54:22 -05:00
parent f3c53ca33b
commit c42e4f5a98
20 changed files with 206 additions and 76 deletions

View File

@@ -1,3 +1,6 @@
let
drawer = "nwg-drawer -fm nautilus -term kitty -mb 10 -mt 10 -ml 10 -mr 10 -pbuseicontheme -i Colloid-nord-dark";
in
{
wayland.windowManager.hyprland = {
enable = true;
@@ -33,7 +36,7 @@
"$mod, M, exec, wlogout --protocol layer-shell"
"$mod, E, exec, nautilus"
"$mod, V, togglefloating, "
"$mod, D, exec, nwg-drawer -fm nautilus -term kitty"
"$mod, D, exec, ${drawer}"
"$mod, P, pseudo, " # dwindle
"$mod, S, togglesplit, " # dwindle
"$mod SHIFT, Q, exec, hyprlock"
@@ -193,45 +196,27 @@
"float, title:wlogout"
"fullscreen, title:wlogout"
"idleinhibit stayfocused, mpv"
"fullscreen, title:BBar"
"fullscreen, title:Remote Desktop Connection"
"norounding, class:Remote Desktop Connection"
"noshadow, class:Remote Desktop Connection"
"immediate, class:Remote Desktop Connection"
"syncfullscreen, class:Remote Desktop Connection"
"allowsinput, class:Remote Desktop Connection"
"noanim, class:Remote Desktop Connection"
"noblur, class:Remote Desktop Connection"
"noborder, class:Remote Desktop Connection"
"nodim, class:Remote Desktop Connection"
"nomaxsize, class:Remote Desktop Connection"
"minsize 3840 2160, class:Remote Desktop Connection"
];
windowrulev2 = [
"float, class:Vmware-view,title:VMware Horizon Client"
"size 3840 2160, class:Remote Desktop Connection"
# "float, class:Remote Desktop Connection,title:BBar"
# "float, class:Remote Desktop Connection,title:Remote Desktop Connection"
"float, class:Credential Manager UI Host,title:Windows Security"
"float, title:^(Media viewer)$"
"float, class:^(it.mijorus.smile)$,title:^(Smile)$"
"float, class:^(.blueman-manager-wrapped)$,title:^(Bluetooth Devices)$"
# Picture in picture windows
# "float, class:pavucontrol,title:pavucontrol" # ?????
"float, title:^(Picture-in-Picture)$"
"pin, title:^(Picture-in-Picture)$"
# discord/vesktop
"workspace: name:discord, class:^(vesktop)$"
"float, class:^(vesktop)$,title:^(Discord Popout)$"
"pin, class:^(vesktop)$,title:^(Discord Popout)$"
"float, class:^(steam)$,title:^(Friends List)$"
# Workspace assign
# "workspace: 1, class:^(kitty)$"
# "workspace: name:discord, class:^(firefox)$"
"workspace: name:discord, class:^(vesktop)$"
# Steam
"float, class:^([Ss]team)$, title:^((?![Ss]team).*)$"
"workspace name:steam silent, class:^([Ss]team)$, title:^([Ss]team)$"
"tile, class:^([Ss]team)$, title:^([Ss]team)$"
"float, class:^(steam)$,title:^(Friends List)$"
# Code
# "pin, class:^(code)$,title:^(Save As)$"
@@ -240,6 +225,26 @@
# Game Tearing??? https://wiki.hyprland.org/Configuring/Tearing/
"immediate, class:gamescope"
# todo properly fix this shit instead of using gamescope
# vmware
"tag +horizonrdp, class:Remote Desktop Connection,title:BBar"
"tag +horizonrdp, class:Remote Desktop Connection,title:Remote Desktop Connection"
"noanim, tag:horizonrdp"
"noblur, tag:horizonrdp"
"norounding, tag:horizonrdp"
"noshadow, tag:horizonrdp"
"immediate, tag:horizonrdp"
"allowsinput, tag:horizonrdp"
"noborder, tag:horizonrdp"
"nodim, tag:horizonrdp"
"nomaxsize, tag:horizonrdp"
"float, class:Vmware-view,title:VMware Horizon Client"
"float, class:Remote Desktop Connection,title:^(Remote Desktop Connection)$"
"float, class:Remote Desktop Connection,title:^(5cd238b4x0)$"
"float, class:Credential Manager UI Host,title:Windows Security"
];
input = {
@@ -268,7 +273,7 @@
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = nwg-look -a
exec-once = nm-applet
exec-once = blueberry
exec-once = blueberry-tray
exec-once = [silent] firefox
exec-once = [silent] vesktop
exec-once = [silent] spotify

View File

@@ -56,7 +56,7 @@
"custom/updates" = {
tooltip = true;
format = { };
interval = 60;
interval = 30;
exec = "sudo waybar-updates";
return-type = "json";
};
@@ -147,17 +147,17 @@
format = "{icon}";
format-icons = {
locked = "󰪛";
unlocked = "";
unlocked = " ";
};
};
"keyboard-state#numlock" = {
numlock = true;
icon-size = 30;
icon-size = 60;
format = "{icon}";
format-icons = {
locked = "󰎣";
unlocked = "";
unlocked = " ";
};
};
};
@@ -302,16 +302,16 @@
#keyboard-state.numlock {
color: @maroon;
background-color: @surface0;
padding: 0.5rem 1rem;
padding: 0.5rem;
margin: 5px 0;
border-radius: 0;
font-size: 50px;
font-size: 10rem;
}
#keyboard-state.capslock {
color: @peach;
background-color: @surface0;
padding: 0.5rem 1rem;
padding: 0.5rem;
margin: 5px 0;
border-radius: 0;
font-size: 18px;

View File

@@ -55,7 +55,7 @@ def check():
if len(updates_dict.keys()) > 0:
data["text"] = ("󰏕")
else:
data["text"] = ("")
data["text"] = (u"\u00A0")
if len(updates_dict.keys()) <= 0:
data["tooltip"] = ("flake inputs up to date")
else:

View File

@@ -56,6 +56,28 @@ WWO_CODE = {
"395": "HeavySnowShowers",
}
WEATHER_SYMBOL_EMOJI = {
"Unknown": "",
"Cloudy": "☁️",
"Fog": "🌫",
"HeavyRain": "🌧",
"HeavyShowers": "🌧",
"HeavySnow": "❄️",
"HeavySnowShowers": "❄️",
"LightRain": "🌦",
"LightShowers": "🌦",
"LightSleet": "🌧",
"LightSleetShowers": "🌧",
"LightSnow": "🌨",
"LightSnowShowers": "🌨",
"PartlyCloudy": "⛅️",
"Sunny": "☀️",
"ThunderyHeavyRain": "🌩",
"ThunderyShowers": "",
"ThunderySnowShowers": "",
"VeryCloudy": "☁️",
}
WEATHER_SYMBOL = {
"Unknown": "",
"Cloudy": "☁️",

View File

@@ -21,6 +21,8 @@ in
dbus.enable = true;
ddccontrol.enable = true;
blueman.enable = true;
};
programs.hyprland = {

View File

@@ -15,7 +15,6 @@ in
environment.systemPackages = with pkgs; [
adwaita-icon-theme
apple-cursor
blueberry
catppuccin
catppuccin-gtk
catppuccin-qt5ct
@@ -34,6 +33,7 @@ in
meson
nautilus
networkmanagerapplet
nm-tray
nwg-drawer
nwg-look
pamixer

View File

@@ -13,8 +13,13 @@ let
accents = [ gtkThemeAccent ];
variant = gtkThemeVariant;
};
iconTheme = "Colloid-dark"; # Colloid, Colloid-light, Colloid-dark
iconThemePkg = pkgs.colloid-icon-theme;
iconThemeColor = "dark"; # "" "light" "dark"
iconThemeVariant = "default"; # "" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey"
iconThemeScheme = "nord"; # "" "nord" "dracula" "gruvbox" "everforest" "catppuccin"
iconTheme = "Colloid-${iconThemeScheme}-${iconThemeColor}";
iconThemePkg = pkgs.colloid-icon-theme.override {
schemeVariants = [ iconThemeScheme ];
};
in
{
imports = [
@@ -140,6 +145,7 @@ in
XDG_CONFIG_HOME = "\${HOME}/.config";
#XDG_BIN_HOME = "\${HOME}/.local/bin";
XDG_DATA_HOME = "\${HOME}/.local/share";
ICON_THEME = iconTheme;
};
home.pointerCursor = {
@@ -168,13 +174,11 @@ in
};
gtk3.extraConfig = {
# gtk-application-prefer-dark-theme = true;
"AdwStyleManager:color-scheme" = "ADW_COLOR_SCHEME_PREFER_DARK";
gtk-application-prefer-dark-theme = true;
};
gtk4.extraConfig = {
# gtk-application-prefer-dark-theme = true;
"AdwStyleManager:color-scheme" = "ADW_COLOR_SCHEME_PREFER_DARK";
gtk-application-prefer-dark-theme = true;
};
};

View File

@@ -18,6 +18,8 @@
jellyseerr.enable = true;
manyfold.enable = true;
mariadb = {
enable = true;
environmentFiles = [

View File

@@ -188,7 +188,6 @@ in
"jallen-nas"
"docker"
"podman"
config.services.redis.servers.nextcloud.user
]; # Enable sudo for the user.
hashedPasswordFile = passwordFile;
};

View File

@@ -17,14 +17,15 @@
group = "colord";
mode = "u=rwx,g=rx,o=";
}
{
directory = "/etc/nix";
user = "root";
group = "root";
mode = "u=rwx,g=rx,o=rx";
}
];
files = [
{
file = "/etc/nix/id_rsa";
parentDirectory = {
mode = "u=rwx,g=,o=";
};
}
"/etc/machine-id"
];
};
}

View File

@@ -116,7 +116,7 @@ in
port = 6379;
};
nextcloud = {
manyfold = {
enable = true;
port = 6380;
# user = "911";#"${config.users.users.nix-apps.name}:${config.users.groups.jallen-nas.name}";

View File

@@ -24,13 +24,17 @@
};
sops.secrets."jallen-nas/nextcloud/dbpassword" = {
restartUnits = [ "container@nextcloud.service" ];
restartUnits = [ "podman-nextcloud.service" ];
};
sops.secrets."jallen-nas/nextcloud/adminpassword" = {
restartUnits = [ "container@nextcloud.service" ];
restartUnits = [ "podman-nextcloud.service" ];
};
sops.secrets."jallen-nas/nextcloud/smtppassword" = {
restartUnits = [ "container@nextcloud.service" ];
restartUnits = [ "podman-nextcloud.service" ];
};
sops.secrets."jallen-nas/manyfold/secretkeybase" = {
restartUnits = [ "podman-manyfold.service" ];
};
sops.templates."nextcloud-smtp".content = ''