kekl
This commit is contained in:
@ -36,6 +36,10 @@
|
||||
};
|
||||
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
displayManager.startx.enable = true;
|
||||
};
|
||||
pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
|
@ -2,19 +2,15 @@
|
||||
{
|
||||
imports = [
|
||||
./nix/user.nix
|
||||
./nix/hypr.nix
|
||||
./nix/kitty.nix
|
||||
./nix/nvim/default.nix
|
||||
./nix/herbst.nix
|
||||
|
||||
#./nix/hypr/default.nix
|
||||
./nix/bspwm/default.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;
|
||||
};
|
||||
|
42
modules/nix/bspwm/bspwm.nix
Normal file
42
modules/nix/bspwm/bspwm.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
9
modules/nix/bspwm/default.nix
Normal file
9
modules/nix/bspwm/default.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./bspwm.nix
|
||||
];
|
||||
#home.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";
|
||||
};
|
||||
};
|
||||
}
|
12
modules/nix/hypr/default.nix
Normal file
12
modules/nix/hypr/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -6,7 +6,7 @@
|
||||
extraConfig = ''
|
||||
font_size 15.0
|
||||
cursor_shape beam
|
||||
close_window
|
||||
close_window true
|
||||
'';
|
||||
};
|
||||
tmux = {
|
Reference in New Issue
Block a user