mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Added desktop environments
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ currentSystemUser, ... }:
|
||||
{ currentSystemUser, currentSystemDe, ... }:
|
||||
{
|
||||
imports = [
|
||||
./nvim
|
||||
@@ -7,12 +7,13 @@
|
||||
./git.nix
|
||||
./kitty.nix
|
||||
./zoxide.nix
|
||||
|
||||
] ++ (if currentSystemDe == "hyprland" then [
|
||||
./hyprland.nix
|
||||
./wofi.nix
|
||||
./hyprlock.nix
|
||||
./waybar.nix
|
||||
];
|
||||
] else []
|
||||
);
|
||||
|
||||
home.username = "${currentSystemUser}";
|
||||
|
||||
|
||||
@@ -3,8 +3,11 @@
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
set fish_greeting # Disable greeting
|
||||
fish_config theme choose Catppuccin\ Mocha
|
||||
|
||||
function fish_greeting
|
||||
krabby random --no-title --padding-left 2
|
||||
end
|
||||
|
||||
function weather
|
||||
curl "wttr.in/Bolzano?0?Q?"
|
||||
|
||||
@@ -1,16 +1,22 @@
|
||||
{ currentSystemUser, ... }:
|
||||
{
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
bind = [
|
||||
"$mod, Return, exec, kitty"
|
||||
"$mod, F, fullscreen"
|
||||
"$mod, SPACE, exec, wofi --show run"
|
||||
"$mod SHIFT, Q, killactive"
|
||||
"$mod SHIFT, L, exec, hyprlock"
|
||||
|
||||
"$mod SHIFT, Q, killactive"
|
||||
"$mod, F, fullscreen"
|
||||
"$mod, H, movefocus, l"
|
||||
"$mod, L, movefocus, r"
|
||||
"$mod, K, movefocus, u"
|
||||
@@ -19,6 +25,18 @@
|
||||
"$mod SHIFT, L, movewindow, r"
|
||||
"$mod SHIFT, K, movewindow, u"
|
||||
"$mod SHIFT, J, movewindow, d"
|
||||
"$mod SHIFT, right, resizeactive, 30 0"
|
||||
"$mod SHIFT, left, resizeactive, -30 0"
|
||||
"$mod SHIFT, up, resizeactive, 0 -30"
|
||||
"$mod SHIFT, down, resizeactive, 0 30"
|
||||
"$mod SHIFT, U, togglefloating"
|
||||
|
||||
",XF86MonBrightnessDown, exec, brightnessctl set 2%-"
|
||||
",XF86MonBrightnessUp, exec, brightnessctl set +2%"
|
||||
",XF86AudioLowerVolume, exec, pamixer -d 2"
|
||||
",XF86AudioRaiseVolume, exec, pamixer -i 2"
|
||||
|
||||
"$mod, delete, exit"
|
||||
] ++ (
|
||||
builtins.concatLists (builtins.genList (i:
|
||||
let ws = i + 1;
|
||||
@@ -42,12 +60,16 @@
|
||||
};
|
||||
|
||||
sensitivity = "0";
|
||||
accel_profile = "flat";
|
||||
};
|
||||
|
||||
exec-once = [
|
||||
"waybar"
|
||||
"hyprpaper"
|
||||
];
|
||||
|
||||
exec = [
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user