clock config and disabled waybar in configuration.nix

This commit is contained in:
Gabriella Bere 2024-08-23 10:12:33 +01:00
parent b5797aabe4
commit 16a0ba9239
2 changed files with 9 additions and 2 deletions

View file

@ -103,8 +103,12 @@
[ [
# Keybinds for starting programs # Keybinds for starting programs
"$mod, F, exec, firefox" "$mod, F, exec, firefox"
", Print, exec, grimblast copy area"
"$mod, 1, exec, alacritty" "$mod, 1, exec, alacritty"
# Screenshot tool
", Print, exec, grimblast copy area"
# Screen locking tool
"$mod, l, exec, hyprlock" "$mod, l, exec, hyprlock"
] ]
++ ( ++ (
@ -143,6 +147,9 @@
modules-right = [ "idle_inhibitor" "pulseaudio" "backlight" "battery" "tray" ]; modules-right = [ "idle_inhibitor" "pulseaudio" "backlight" "battery" "tray" ];
"clock" = { "clock" = {
"format-alt" = "{:%a, %d. %b %H:%M:%S}"; "format-alt" = "{:%a, %d. %b %H:%M:%S}";
"tooltip" = true;
"tooltip-format"= "{=%A; %d %B %Y}\n<tt>{calendar}</tt>";
"interval" = 1;
}; };
}; };
}; };

View file

@ -71,7 +71,7 @@
# Enable the Hyprland WM functionality for NixOS (xdg portals etc.) # Enable the Hyprland WM functionality for NixOS (xdg portals etc.)
programs.hyprland.enable = true; programs.hyprland.enable = true;
programs.waybar.enable = true; # programs.waybar.enable = true;
# Configure keymap in X11 # Configure keymap in X11
services.xserver.xkb.layout = "gb"; services.xserver.xkb.layout = "gb";