From 59482884c5f8c3282cb147d4798df44d68ec24b4 Mon Sep 17 00:00:00 2001 From: mrfluffy-dev Date: Thu, 14 Aug 2025 16:00:33 +0100 Subject: [PATCH] laptop stuff 2.0 --- configuration.nix | 2 +- dots/hyprland.nix | 35 +++++++++++++++++++---------------- home/homePkgs.nix | 18 +++++++++--------- 3 files changed, 29 insertions(+), 26 deletions(-) diff --git a/configuration.nix b/configuration.nix index c7eeefe..b6e2d38 100755 --- a/configuration.nix +++ b/configuration.nix @@ -56,7 +56,7 @@ in xdg.menus.enable = true; #shitty dolphin shit coz fuck that is why - #environment.etc."/xdg/menus/applications.menu".text = builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu"; + environment.etc."/xdg/menus/applications.menu".text = builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu"; nixpkgs.overlays = [ inputs.niri.overlays.niri ]; programs.niri = { diff --git a/dots/hyprland.nix b/dots/hyprland.nix index 8c1463d..f9b99ac 100755 --- a/dots/hyprland.nix +++ b/dots/hyprland.nix @@ -37,19 +37,18 @@ in ]; # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: - exec-once = - [ - #"waybar" - #"quickshell" - "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" - "fcitx5 -d" - "foot -s" - "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" - ] - ++ lib.optionals (config.home.username == "work") [ - "thunderbird" - "sleep 10 && emacsclient -c --frame-parameters='((name . \"work\"))' $HOME/Documents/work/README.org" - ]; + exec-once = [ + #"waybar" + #"quickshell" + "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" + "fcitx5 -d" + "foot -s" + "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" + ] + ++ lib.optionals (config.home.username == "work") [ + "thunderbird" + "sleep 10 && emacsclient -c --frame-parameters='((name . \"work\"))' $HOME/Documents/work/README.org" + ]; #++ lib.optional (systemName == "laptop") "swaybg -o eDP-1 -i ${../assets/Wallpapers/138.png}" #++ # lib.optional (systemName == "pc") @@ -213,7 +212,7 @@ in "${mod}, M, exit," "${mod}, F, exec, ${fileManager}" "${mod}, V, togglefloating," - "${mod}, T, fullscreen" + "${mod}, T, fullscreen" "${mod}, D, exec, ${runner}" "${mod}, E, exec, ${editor}" #",Print, exec, grim -g \"$(slurp)\" - | swappy -f -" @@ -275,8 +274,12 @@ in ",XF86AudioLowerVolume, exec, pamixer -d 5" ",XF86AudioMute, exec, pamixer --toggle-mute" ",XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" - ",XF86MonBrightnessUp, exec, light -A 5" - ",XF86MonBrightnessDown, exec, light -U 5" + #",XF86MonBrightnessUp, exec, light -A 5" + #",XF86MonBrightnessDown, exec, light -U 5" + + # Brightness + ",XF86MonBrightnessUp, global, caelestia:brightnessUp" + ",XF86MonBrightnessDown, global, caelestia:brightnessDown" ]; bindl = [ ", XF86AudioNext, exec, playerctl next" diff --git a/home/homePkgs.nix b/home/homePkgs.nix index 1f88362..7bc9a91 100755 --- a/home/homePkgs.nix +++ b/home/homePkgs.nix @@ -236,22 +236,22 @@ in inputs.caelestia.packages.${pkgs.system}.caelestia-shell inputs.caelestia-cli.packages.${pkgs.system}.caelestia-cli kdePackages.dolphin - kdePackages.kio - kdePackages.kio-extras - kdePackages.breeze-icons - kdePackages.dolphin-plugins + #kdePackages.kio + #kdePackages.kio-extras + #kdePackages.breeze-icons + #kdePackages.dolphin-plugins kdePackages.kdesdk-thumbnailers # new kdePackages.kdegraphics-thumbnailers # new kdePackages.kdegraphics-mobipocket # new kdePackages.kimageformats # new - kdePackages.calligra # new - kdePackages.qtimageformats # new + #kdePackages.calligra # new + #kdePackages.qtimageformats # new kdePackages.ffmpegthumbs # new - kdePackages.taglib # new + #kdePackages.taglib # new kdePackages.baloo # new kdePackages.baloo-widgets # new - kdePackages.kde-cli-tools - resvg # new + #kdePackages.kde-cli-tools + #resvg # new # #platformio platformio