attempt to improve system startup times

This commit is contained in:
2025-05-05 16:21:01 +03:00
parent 4d7a397e3d
commit 259d0431f9
10 changed files with 68 additions and 45 deletions

1
config/gtk-3.0/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
bookmarks

View File

@@ -1 +1,3 @@
file:///home/ocbwoy3/Downloads
file:///home/ocbwoy3/Downloads Downloads
file:///nix/store/hkf7b2999kblnvjxg80d035f47l2x3h4-nixos-icons-0-unstable-2024-04-10/share/icons/hicolor NixOS Icons
file:///nix/store/0442d46vi84z4gxr2c909bysr00whk1z-adwaita-icon-theme-47.0/share/icons Adwaita Icons

View File

@@ -88,6 +88,7 @@ layerrule = dimaround, wofi
layerrule = order -999, wl_shimeji
layerrule = order -10, wofi
layerrule = order -20, waybar
layerrule = order -25, gtk-layer-shell
# Window Rules
@@ -103,7 +104,7 @@ windowrulev2 = float,class:^(nm-connection-editor)$
windowrulev2 = size 900 500,class:^(nm-connection-editor)$
windowrulev2 = center,class:^(nm-connection-editor)$
windowrule = fullscreenstate 1 1, class:steam_proton,title:^(Roblox Studio)$
windowrule = maximize, class:steam_proton,title:^(Roblox Studio)$
# windowrulev2 = immediate, class:^(sober)$
# windowrulev2 = fullscreen,title:^(Sober)$

View File

