1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

6 Commits

3 changed files with 74 additions and 51 deletions

View File

@@ -52,9 +52,69 @@ let
'';
};
};
arabic.workspaces = [
"١"
"٢"
"٣"
"٤"
"٥"
"٦"
"٧"
"٨"
"٩"
"١٠"
];
arabic.music = "الموسيقى";
arabic.obsidian = "السبج";
hindi.workspaces = [
""
""
""
""
""
""
""
""
""
""
];
hindi.music = "";
hindi.obsidian = "ि";
hebrew.workspaces = [
"א"
"ב"
"ג"
"ד"
"ה"
"ו"
"ז"
"ח"
"ט"
"י"
];
hebrew.music = "מוסיקה";
hebrew.obsidian = "אובסידיאן";
latin.workspaces = [
"" "" "" "" "" "" "" "" "" ""
];
latin.music = "MVSICA";
latin.obsidian = "NOSCENDA";
greek.workspaces = [
"Α" "Β" "Γ" "Δ" "Ε" "Ϛ" "Ζ" "Η" "Θ" "Ι"
];
greek.music = "ΜΟΥΣΙΚΗ";
greek.obsidian = "ΥΠΟΜΝΗΜΑΤΑ";
language = greek;
in
{
services.mako.enable = true;
services.mako = {
enable = true;
settings.default-timeout = 10 * 1000;
};
services.hyprsunset.enable = true;
@@ -83,49 +143,10 @@ in
];
};
workspaces = {
workspace_names =
let
arabic = [
"١"
"٢"
"٣"
"٤"
"٥"
"٦"
"٧"
"٨"
"٩"
"١٠"
];
hindi = [
""
""
""
""
""
""
""
""
""
""
];
hebrew = [
"א"
"ב"
"ג"
"ד"
"ה"
"ו"
"ז"
"ח"
"ט"
"י"
];
in
hindi;
visibility_mode = "MonitorSpecific";
enable_workspace_filling = false;
disable_special_workspaces = true;
visibility_mode = "MonitorSpecific";
workspace_names = language.workspaces;
};
keyboard_layout.labels = {
"de" = "🇩🇪";
@@ -234,12 +255,12 @@ in
"${pkgs.xdg-desktop-portal-hyprland}/libexec/.xdg-desktop-portal-hyprland-wrapped, screencopy, allow"
];
monitor = [
",preferred,auto,1" # TODO https://wiki.hypr.land/Configuring/Monitors/
",preferred, 0x0, 1" # TODO https://wiki.hypr.land/Configuring/Monitors/
"desc:Samsung Electric Company C27F390 HTQH602129, 1920x1080, 0x-1080, 1"
];
exec-once = [
(lib.getExe pkgs.ashell)
"hyprctl dispatch exec \"[workspace special:ि silent] obsidian\""
"hyprctl dispatch exec \"[workspace special:${language.obsidian} silent] obsidian\""
"${lib.getExe' pkgs.wl-clipboard "wl-paste"} -t text --watch ${lib.getExe pkgs.clipman} store"
# (lib.getExe pkgs.hyprsunset)
# (lib.getExe pkgs.hyprpaper)
@@ -332,10 +353,9 @@ in
"${mod}, Q, exec, ${lib.getExe pkgs.clipman} pick --tool=rofi"
"${mod}, u, exec, ${lib.getExe pkgs.unicodmenu}"
"${mod}, p, exec, ${lib.getExe pkgs.rofi-pass-wayland}"
"${mod} Shift, Z, togglefloating,"
"${mod} SHIFT, Z, togglefloating,"
"${mod}, D, exec, ${lib.getExe pkgs.rofi} -show run"
"${mod}, v, togglesplit," # dwindle
"${mod} SHIFT, V, pseudo," # dwindle
"${mod}, E, togglesplit," # dwindle
"${mod}, F, fullscreen"
"${mod}, h, movefocus, l"
"${mod}, l, movefocus, r"
@@ -350,10 +370,10 @@ in
"${mod} SHIFT, L, movewindow, r"
"${mod} SHIFT, K, movewindow, u"
"${mod} SHIFT, J, movewindow, d"
"${mod}, S, togglespecialworkspace, magic"
"${mod} SHIFT, S, movetoworkspace, special:magic"
"${mod}, O, togglespecialworkspace, ि"
"${mod} SHIFT, O, movetoworkspace, special:ि"
"${mod}, S, togglespecialworkspace, ${language.music}"
"${mod} SHIFT, S, movetoworkspace, special:${language.music}"
"${mod}, O, togglespecialworkspace, ${language.obsidian}"
"${mod} SHIFT, O, movetoworkspace, special:${language.obsidian}"
]
++ lib.concatMap (
i:

View File

@@ -45,6 +45,7 @@ in
environment.systemPackages = [
pkgs.vim-typewriter
pkgs.dawn-editor
vim-kmein
# language servers

View File

@@ -4,6 +4,8 @@
};
services.xserver.videoDrivers = [ "nvidia" ];
hardware.graphics.enable = true;
hardware.nvidia = {
modesetting.enable = true; # needed for PRIME
open = false; # MX150 (Pascal) needs proprietary firmware