Fixed (hopefully) dolphin and kde connect. Updated all packages and fixed hyprland config

This commit is contained in:
Aleksandr Lebedev 2024-11-07 14:31:38 +01:00
parent ebe17adca7
commit 6396fb40c3
3 changed files with 73 additions and 70 deletions

View file

@ -78,11 +78,11 @@
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
kitty
kdePackages.qtwayland
libsForQt5.qt5.qtwayland
libsForQt5.qt5.qtsvg
#libsForQt5.qt5.qtwayland
#libsForQt5.qt5.qtsvg
kdePackages.qtsvg
kio-fuse #to mount remote filesystems via FUSE
libsForQt5.kio-extras #extra protocols support (sftp, fish and more)
#kio-fuse #to mount remote filesystems via FUSE
#libsForQt5.kio-extras #extra protocols support (sftp, fish and more)
kdePackages.kio-fuse #to mount remote filesystems via FUSE
kdePackages.kio-extras #extra protocols support (sftp, fish and more)
fastfetch
@ -114,29 +114,30 @@
libheif.out
#kde
libsForQt5.systemsettings
libsForQt5.kate
libsForQt5.gwenview
libsForQt5.breeze-icons
libsForQt5.breeze-qt5
libsForQt5.ark
libsForQt5.qtstyleplugin-kvantum
libsForQt5.okular
libsForQt5.kcalc
kdePackages.systemsettings
kdePackages.kate
kdePackages.gwenview
kdePackages.breeze-icons
kdePackages.breeze
kdePackages.ark
kdePackages.qtstyleplugin-kvantum
kdePackages.okular
kdePackages.kcalc
polkit-kde-agent
libsForQt5.kdeconnect-kde
kdePackages.kdeconnect-kde
kdePackages.kdesdk-thumbnailers
libsForQt5.kdegraphics-thumbnailers
kdePackages.kdegraphics-thumbnailers
catppuccin-kvantum
#kde support tools
libsForQt5.qt5ct
kdePackages.qt6ct
libsForQt5.kimageformats
libsForQt5.dolphin
libsForQt5.dolphin-plugins
qt6ct
kdePackages.kimageformats
kdePackages.dolphin
kdePackages.dolphin-plugins
];
programs.kdeconnect.enable = true;
programs.kdeconnect.package = pkgs.kdePackages.kdeconnect-kde;
#xdg.portal = {
# enable = true;
# config = {
@ -296,6 +297,7 @@
enable = true;
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
xwayland.enable = true;
systemd.setPath.enable = true;
};
#services.hypridle.enable = true;

View file

@ -23,14 +23,15 @@ in
};
exec-once = [
"waybar &"
"nm-applet &"
"swaync &"
"solaar -w hide &"
"hypridle &"
"dbus-update-activation-environment --systemd --all"
"${pkgs.waybar}/bin/waybar &"
"${pkgs.networkmanagerapplet}/bin/nm-applet &"
"${pkgs.swaynotificationcenter}/bin/swaync &"
"${pkgs.solaar}/bin/solaar -w hide &"
"${pkgs.hypridle}/bin/hypridle &"
"${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1 &" #https://nixos.wiki/wiki/Polkit
"clipse -listen &"
"swww-daemon &"
"${pkgs.clipse}/bin/clipse -listen &"
"${pkgs.swww}/bin/swww-daemon &"
"${pkgs.swww}/bin/swww img ${wallpaper-image} &"
];
exec = [
@ -40,11 +41,11 @@ in
"$mod" = "SUPER";
"$mainMod" = "$mod";
"$terminal" = "${pkgs.kitty}/bin/kitty";
"$fileManager" = "dolphin";
"$browser" = "firefox";
"$menu" = "wofi --show drun";
"$fileManager" = "${pkgs.kdePackages.dolphin}/bin/dolphin";
"$browser" = "${pkgs.firefox}/bin/firefox";
"$menu" = "${pkgs.wofi}/bin/wofi --show drun";
"$clipboardManager" = "$terminal --class clipse -e 'clipse'";
"$makeRegionScreenshot" = "grim -g \"$(slurp -w 0)\" - | satty --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush";
"$makeRegionScreenshot" = "${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp -w 0)\" - | ${pkgs.satty}/bin/satty --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush";
bind = [
"$mod, T, exec, $terminal"
"$mod, Q, killactive,"
@ -100,7 +101,7 @@ in
"$mainMod CTRL, J, resizeactive, 0 50"
"$mainMod, P, exec, $makeRegionScreenshot"
"$mainMod ALT, L, exec, hyprlock"
"$mainMod ALT, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
];
bindm = [
@ -166,9 +167,9 @@ in
active_opacity = 0.9;
inactive_opacity = 0.7;
drop_shadow = true;
shadow_range = 4;
shadow_render_power = 3;
#drop_shadow = true;
#shadow_range = 4;
#shadow_render_power = 3;
#"col.shadow" = "rgba(1a1a1aee)";
blur = {