quite the coherence coming up

This commit is contained in:
Remy Moll 2025-03-12 15:43:38 +01:00
parent 2196a1a5e8
commit 72a01e99e3
6 changed files with 59 additions and 51 deletions

View File

@ -32,6 +32,8 @@
userSettings = { userSettings = {
# visual # visual
"window.menuBarVisibility" = "toggle";
# "editor.fontFamily" = "'FiraCode Nerd Font Mono', 'monospace', monospace"; # "editor.fontFamily" = "'FiraCode Nerd Font Mono', 'monospace', monospace";
# "terminal.integrated.fontFamily" = "FiraCode Nerd Font Mono"; # "terminal.integrated.fontFamily" = "FiraCode Nerd Font Mono";
# "workbench.iconTheme" = "vs-seti"; # "workbench.iconTheme" = "vs-seti";
@ -65,7 +67,6 @@
"terminal.integrated.enableMultiLinePasteWarning" = false; "terminal.integrated.enableMultiLinePasteWarning" = false;
"update.showReleaseNotes" = false; "update.showReleaseNotes" = false;
"terminal.external.linuxExec" = "kitty"; "terminal.external.linuxExec" = "kitty";
"window.menuBarVisibility" = "compact";
"workbench.startupEditor" = "newUntitledFile"; "workbench.startupEditor" = "newUntitledFile";
# "workbench.colorTheme" = "Default Light+"; # "workbench.colorTheme" = "Default Light+";
"github.copilot.editor.enableAutoCompletions" = true; "github.copilot.editor.enableAutoCompletions" = true;

View File

@ -21,16 +21,15 @@
{ {
# lock screen after 5 minutes # lock screen after 5 minutes
timeout = 300; timeout = 300;
on-timeout = "loginctl lock-session"; on-timeout = "loginctl lock-session && hyprctl dispatch dpms off";
} on-resume = "hyprctl dispatch dpms on";
{ }
# turnoff screen after 10 minutes {
timeout = 600; # suspend after 10 minutes
on-timeout = "hyprctl dispatch dpms off"; timeout = 600;
on-timeout = "systemctl suspend";
on-resume = "hyprctl dispatch dpms on"; on-resume = "hyprctl dispatch dpms on";
} }
# TODO - suspend after some time
]; ];
}; };

View File

@ -30,7 +30,7 @@
"$mod, e, exec, nautilus" "$mod, e, exec, nautilus"
# Lock screen # Lock screen
"$mod+Shift, l, exec, hyprlock" "$mod, l, exec, hyprlock"
# Clipboard management # Clipboard management
"$mod, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy" "$mod, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy"
@ -98,7 +98,7 @@
# hyprpaper is handled as its own service # hyprpaper is handled as its own service
"${pkgs.waybar}/bin/waybar" "${pkgs.waybar}/bin/waybar"
# listen to clipboard events and send them to cliphist # listen to clipboard events and send them to cliphist
"wl-paste --watch cliphist stores" "wl-paste --watch cliphist store"
"${pkgs.waybar}/bin/hypridle" "${pkgs.waybar}/bin/hypridle"
"hyprpaper" "hyprpaper"
# # Fixes cursor themes in gnome apps under hyprland # # Fixes cursor themes in gnome apps under hyprland

View File

@ -8,39 +8,28 @@
no_fade_in = false; no_fade_in = false;
disable_loading_bar = false; disable_loading_bar = false;
}; };
auth = {
"pam:enabled" = true;
};
background = { background = {
blur_passes = 3; blur_passes = 3;
blur_size = 10; blur_size = 10;
# image is set by stylix
}; };
input-field = { input-field = {
monitor = ""; monitor = "";
size = "300, 60"; size = "300, 60";
outline_thickness = 3; # radius = 15;
inner_color = "rgba(0, 0, 0, 0.0)";
outer_color = "rgba(33ccffee) rgba(00ff99ee) 45deg";
check_color = "rgba(00ff99ee) rgba(ff6633ee) 120deg";
fail_color = "rgba(ff6633ee) rgba(ff0066ee) 40deg";
font_color = "rgb(143, 143, 143)";
fade_on_empty = false;
rounding = 15;
position = "0, -250"; position = "0, -250";
halign = "center"; halign = "center";
valign = "center"; valign = "center";
}; };
label = [ label = [
{ {
# Day-Month-Date # Day-Month-Date
monitor = ""; monitor = "";
text = ''cmd[update:1000] echo -e "$(date +"%A, %B %d")"''; text = ''cmd[update:1000] echo -e "$(date +"%A, %B %d")"'';
# color = foreground;
font_size = 28; font_size = 28;
# font_family = font + " Bold";
position = "0, 490"; position = "0, 490";
halign = "center"; halign = "center";
valign = "center"; valign = "center";
@ -49,28 +38,13 @@
{ {
monitor = ""; monitor = "";
text = ''cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"''; text = ''cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"'';
# color = foreground;
font_size = 160; font_size = 160;
font_weight = "bold";
# font_family = "steelfish outline regular"; # font_family = "steelfish outline regular";
position = "0, 370"; position = "0, 370";
halign = "center"; halign = "center";
valign = "center"; valign = "center";
} }
# USER
{
monitor = "";
text = " $USER";
# color = foreground;
outline_thickness = 2;
dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true;
font_size = 18;
# font_family = font + " Bold";
position = "0, -180";
halign = "center";
valign = "center";
}
]; ];
}; };
}; };

View File

@ -6,12 +6,6 @@
# waybar requires font-awesome # waybar requires font-awesome
home.packages = [ home.packages = [
pkgs.pavucontrol pkgs.pavucontrol
# fira code now contains ligatures and font-awesome
# TODO - this only works after nixpkgs 25.05
# nerd-fonts.fira-code
(pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; })
pkgs.fira-code
]; ];
# enable waybar # enable waybar

View File

@ -16,18 +16,58 @@
# fonts = {}; # fonts = {};
iconTheme = { iconTheme = {
enable = true;
package = pkgs.tela-icon-theme; package = pkgs.tela-icon-theme;
}; };
image = ./../../wallpapers/magicpattern-87PP9Zd7MNo-unsplash.jpg; image = ./../../wallpapers/magicpattern-87PP9Zd7MNo-unsplash.jpg;
fonts = {
serif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Serif";
};
sansSerif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans";
};
monospace = {
package = pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; };
name = "FiraCode Nerd Font Mono";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
sizes = {
applications = 15;
desktop = 12;
popups = 12;
terminal = 15;
};
};
opacity = {
applications = 1.0;
desktop = 1.0;
popups = 0.9;
terminal = 0.8;
};
}; };
stylix.targets = { stylix.targets = {
vscode.enable = true; vscode.enable = true;
hyprpaper.enable = true; hyprpaper.enable = true;
hyprlock.enable = true;
waybar.enable = true; waybar.enable = true;
wofi.enable = true; wofi.enable = true;
kitty.enable = true; kitty.enable = true;
}; };
} }