12 march 2024 17:30

This commit is contained in:
2024-03-12 17:31:56 +01:00
parent b51cdf718a
commit 4fdc520c13
8 changed files with 82 additions and 100 deletions

View File

@@ -70,6 +70,10 @@
vfr = "true";
};
xwayland = {
force_zero_scaling = true;
};
bind = [
"$mod, Q, exec, kitty"
"$mod, SPACE, exec, rofi -show drun"
@@ -81,6 +85,7 @@
"$mod, F, fullscreen, 0"
"$mod, M, fullscreen, 1"
"$mod, L, exec, hyprlock"
"$mod, S, exec, systemctl suspend"
"$mod, h, movefocus, l"
"$mod, l, movefocus, r"

View File

@@ -13,7 +13,7 @@
listeners = [
{
timeout = 120; # 2.5min.
timeout = 180; # 2.5min.
onTimeout = "${pkgs.brightnessctl}/bin/brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
onResume = "${pkgs.brightnessctl}/bin/brightnessctl -r";
}

View File

@@ -17,6 +17,7 @@
];
modules-right = [
"tray"
"network"
"pulseaudio"
"battery"
];
@@ -87,6 +88,18 @@
"on-click" = "pavucontrol";
"ignored-sinks" = ["Easy Effects Sink"];
};
"network" = {
"interface" = "wlan0";
"format" = "{ifname}";
"format-wifi" = " {essid}";
"format-ethernet" = "󰊗 {ipaddr}/{cidr}";
"format-disconnected" = "";
"tooltip-format" = "{ifname} via {gwaddr}";
"tooltip-format-wifi" = "{essid} ({signalStrength}%)";
"tooltip-format-ethernet" = "{ifname}";
"tooltip-format-disconnected" = "Disconnected";
"max-length" = 50;
};
};
};
style = ''
@@ -95,7 +108,7 @@
font-family: DejaVuSansM Nerd Font;
}
#workspaces,#window,#clock,#battery,#tray,#pulseaudio {
#workspaces,#window,#clock,#battery,#tray,#pulseaudio,#network {
background-color: @theme_bg_color;
border-radius: 50px;
padding: 0px 15px;

View File

@@ -4,5 +4,10 @@
home.packages = with pkgs; [
libreoffice
onlyoffice-bin
vlc
signal-desktop
logseq
webcord
unstable.localsend
];
}