This commit is contained in:
meml0rz
2024-11-14 00:06:11 +01:00
parent 7ff8345414
commit 21f472a7cc
8 changed files with 71 additions and 23 deletions

View File

@ -36,6 +36,10 @@
}; };
services = { services = {
xserver = {
enable = true;
displayManager.startx.enable = true;
};
pipewire = { pipewire = {
enable = true; enable = true;
pulse.enable = true; pulse.enable = true;

View File

@ -2,19 +2,15 @@
{ {
imports = [ imports = [
./nix/user.nix ./nix/user.nix
./nix/hypr.nix
./nix/kitty.nix
./nix/nvim/default.nix ./nix/nvim/default.nix
./nix/herbst.nix
#./nix/hypr/default.nix
./nix/bspwm/default.nix
]; ];
home.enableNixpkgsReleaseCheck = false; home.enableNixpkgsReleaseCheck = false;
home.stateVersion = "24.05"; home.stateVersion = "24.05";
home.file = { 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/temple.png".source = ./raw/wp/temple.png;
".wp/skull_purple.png".source = ./raw/wp/skull_purple.png; ".wp/skull_purple.png".source = ./raw/wp/skull_purple.png;
}; };

View File

@ -0,0 +1,42 @@
{ config, pkgs, ... }:
{
services = {
sxhkd = {
enable = true;
keybindings = {
"super + return" = "${pkgs.alacritty}/bin/alacritty";
"super + space" = "${pkgs.rofi}/bin/rofi -show drun";
"super + shift + r" = "bspc restart";
"super + shift + space" = "bspc node focused -t \~floating";
"super + {1,2,3,4,5,6,7,8,9,0}" = "bspc desktop -f {1,2,3,4,5,6,7,8,9,0}";
"super + shift + {1-9,0}" = "bspc node -d '^{1-9,10}'";
};
};
};
xsession.windowManager.bspwm = {
enable = true;
settings = {
border_width = 2;
gapless_monocle = false;
split_ratio = 0.52;
};
extraConfig = ''
feh --bg-fill ~/.wp/temple.png &
bspc config focus_follows_pointer false
'';
rules = {
"gimp" = {
desktop = "^8";
state = "floating";
follow = true;
};
"kupfer.py" = {
focus = true;
};
"screenkey" = {
manage = false;
};
};
};
}

View File

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
imports = [
./bspwm.nix
];
#home.file = {
#};
}

View File

@ -1,15 +0,0 @@
{ 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

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
imports = [
./hypr.nix
./kitty.nix
];
home.file = {
# WAYBAR
".config/waybar/style.css".source = ./raw/waybar/style.css;
".config/waybar/config".source = ./raw/waybar/config;
};
}

View File

@ -6,7 +6,7 @@
extraConfig = '' extraConfig = ''
font_size 15.0 font_size 15.0
cursor_shape beam cursor_shape beam
close_window close_window true
''; '';
}; };
tmux = { tmux = {