@@ -143,7 +143,7 @@ input-field {
font_color = rgba(200, 200, 200, 1)
fade_on_empty = false
font_family = Symbols Nerd Font, Geist Mono
placeholder_text = <span foreground="##cdd6f4"> $USER</span>
placeholder_text = <span foreground="##cdd6f4"></span>
hide_input = false
fail_text = <span foreground="##00ff00"> Hint: Favourite Regretevator character </span>
position = 0, -470

4
config/hypr/xdph.conf Normal file
View File

@@ -0,0 +1,4 @@
screencopy {
max_fps = 60
allow_token_by_default = true
}

View File

@@ -13,7 +13,7 @@
"hyprland/window"
],
"modules-right": [
"custom/regretevator_state",
// "custom/regretevator_state",
"custom/music",
"group/traygroup",
"clock"

View File

@@ -0,0 +1,3 @@
[preferred]
default = hyprland;gtk
# org.freedesktop.impl.portal.FileChooser = gnome

54
flake.lock generated
View File

@@ -20,11 +20,11 @@
]
},
"locked": {
"lastModified": 1743265529,
"narHash": "sha256-QbjP15/2N+VJl0b5jxrrTc+VOt39aU4XrDvtP0Lz5ik=",
"lastModified": 1744289235,
"narHash": "sha256-ZFkHLdimtFzQACsVVyZkZlfYdj4iNy3PkzXfrwmlse8=",
"owner": "hyprwm",
"repo": "aquamarine",
"rev": "1d2dbd72c2bbaceab031c592d4810f744741d203",
"rev": "c8282f4982b56dfa5e9b9f659809da93f8d37e7a",
"type": "github"
},
"original": {
@@ -38,11 +38,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1743801669,
"narHash": "sha256-RxQQQCGqywOPbdNrWGbFyFdcrdrXM4YBHW7vYt13OeI=",
"lastModified": 1745006048,
"narHash": "sha256-4ONXaEwnyZGPp84d6wjiqoR4xyTWygUobBTcSkILPzU=",
"owner": "catppuccin",
"repo": "nix",
"rev": "07beb389d69a52c4dd5895da9553463c3740a26a",
"rev": "592094a02c4e43a9fa33559ade84d1ca015e8ada",
"type": "github"
},
"original": {
@@ -111,11 +111,11 @@
"zon2nix": "zon2nix"
},
"locked": {
"lastModified": 1744158770,
"narHash": "sha256-2APOaRQd3ppQRgDPJAKluSu83XA78/b+0qghQp95kXU=",
"lastModified": 1745271588,
"narHash": "sha256-SFLX31xOna07vZKEu2VtJ/5PmtYi1VOzHEjP4Xvn7eE=",
"owner": "ghostty-org",
"repo": "ghostty",
"rev": "046e92865b4f2863815b7f7af52aab75d4bac63a",
"rev": "7ef9c24e3f200342b13be777718f1cf278dca1eb",
"type": "github"
},
"original": {
@@ -211,11 +211,11 @@
]
},
"locked": {
"lastModified": 1739049071,
"narHash": "sha256-3+7TpXMrbsUXSwgr5VAKAnmkzMb6JO+Rvc9XRb5NMg4=",
"lastModified": 1745015490,
"narHash": "sha256-apEJ9zoSzmslhJ2vOKFcXTMZLUFYzh1ghfB6Rbw3Low=",
"owner": "hyprwm",
"repo": "hyprgraphics",
"rev": "175c6b29b6ff82100539e7c4363a35a02c74dd73",
"rev": "60754910946b4e2dc1377b967b7156cb989c5873",
"type": "github"
},
"original": {
@@ -240,11 +240,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1744159701,
"narHash": "sha256-+wybP7rXancsseohfqPjB9xUqssvXhPqB4WIXC4mRN8=",
"lastModified": 1745328209,
"narHash": "sha256-eP3x+JNE1T6RjXhimaEnoc4GvNJcyzppW1vpAs287Zg=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "4f991610d03609e4cfe06b4a1be694ce439b779b",
"rev": "241a4935a244f403fa7108259075b04c81ed258f",
"type": "github"
},
"original": {
@@ -388,11 +388,11 @@
]
},
"locked": {
"lastModified": 1741191527,
"narHash": "sha256-kM+11Nch47Xwfgtw2EpRitJuORy4miwoMuRi5tyMBDY=",
"lastModified": 1744468525,
"narHash": "sha256-9HySx+EtsbbKlZDlY+naqqOV679VdxP6x6fP3wxDXJk=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "72df3861f1197e41b078faa3e38eedd60e00018d",
"rev": "f1000c54d266e6e4e9d646df0774fac5b8a652df",
"type": "github"
},
"original": {
@@ -588,11 +588,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1743583204,
"narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=",
"lastModified": 1744463964,
"narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434",
"rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
"type": "github"
},
"original": {
@@ -636,11 +636,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1743827369,
"narHash": "sha256-rpqepOZ8Eo1zg+KJeWoq1HAOgoMCDloqv5r2EAa9TSA=",
"lastModified": 1744932701,
"narHash": "sha256-fusHbZCyv126cyArUwwKrLdCkgVAIaa/fQJYFlCEqiU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "42a1c966be226125b48c384171c44c651c236c22",
"rev": "b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef",
"type": "github"
},
"original": {
@@ -790,11 +790,11 @@
]
},
"locked": {
"lastModified": 1741934139,
"narHash": "sha256-ZhTcTH9FoeAtbPfWGrhkH7RjLJZ7GeF18nygLAMR+WE=",
"lastModified": 1744644585,
"narHash": "sha256-p0D/e4J6Sv6GSb+9u8OQcVHSE2gPNYB5ygIfGDyEiXQ=",
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"rev": "150b0b6f52bb422a1b232a53698606fe0320dde0",
"rev": "be6771e754345f18244fb00aae5c9e5ab21ccc26",
"type": "github"
},
"original": {

View File

@@ -1,4 +1,4 @@
{ config, inputs, pkgs, ... }:
{ config, inputs, pkgs, lib, ... }:
{
@@ -172,6 +172,13 @@
main-user.userName = "ocbwoy3";
main-user.realName = "OCbwoy3";
services.fstrim.enable = true;
systemd.services.fstrim.enable = false;
systemd.services."NetworkManager-wait-online".enable = false;
systemd.services.docker.wantedBy = lib.mkForce [ ];
programs.dconf.enable = true;
services.gvfs.enable = true;
@@ -218,6 +225,11 @@
recursive = true;
};
home.file.".config/xdg-desktop-portal" = {
source = config.lib.file.mkOutOfStoreSymlink "/home/ocbwoy3/config/config/xdg-desktop-portal";
recursive = true;
};
home.file.".local/share/themes" = {
source = config.lib.file.mkOutOfStoreSymlink "/home/ocbwoy3/config/config/themes";
recursive = true;

View File

@@ -1,19 +1,19 @@
# run roblox in fullscreen with mouse sensitivity of the os default and not some value set by roblox
#!/usr/bin/env sh
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
HYPRGAMEMODE=$(pidof waybar | awk 'NR>=1{print 1}') # $(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
if [ "$HYPRGAMEMODE" = 1 ] ; then
hyprctl --batch "\
keyword animations:enabled 0;\
keyword decoration:drop_shadow 0;\
keyword decoration:blur:enabled 0;\
keyword general:gaps_in 0;\
keyword general:gaps_out 0;\
keyword general:border_size 0;\
keyword decoration:rounding 0;\
keyword decoration:active_opacity 1;\
keyword decoration:inactive_opacity 1;\
keyword decoration:fullscreen_opacity 1;"
# hyprctl --batch "\
# keyword animations:enabled 0;\
# keyword decoration:drop_shadow 0;\
# keyword decoration:blur:enabled 0;\
# keyword general:gaps_in 0;\
# keyword general:gaps_out 0;\
# keyword general:border_size 0;\
# keyword decoration:rounding 0;\
# keyword decoration:active_opacity 1;\
# keyword decoration:inactive_opacity 1;\
# keyword decoration:fullscreen_opacity 1;"
notify-send -t 5000 -u critical "OCbwoy3's Dotfiles" "Enabled game mode"
pkill -9 waybar
exit