Testing tuigreet

This commit is contained in:
iFargle 2023-08-17 15:40:02 +09:00
parent 95ca59897c
commit 9fa904e421
3 changed files with 54 additions and 43 deletions

View file

@ -7,8 +7,8 @@ Repo for nix configuration files
* [ ] btrfs snapshots
* [ ] regreet config / theming - Icons still broken for some reason
* Possibly switch to tuigreet and gruv it
* [ ] mako config / theming
* [ ] waybar config / theming
* [x] mako config / theming
* [x] waybar config / theming
* [x] hyprland config / theming
* [x] Try `libinput-gestures` for gesture control of Hyprland - [Link](https://github.com/bulletmark/libinput-gestures)
* [x] powerline config / theming
@ -27,7 +27,7 @@ Repo for nix configuration files
* [x] Possibly move away from powerline-go - I want something simpler
* Staying with powerline-go, just editing the config in `home-manager/bash.nix`
* [ ] Set up the fingerprint reader - [Link](https://www.makeuseof.com/set-up-fingerprint-scanner-with-pam-on-linux/)
* [ ] sublime music config / theming / integration - [Link](https://docs.sublimemusic.app/)
* [x] sublime music config / theming / integration - [Link](https://docs.sublimemusic.app/)
* [ ] hyprland
* [x] Try hyprctl
* [ ] hyprbars - [Link](https://github.com/hyprwm/hyprland-plugins/tree/main/hyprbars)

View file

@ -2,51 +2,51 @@
services.xserver.videoDrivers = ["nvidia"];
# Greeter, for when you start the computer
programs.regreet = {
# programs.regreet = {
# enable = true;
# # https://github.com/rharish101/ReGreet/blob/main/regreet.sample.toml
# settings = {
# background = {
# path = "/etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper3.jpg";
# fit = "Cover";
# };
# GTK = {
# application_prefer_dark_theme = true;
# cursor_theme_name = "Adwaita";
# font_name = "Cantarell 16";
# icon_theme_name = "Papirus-Dark";
# theme_name = "Gruvbox-Dark-BL";
# };
# commands = {
# reboot = [ "systemctl" "reboot" ];
# poweroff = [ "systemctl" "poweroff" ];
# };
# };
# extraCss = ''
# #background {
# filter: blur(20px);
# blur: 20px;
# }
# #user_toggle {
# visibility: none;
# }
# #sess_toggle {
# visibility: none;
# }
# '';
# };
tuigreet
services.greetd = {
enable = true;
# https://github.com/rharish101/ReGreet/blob/main/regreet.sample.toml
settings = {
background = {
path = "/etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper3.jpg";
fit = "Cover";
};
GTK = {
application_prefer_dark_theme = true;
cursor_theme_name = "Adwaita";
font_name = "Cantarell 16";
icon_theme_name = "Papirus-Dark";
theme_name = "Gruvbox-Dark-BL";
};
commands = {
reboot = [ "systemctl" "reboot" ];
poweroff = [ "systemctl" "poweroff" ];
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time";
user = "greeter";
};
};
extraCss = ''
#background {
filter: blur(20px);
blur: 20px;
}
#user_toggle {
visibility: none;
}
#sess_toggle {
visibility: none;
}
'';
};
# tuigreet
# services.greetd = {
# enable = true;
# settings = {
# default_session = {
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
# user = "greeter";
# };
# };
# };
# Brightness and volume control
# https://haikarainen.github.io/light/
programs.light.enable = true;

View file

@ -155,6 +155,17 @@
bind = $mainMod SHIFT, right, movetoworkspace, e+1
bind = $mainMod SHIFT, left, movetoworkspace, e-1
# Lock the screen, send to swaylock
bind = $mainMod, L, swaylock-fancy
# Lid closure:
# trigger when the switch is toggled
# bindl=,switch:[switch name],exec,swaylock
# trigger when the switch is turning on
#bindl=,switch:on:[switch name],exec,hyprctl keyword monitor "eDP-1, 2560x1600, 0x0, 1"
# trigger when the switch is turning off
# bindl=,switch:off:[switch name],exec,hyprctl keyword monitor "eDP-1, disable"
# Laptop specific config
# Set up the FN keys:
# F1 - Mute