Compare commits

..

1 commit

Author SHA1 Message Date
88406b27ef
refactor: hjemify foot & keepassxc
Some checks failed
/ test (push) Failing after 2s
2025-02-21 09:31:26 +01:00
5 changed files with 62 additions and 79 deletions

View file

@ -35,7 +35,7 @@ mkIf osConfig.programs.hyprland.enable {
general = { general = {
gaps_in = 3; gaps_in = 3;
gaps_out = 3; gaps_out = 10;
border_size = 2; border_size = 2;
@ -56,9 +56,6 @@ mkIf osConfig.programs.hyprland.enable {
numlock_by_default = true; numlock_by_default = true;
kb_options = "compose:caps"; kb_options = "compose:caps";
kb_layout = osConfig.console.keyMap; kb_layout = osConfig.console.keyMap;
touchpad = {
natural_scroll = true;
};
}; };
decoration = { decoration = {
@ -134,9 +131,6 @@ mkIf osConfig.programs.hyprland.enable {
preserve_split = true; preserve_split = true;
}; };
gestures = {
workspace_swipe = true;
};
# https://wiki.hyprland.org/Configuring/Variables/#misc # https://wiki.hyprland.org/Configuring/Variables/#misc
misc = { misc = {
force_default_wallpaper = 0; force_default_wallpaper = 0;
@ -147,7 +141,8 @@ mkIf osConfig.programs.hyprland.enable {
bindm = [ "$mod,mouse:272,movewindow" ]; bindm = [ "$mod,mouse:272,movewindow" ];
bind = [ bind =
[
"$mod, D, exec, ${pkgs.fuzzel}/bin/fuzzel" "$mod, D, exec, ${pkgs.fuzzel}/bin/fuzzel"
"$mod, E, exec, ${lib.my.getExe osConfig.modules.system.roles.desktop.filemanager}" "$mod, E, exec, ${lib.my.getExe osConfig.modules.system.roles.desktop.filemanager}"
"$mod, Return, exec, ${lib.my.getExe osConfig.modules.system.roles.desktop.terminal}" "$mod, Return, exec, ${lib.my.getExe osConfig.modules.system.roles.desktop.terminal}"
@ -183,31 +178,27 @@ mkIf osConfig.programs.hyprland.enable {
",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl next" ",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl next"
",XF86AudioPrev, exec, ${pkgs.playerctl}/bin/playerctl previous" ",XF86AudioPrev, exec, ${pkgs.playerctl}/bin/playerctl previous"
#: }}} #: }}}
]
# Workspaces ++ (
"$mod, code:10, workspace, 1" # workspaces
"$mod, code:11, workspace, 2" # binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
"$mod, code:12, workspace, 3" builtins.concatLists (
"$mod, code:13, workspace, 4" builtins.genList (
"$mod, code:14, workspace, 5" x:
"$mod, code:15, workspace, 6" let
"$mod, code:16, workspace, 7" ws =
"$mod, code:17, workspace, 8" let
"$mod, code:18, workspace, 9" c = (x + 1) / 10;
"$mod, code:19, workspace, 10" in
builtins.toString (x + 1 - (c * 10));
# Send to Workspaces in
"$mod SHIFT, code:10, movetoworkspace, 1" [
"$mod SHIFT, code:11, movetoworkspace, 2" "$mod, ${ws}, workspace, ${toString (x + 1)}"
"$mod SHIFT, code:12, movetoworkspace, 3" "$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
"$mod SHIFT, code:13, movetoworkspace, 4" ]
"$mod SHIFT, code:14, movetoworkspace, 5" ) 10
"$mod SHIFT, code:15, movetoworkspace, 6" )
"$mod SHIFT, code:16, movetoworkspace, 7" );
"$mod SHIFT, code:17, movetoworkspace, 8"
"$mod SHIFT, code:18, movetoworkspace, 9"
"$mod SHIFT, code:19, movetoworkspace, 10"
];
}; };
}; };
} }

View file

@ -26,14 +26,6 @@ in
group = "wheel"; group = "wheel";
}; };
virtualisation.docker = {
enable = true;
rootless = {
enable = true;
setSocketVariable = true;
};
};
services.logind = { services.logind = {
powerKey = "hibernate"; powerKey = "hibernate";
}; };
@ -45,10 +37,8 @@ in
modules = { modules = {
system = { system = {
roles = { roles.desktop.enable = true;
desktop.enable = true; roles.gaming.enable = true;
gaming.enable = true;
};
outputs = { outputs = {
"DP-2" = { "DP-2" = {

View file

@ -20,6 +20,7 @@
system = { system = {
roles = { roles = {
desktop.enable = true; desktop.enable = true;
gaming.enable = true;
}; };
outputs = { outputs = {

View file

@ -3,7 +3,7 @@
defaultApplications = defaultApplications =
let let
fileManager = "org.gnome.Nautilus.desktop"; fileManager = "org.gnome.Nautilus.desktop";
browser = "firefox-esr.desktop"; browser = "firefox-beta.desktop";
in in
{ {
"inode/directory" = fileManager; "inode/directory" = fileManager;

View file

@ -30,6 +30,7 @@ in
programs.gamemode.enable = true; programs.gamemode.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
lutris
mangohud mangohud
heroic heroic
]; ];