better applet handling

This commit is contained in:
2025-03-08 14:21:59 +01:00
parent 9d55b1de59
commit f6f3a19d18
5 changed files with 19 additions and 87 deletions

View File

@@ -1,4 +1,4 @@
{inputs, pkgs, ...}:
{inputs, pkgs, ...}:
{
home.packages = [
@@ -28,8 +28,8 @@
"$mod, s, exec, $ide"
"$mod, e, exec, nautilus"
# Overview
# "$mod, , overview:toggle"
"$mod, , overview:toggle"
# Lock screen
"$mod+Shift, l, exec, hyprlock"
@@ -172,12 +172,12 @@
};
# TODO - plugins are broken for now
# plugins = [
# # Global overview
# inputs.Hyprspace.packages.${pkgs.system}.Hyprspace
# # Touch gestures: https://github.com/horriblename/hyprgrass
# inputs.hyprgrass.packages.${pkgs.system}.default
# ];
plugins = [
# Global overview
pkgs.hyprlandPlugins.hyprspace
# Touch gestures
pkgs.hyprlandPlugins.hyprgrass
];
# plugin = {
# touch_gestures = {

View File

@@ -1,4 +1,4 @@
{inputs, pkgs, ...}:
{inputs, pkgs, ...}:
{
# required to autoload fonts from packages installed via Home Manager
fonts.fontconfig.enable = true;
@@ -67,7 +67,7 @@
};
"clock" = {
format = "{:%H:%M}";
interval = 1;
interval = 1;
tooltip-format = "<tt>{calendar}</tt>";
calendar = {
"format" = {
@@ -95,7 +95,7 @@
tooltip-format-enumerate-connected = "{device_alias}\n{device_address}";
tooltip-format-enumerate-connected-battery = "{device_alias}\n{device_address}\n{device_battery_percentage}%";
on-click-right = "blueman-manager";
};
};
"battery" = {
interval = 60;
states = {
@@ -109,7 +109,7 @@
format-icons = [ "󰁻" "󰁼" "󰁾" "󰂀" "󰂂" "󰁹" ];
};
"backlight" = {
"format" = "{percent}% {icon}",;
"format" = "{percent}% {icon}";
"format-icons" = ["" "" "" "" "" "" "" "" ""];
};
"wireplumber" = {
@@ -132,7 +132,7 @@
""
];
};
on-click = "sleep 0.1 && pavucontrol";
on-click = "XDG_CURRENT_DESKTOP=GNOME gnome-control-center sound";
};
"tray" = {
spacing = 5;
@@ -166,6 +166,7 @@
tooltip-format-wifi = "SSID: {essid}({signalStrength}%), {frequency} MHz\nInterface: {ifname}\nIP: {ipaddr}\nGW: {gwaddr}\n\n<span color='#a6da95'>{bandwidthUpBits}</span>\t<span color='#ee99a0'>{bandwidthDownBits}</span>\t<span color='#c6a0f6'>󰹹{bandwidthTotalBits}</span>";
tooltip-format-ethernet = "{ifname} ";
tooltip-format-disconnected = "Disconnected";
on-click = "XDG_CURRENT_DESKTOP=GNOME gnome-control-center wifi";
};
};
};

View File

@@ -1,4 +1,4 @@
{pkgs, ...}:
{pkgs, ...}:
{
programs.kitty = {
enable = true;
@@ -6,6 +6,7 @@
settings = {
background_opacity = 0.8;
confirm_os_window_close = 0;
enable_audio_bell = false;
cursor_trail = 3;
cursor_trail_decay = "0.1 0.4";
url_style = "curly";