1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-31 12:07:48 +00:00

Delete greetd and disable kmscon temporarily

This commit is contained in:
RGBCube 2023-12-14 00:00:17 +03:00
parent 80d9776f7b
commit 232072aa5f
No known key found for this signature in database
4 changed files with 20 additions and 35 deletions

1
.gitignore vendored
View file

@ -17,7 +17,6 @@
!modules/fuzzel/ !modules/fuzzel/
!modules/ghostty/ !modules/ghostty/
!modules/git/ !modules/git/
!modules/greetd/
!modules/gtk/ !modules/gtk/
!modules/helix/ !modules/helix/
!modules/hyprland/ !modules/hyprland/

View file

@ -27,12 +27,11 @@
"fuzzel" "fuzzel"
"ghostty" "ghostty"
"git" "git"
"greetd"
"gtk" "gtk"
"helix" "helix"
"hyprland" "hyprland"
"kitty" "kitty"
"kmscon" # "kmscon"
"localisation" "localisation"
"logind" "logind"
"networkmanager" "networkmanager"

View file

@ -1,17 +0,0 @@
{ ulib, pkgs, ... }: with ulib;
systemConfiguration {
services.greetd = enabled {
settings.default_session = {
command = "${pkgs.cage}/bin/cage -sd ${pkgs.greetd.gtkgreet}/bin/gtkgreet";
user = "nixos";
};
};
environment.etc."greetd/environments".text = ''
Hyprland
bash
nu
sh
'';
}

View file

@ -1,33 +1,37 @@
{ nuScripts, theme }: '' { nuScripts, theme }: ''
if (tty) == /dev/tty1 {
Hyprland
}
$env.PROMPT_INDICATOR = ""; $env.PROMPT_INDICATOR = "";
$env.PROMPT_INDICATOR_VI_INSERT = ""; $env.PROMPT_INDICATOR_VI_INSERT = "";
$env.PROMPT_INDICATOR_VI_NORMAL = ""; $env.PROMPT_INDICATOR_VI_NORMAL = "";
$env.PROMPT_MULTILINE_INDICATOR = ""; $env.PROMPT_MULTILINE_INDICATOR = "";
$env.ENV_CONVERSIONS.PATH = { $env.ENV_CONVERSIONS.PATH = {
from_string: {|string| from_string: {|string|
$string | split row (char esep) | path expand --no-symlink $string | split row (char esep) | path expand --no-symlink
} }
to_string: {|value| to_string: {|value|
$value | path expand --no-symlink | str join (char esep) $value | path expand --no-symlink | str join (char esep)
} }
} }
def --env mc [path: path] { def --env mc [path: path] {
mkdir $path mkdir $path
cd $path cd $path
} }
def --wrapped hx [...arguments] { def --wrapped hx [...arguments] {
if ($env.TERM | str contains "kitty") { if ($env.TERM | str contains "kitty") {
kitty @ set-spacing padding=0 kitty @ set-spacing padding=0
} }
^hx $arguments ^hx $arguments
if ($env.TERM | str contains "kitty") { if ($env.TERM | str contains "kitty") {
kitty @ set-spacing padding=${toString theme.padding} kitty @ set-spacing padding=${toString theme.padding}
} }
} }
use ${nuScripts}/modules/background_task/task.nu use ${nuScripts}/modules/background_task/task.nu