Fixed minor bugs

This commit is contained in:
2026-04-13 11:34:00 +02:00
parent 551d43c00e
commit f2bac477e4
2 changed files with 27 additions and 21 deletions

View File

@@ -6,12 +6,17 @@ let
theme = "-theme $HOME/.config/rofi/custom.rasi";
menu = "rofi -show drun ${theme}";
filebrowser = "rofi -show filebrowser ${theme}";
power =
"rofi -show p -modi p:rofi-power-menu -theme $HOME/.config/rofi/power.rasi";
power = "rofi -show p -modi p:rofi-power-menu -theme $HOME/.config/rofi/power.rasi";
apps = "rofi -show window ${theme}";
in {
in
{
imports = [ ./hypridle.nix ./hyprlock.nix ./mako.nix ./portal.nix ];
imports = [
./hypridle.nix
./hyprlock.nix
./mako.nix
./portal.nix
];
home.packages = with pkgs; [
catppuccin-cursors.mochaDark
@@ -23,12 +28,10 @@ in {
playerctl
];
systemd.user.targets.hyprland-session.Unit.Wants =
[ "xdg-desktop-autostart.target" ];
systemd.user.targets.hyprland-session.Unit.Wants = [ "xdg-desktop-autostart.target" ];
wayland.windowManager.hyprland = {
package =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
enable = true;
xwayland.enable = true;
@@ -39,12 +42,10 @@ in {
enableXdgAutostart = false;
};
plugins =
with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system};
[
#hyprbars
# hyprexpo
];
plugins = with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}; [
#hyprbars
# hyprexpo
];
settings = {
env = [
@@ -65,8 +66,10 @@ in {
"XCURSOR_SIZE,24"
];
monitor =
[ "DP-1, 1920x1080@60, 1920x0, 1" "HDMI-A-2, 1920x1080@60, 0x0, 1" ];
monitor = [
"DP-1, 1920x1080@60, 1920x0, 1"
"HDMI-A-2, 1920x1080@60, 0x0, 1"
];
input = {
kb_layout = "de";
@@ -162,7 +165,7 @@ in {
disable_splash_rendering = true;
mouse_move_enables_dpms = true;
key_press_enables_dpms = true;
vfr = true;
# vfr = true;
vrr = 0;
};
@@ -189,7 +192,11 @@ in {
# "noblur, class:^(org\\.gnome\\.|io\\.github\\.|org\\.gtk\\.)"
# ];
exec-once = [ "awww-daemon & disown" "waybar &" ];
exec-once = [
"awww-daemon --no-cache & disown"
"awww img ~/Pictures/Wallpapers/Ghost_in_the_Shell.png"
"waybar &"
];
# Keybindings
bind = [
@@ -261,8 +268,7 @@ in {
"${super}, mouse_up, workspace, e-1"
# Screenshot
''
${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
''${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
"${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')"
];

View File

@@ -189,7 +189,7 @@
f = "nvim $(fzf)";
tree = "eza --icons=always -T";
i = "kitty +kitten icat";
cat = "bat --color=always --style=numbers";
bat = "bat --color=always --style=numbers";
grep = "rg";
cp = "rsync -ah --progress";
nix-switch =