Compare commits

..

No commits in common. "5e9fa217f20b77e90e360dc8115151eda255a9c8" and "9e53ab42c7346edd6ef06b640826c3a9eabaa456" have entirely different histories.

5 changed files with 57 additions and 77 deletions

View file

@ -70,71 +70,6 @@
source = ./scripts; source = ./scripts;
recursive = true; recursive = true;
}; };
".local/share/scripts/hyprland/start_services.sh" = {
executable = true;
text = # sh
''
#!/bin/sh
#
# Make sure xdg-desktop-portal-hyprland has access to what it needs
#
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
#
# Start waybar.
#
waybar &
#
# Start xwaylandvideobridge
#
xwaylandvideobridge &
#
# Start wallpaper daemon
#
~/.local/share/scripts/wallpaper.sh &
#
# Start notification daemon.
#
mako &
#
# Start polkit agent
#
${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1
#
# Start kwallet service
#
kwalletd6 &
#
# Start kdeconnect daemon
#
kdeconnectd &
#
# Clipboard manager
#
wl-paste --type text --watch cliphist store &
wl-paste --type image --watch cliphist store &
#
# Start Fcitx5
#
fcitx5 &
#
# Start the blueman applet for managing bluetooth devices
#
blueman-applet &
'';
};
}; };
# Configure XDG # Configure XDG

View file

@ -69,18 +69,18 @@
memory = { memory = {
interval = 5; interval = 5;
format = " {percentage}%"; format = " {percentage}%";
states = { states = {
warning = 70; warning = 70;
critical = 90; critical = 90;
}; };
"tooltip-format" = " {used:0.1f}G/{total:0.1f}G"; "tooltip-format" = " {used:0.1f}G/{total:0.1f}G";
}; };
cpu = { cpu = {
interval = 5; interval = 5;
tooltip = false; tooltip = false;
format = " {usage}%"; format = " {usage}%";
format-alt = " {load}"; format-alt = " {load}";
states = { states = {
warning = 70; warning = 70;

View file

@ -0,0 +1,48 @@
#!/bin/sh
#
# Make sure xdg-desktop-portal-hyprland has access to what it needs
#
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
#
# Start waybar.
#
waybar &
#
# Start xwaylandvideobridge
#
xwaylandvideobridge &
#
# Start wallpaper daemon
#
~/.local/share/scripts/wallpaper.sh &
#
# Start notification daemon.
#
mako &
#
# Refresh kdeconnect connections
#
kdeconnect-cli --refresh &
#
# Clipboard manager
#
wl-paste --type text --watch cliphist store &
wl-paste --type image --watch cliphist store &
#
# Start Fcitx5
#
fcitx5 &
#
# Start the blueman applet for managing bluetooth devices
#
blueman-applet &

View file

@ -29,10 +29,7 @@
}; };
# Enable KDEConnect # Enable KDEConnect
programs.kdeconnect = { programs.kdeconnect.enable = true;
enable = true;
package = pkgs.kdePackages.kdeconnect-kde;
};
# Enable Docker. # Enable Docker.
virtualisation.docker.enable = true; virtualisation.docker.enable = true;

View file

@ -4,9 +4,9 @@
# Enable polkit, # Enable polkit,
security.polkit.enable = true; security.polkit.enable = true;
# Install a keyring service and manager. # Install an agent to interface with it.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [ polkit_gnome ];
libsForQt5.kwallet
libsForQt5.kwalletmanager # And enable GNOME keyring for registering keys.
]; services.gnome.gnome-keyring.enable = true;
} }