honestly just wayyy too muchz
liek media and stuff and fixing shit and iinstalling adblock on browser by default cool shiz
This commit is contained in:
parent
a4dfaabe09
commit
bf430f5b71
20 changed files with 436 additions and 186 deletions
|
|
@ -16,24 +16,27 @@
|
|||
];
|
||||
description = ''declare monitors'';
|
||||
};
|
||||
workspaces = {
|
||||
workspaces = {
|
||||
workspaces = lib.mkOption {
|
||||
default = (
|
||||
builtins.concatLists (builtins.genList (i:
|
||||
let ws = i + 1;
|
||||
in [
|
||||
"name:${toString i},,persistent:true"
|
||||
]
|
||||
builtins.concatLists (
|
||||
builtins.genList (
|
||||
i:
|
||||
let
|
||||
ws = i + 1;
|
||||
in
|
||||
[
|
||||
"name:${toString i},,persistent:true"
|
||||
]
|
||||
) config.desktop.hyprland.workspaces.amount
|
||||
)
|
||||
config.desktop.hyprland.workspaces.amount)
|
||||
)
|
||||
;
|
||||
);
|
||||
description = ''declare workspace'';
|
||||
};
|
||||
amount = lib.mkOption {
|
||||
default = 9;
|
||||
description = ''declare workspace amount'';
|
||||
};
|
||||
};
|
||||
amount = lib.mkOption {
|
||||
default = 9;
|
||||
description = ''declare workspace amount'';
|
||||
};
|
||||
};
|
||||
numlock = lib.mkEnableOption "numlock by default";
|
||||
};
|
||||
|
|
@ -70,12 +73,17 @@
|
|||
(lib.mkIf (config.desktop.rofi.enable) "$mod, D, exec, rofi -show drun")
|
||||
(lib.mkIf (config.terminal.kitty.enable) "$mod, return, exec, kitty")
|
||||
(lib.mkIf (config.desktop.grimblast.enable) ", print, exec, GRIMBLAST_EDITOR=gradia grimblast edit area")
|
||||
(lib.mkIf (config.desktop.rofi.enable) (lib.mkIf (config.misc.bitwarden.enable) "$mod, B, exec, rbw unlocked || kitty --class kitty-floating -e rbw unlock; rofi-rbw"))
|
||||
(lib.mkIf (config.desktop.walker.enable) ( lib.mkIf (config.misc.bitwarden.enable) "$mod, B, exec, rbw unlocked || kitty --class kitty-floating -e rbw unlock; selected=$(rbw list | walker -d); wl-copy $(rbw get $selected)"))
|
||||
(lib.mkIf (config.desktop.rofi.enable) (
|
||||
lib.mkIf (config.misc.bitwarden.enable) "$mod, B, exec, rbw unlocked || kitty --class kitty-floating -e rbw unlock; rofi-rbw"
|
||||
))
|
||||
(lib.mkIf (config.desktop.walker.enable) (
|
||||
lib.mkIf (config.misc.bitwarden.enable) "$mod, B, exec, rbw unlocked || kitty --class kitty-floating -e rbw unlock; selected=$(rbw list | walker -d); wl-copy $(rbw get \"$selected\")"
|
||||
))
|
||||
"$mod, F, fullscreen, 1"
|
||||
"$shiftmod, F, fullscreen, 0"
|
||||
"$shiftmod, Q, killactive,"
|
||||
"$mod, S, togglespecialworkspace, magic"
|
||||
"$mod, O, exec, zen"
|
||||
"$shiftmod, S, movetoworkspace, special:magic"
|
||||
"$controlmod, right, workspace, m-1"
|
||||
"$controlmod, left, workspace, m+1"
|
||||
|
|
@ -95,17 +103,18 @@
|
|||
"$controlmod, down, exec, light -U 10"
|
||||
"$controlmod, Q, exec, hyprctl kill"
|
||||
]
|
||||
++ (
|
||||
builtins.concatLists (builtins.genList (i:
|
||||
let ws = i + 1;
|
||||
in [
|
||||
"$mod, code:1${toString i}, workspace, ${toString ws}"
|
||||
"$shiftmod, code:1${toString i}, movetoworkspacesilent, ${toString ws}"
|
||||
]
|
||||
)
|
||||
config.desktop.hyprland.workspaces.amount)
|
||||
)
|
||||
;
|
||||
++ (builtins.concatLists (
|
||||
builtins.genList (
|
||||
i:
|
||||
let
|
||||
ws = i + 1;
|
||||
in
|
||||
[
|
||||
"$mod, code:1${toString i}, workspace, ${toString ws}"
|
||||
"$shiftmod, code:1${toString i}, movetoworkspacesilent, ${toString ws}"
|
||||
]
|
||||
) config.desktop.hyprland.workspaces.amount
|
||||
));
|
||||
bindm = [
|
||||
"$mod, mouse:272, movewindow"
|
||||
"$mod, mouse:273, resizewindow"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue