diff --git a/modules/applications.nix b/modules/applications.nix index b850471..393b53f 100644 --- a/modules/applications.nix +++ b/modules/applications.nix @@ -84,7 +84,6 @@ with import ../support.nix { inherit lib config; }; { # "application/vnd.oasis.opendocument.text" = text_processor; # "text/csv" = spreadsheet; # "application/vnd.oasis.opendocument.spreadsheet" = spreadsheet; - # This actually makes Emacs an editor for everything... XDG is wierd "text/plain" = editor; }; in genIni { diff --git a/modules/workspace/i3status-rust/scripts/df.nix b/modules/workspace/i3status-rust/scripts/df.nix index 09d8c4e..64fa788 100644 --- a/modules/workspace/i3status-rust/scripts/df.nix +++ b/modules/workspace/i3status-rust/scripts/df.nix @@ -1,4 +1,4 @@ -{ ... }: '' -#!/usr/bin/env bash -echo $(sudo btrfs fi usage / | grep "Free" | awk '{print $3}') -'' \ No newline at end of file +{ bash, config, curl, ... }: '' + #!/usr/bin/env bash + echo 'folder' `df -h / | tail -1 | awk '{print $4}'`iB +'' diff --git a/modules/workspace/ssh.nix b/modules/workspace/ssh.nix index ef98662..ffbbaef 100644 --- a/modules/workspace/ssh.nix +++ b/modules/workspace/ssh.nix @@ -19,5 +19,5 @@ users.users.alukard.openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+xd8ClJPvJuAdYC9HlNnjiubEtYfvnKjYr9ROV+UmPVvI3ZITF24OaMI+fxgR0EqGfcUzSGom8528IB53Q3aFMIAaA0vKjW+jrByyB2l/k/+ttpLbH75c9WyOpAcUDTen8BhHKPyXOHoJ1jLu7GFmtPZ+mZo8thFB/VIRrwECHd8DnF0drsSCorkRp1bZC7bAHgztaYHNBUoAVGgJ7nLwW7DotlgbUEDiPJHXOxd/c/ZlXIB/cfUUqF+L5ThbMPhMcwRMspLy+nQdmHhih9k6SkvYqJoNqHT5/XeShb0RkIzvUWT2CYTPop5kAY5mMnatVTOY1FZPhHzk3G8MhOQ3r/elM/ecZxmjL8uozMN9kRGf1IL4DgQZfVqQRILdNSQGb0tfeiyirNZe1RlDw9UvMnZJOw0EkiC9lSSRhBWXXxAmxRrbNFTPQSp+/kiIGDmp2AsGhD11CfTDEU3wcLEUPBUqp1FYSzHncJyEKGy2Dpa5xaUJ0cuyGL4W3WHDXa4sTfY+AIXbQTD88Ujdsbfzyd6lrikG4D/crCurXissrh7q9DuYKWRI24cp5bw9lG33U1EXisnZqFyZNwMAmSj2QEGsHCwSevn0FgyRa2WYXgpZ9hfgY4le+ZSMo2JTosQ6DjGyxMDyQAHJ/ismTTzL67Q2p6U+73toYm62Qqdspw== (none)" ]; - programs.ssh.askPassword = "${pkgs.plasma5.ksshaskpass}/bin/ksshaskpass"; + # programs.ssh.askPassword = "${pkgs.plasma5.ksshaskpass}/bin/ksshaskpass"; } \ No newline at end of file diff --git a/modules/xserver.nix b/modules/xserver.nix index cde2c47..15c6831 100644 --- a/modules/xserver.nix +++ b/modules/xserver.nix @@ -25,35 +25,32 @@ with deviceSpecific; with themes; { else [ ]; - #TODO: исправить проблему с greeter'ом displayManager.lightdm = { - enable = true; - greeter.enable = isShared; - # greeters.mini = { - # enable = isShared; - # user = "alukard"; - # extraConfig = '' - # [greeter] - # show-password-label = true - # password-label-text = Welcome, Alukard - # invalid-password-text = Are you sure? - # show-input-cursor = false - # password-alignment = right - # [greeter-theme] - # font = "Roboto Mono" - # font-size = 14pt - # text-color = "${colors.green}" - # error-color = "${colors.green}" - # background-image = "" - # background-color = "${colors.bg}" - # window-color = "${colors.dark}" - # border-color = "${colors.blue}" - # border-width = 1px - # layout-space = 14 - # password-color = "${colors.green}" - # password-background-color = "${colors.bg}" - # ''; - # }; + greeters.mini = { + enable = isShared; + user = "alukard"; + extraConfig = '' + [greeter] + show-password-label = true + password-label-text = Welcome, Alukard + invalid-password-text = Are you sure? + show-input-cursor = false + password-alignment = right + [greeter-theme] + font = "Roboto Mono" + font-size = 14pt + text-color = "${colors.green}" + error-color = "${colors.green}" + background-image = "" + background-color = "${colors.bg}" + window-color = "${colors.dark}" + border-color = "${colors.blue}" + border-width = 1px + layout-space = 14 + password-color = "${colors.green}" + password-background-color = "${colors.bg}" + ''; + }; }; displayManager.autoLogin.enable = !isShared; diff --git a/todo.md b/todo.md index 1b3d30c..f047d59 100644 --- a/todo.md +++ b/todo.md @@ -2,3 +2,6 @@ * i3 хоткеи на русской раскладке * Добавить словарь +* Spotifyd + cli +* Dark Keepassxc +* [Make i3status-rust theme](https://github.com/greshake/i3status-rust/blob/master/themes.md) \ No newline at end of file