herbstluftwm

This commit is contained in:
meml0rz
2024-11-13 23:16:42 +01:00
parent 364341f342
commit 7ff8345414
4 changed files with 41 additions and 20 deletions

View File

@ -64,6 +64,7 @@
programs = {
hyprland = {
enable = true;
xwayland.enable = true;
};
nix-ld.enable = true;
};
@ -99,6 +100,9 @@
dosfstools
ntfs3g
waybar
xdg-desktop-portal-hyprland
grim
slurp
# cli
neofetch
@ -131,8 +135,8 @@
# misc
cava
mumble
discord-screenaudio
discord
xwaylandvideobridge
# hardware & shit
libplist

View File

@ -1,22 +1,21 @@
{ config, pkgs, ... }:
{
imports =
[
./nix/user.nix
./nix/hypr.nix
./nix/kitty.nix
./nix/nvim/default.nix
];
imports = [
./nix/user.nix
./nix/hypr.nix
./nix/kitty.nix
./nix/nvim/default.nix
./nix/herbst.nix
];
home.enableNixpkgsReleaseCheck = false;
home.stateVersion = "24.05";
home.file = {
# WAYBAR
".config/waybar/style.css".source = ./raw/waybar/style.css;
".config/waybar/config".source = ./raw/waybar/config;
# WP
".wp/temple.png".source = ./raw/wp/temple.png;
".wp/skull_purple.png".source = ./raw/wp/skull_purple.png;
};
home.enableNixpkgsReleaseCheck = false;
home.stateVersion = "24.05";
home.file = {
# WAYBAR
".config/waybar/style.css".source = ./raw/waybar/style.css;
".config/waybar/config".source = ./raw/waybar/config;
# WP
".wp/temple.png".source = ./raw/wp/temple.png;
".wp/skull_purple.png".source = ./raw/wp/skull_purple.png;
};
}

15
modules/nix/herbst.nix Normal file
View File

@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
xsession.windowManager.herbstluftwm = {
enable = true;
keybinds = {
Mod4-Return = "${pkgs.alacritty}/bin/alacritty";
Mod4-space = "${pkgs.rofi}/bin/rofi -show drun";
};
settings = {
gapless_grid = false;
window_border_width = 1;
window_border_active_color = "#FF0000";
};
};
}

View File

@ -2,6 +2,8 @@
{
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
systemd.enable = true;
extraConfig = ''
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
@ -18,10 +20,11 @@
'';
settings = {
"monitor" = "HDMI-A-2, 2560x1440@144, 0x0, 1";
"monitor" = "HDMI-A-2, 2560x1440@144, 0x0, 1, bitdepth,10";
"$mod" = "SUPER";
exec-once = [
"waybar &"
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"${pkgs.swaybg}/bin/swaybg -i ~/.wp/temple.png"
];
bind = [