1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +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/ghostty/
!modules/git/
!modules/greetd/
!modules/gtk/
!modules/helix/
!modules/hyprland/

View file

@ -27,12 +27,11 @@
"fuzzel"
"ghostty"
"git"
"greetd"
"gtk"
"helix"
"hyprland"
"kitty"
"kmscon"
# "kmscon"
"localisation"
"logind"
"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 }: ''
if (tty) == /dev/tty1 {
Hyprland
}
$env.PROMPT_INDICATOR = "";
$env.PROMPT_INDICATOR_VI_INSERT = "";
$env.PROMPT_INDICATOR_VI_NORMAL = "";
$env.PROMPT_MULTILINE_INDICATOR = "";
$env.ENV_CONVERSIONS.PATH = {
from_string: {|string|
$string | split row (char esep) | path expand --no-symlink
}
to_string: {|value|
$value | path expand --no-symlink | str join (char esep)
}
from_string: {|string|
$string | split row (char esep) | path expand --no-symlink
}
to_string: {|value|
$value | path expand --no-symlink | str join (char esep)
}
}
def --env mc [path: path] {
mkdir $path
cd $path
mkdir $path
cd $path
}
def --wrapped hx [...arguments] {
if ($env.TERM | str contains "kitty") {
kitty @ set-spacing padding=0
}
if ($env.TERM | str contains "kitty") {
kitty @ set-spacing padding=0
}
^hx $arguments
^hx $arguments
if ($env.TERM | str contains "kitty") {
kitty @ set-spacing padding=${toString theme.padding}
}
if ($env.TERM | str contains "kitty") {
kitty @ set-spacing padding=${toString theme.padding}
}
}
use ${nuScripts}/modules/background_task/task.nu