cleanup script changes and things i dont rmeember :(
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
imports = [
|
||||
./alpha.nix
|
||||
./bufferline.nix
|
||||
./comment.nix
|
||||
./copilot.nix
|
||||
./fidget.nix
|
||||
./gitsigns.nix
|
||||
|
||||
@@ -6,7 +6,14 @@
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
modKey = if osConfig.networking.hostName == "cnixpad" then "ALT_L" else "SUPER";
|
||||
modKey =
|
||||
if osConfig.networking.hostName == "cnixpad"
|
||||
then "ALT_L"
|
||||
else "SUPER";
|
||||
term =
|
||||
if osConfig.networking.hostName == "cnixpad"
|
||||
then "alacritty"
|
||||
else "wezterm";
|
||||
cfg = config.modules.wm.hyprland.cnst.keybinds;
|
||||
in {
|
||||
options = {
|
||||
@@ -14,7 +21,7 @@ in {
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
"$terminal" = "wezterm";
|
||||
"$terminal" = term;
|
||||
"$fileManager" = "thunar";
|
||||
"$passwordManager" = "keepassxc";
|
||||
"$menu" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
|
||||
@@ -22,6 +29,7 @@ in {
|
||||
"$browser" = "firefox";
|
||||
"$browserinc" = "firefox --private-window";
|
||||
"$yazi" = "wezterm -e yazi";
|
||||
"$runix" = "runix.sh";
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
"$mod" = modKey;
|
||||
@@ -44,6 +52,7 @@ in {
|
||||
#bind = $mod, M, exec, hyprctl dispatch exit
|
||||
#bind = $mod, E, exec, $fileManager
|
||||
"$mod, E, exec, $fileManager"
|
||||
"$mod, r, exec, $runix"
|
||||
"$mod SHIFT, E, exec, $yazi"
|
||||
"$mod, F, fullscreen,"
|
||||
"$mod SHIFT, F, togglefloating,"
|
||||
|
||||
@@ -16,6 +16,10 @@ in {
|
||||
"float,initialTitle:(floatcal)"
|
||||
"size 843 650,initialTitle:(floatcal)"
|
||||
"move 100%-w-20 40,initialTitle:(floatcal)"
|
||||
"float,initialTitle:(runix)"
|
||||
"size 600 400,initialTitle:(runix)"
|
||||
"center,initialTitle:(runix)"
|
||||
"workspace special:runix,initialTitle:(runix)"
|
||||
#windowrulev2 = move 1708 32,class:(floatcal)
|
||||
"float,class:(org.keepassxc.KeePassXC)"
|
||||
"size 843 500,class:(org.keepassxc.KeePassXC)"
|
||||
|
||||
Reference in New Issue
Block a user