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

View File

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

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