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 * [ ] btrfs snapshots
* [ ] regreet config / theming - Icons still broken for some reason * [ ] regreet config / theming - Icons still broken for some reason
* Possibly switch to tuigreet and gruv it * Possibly switch to tuigreet and gruv it
* [ ] mako config / theming * [x] mako config / theming
* [ ] waybar config / theming * [x] waybar config / theming
* [x] hyprland config / theming * [x] hyprland config / theming
* [x] Try `libinput-gestures` for gesture control of Hyprland - [Link](https://github.com/bulletmark/libinput-gestures) * [x] Try `libinput-gestures` for gesture control of Hyprland - [Link](https://github.com/bulletmark/libinput-gestures)
* [x] powerline config / theming * [x] powerline config / theming
@ -27,7 +27,7 @@ Repo for nix configuration files
* [x] Possibly move away from powerline-go - I want something simpler * [x] Possibly move away from powerline-go - I want something simpler
* Staying with powerline-go, just editing the config in `home-manager/bash.nix` * 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/) * [ ] 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 * [ ] hyprland
* [x] Try hyprctl * [x] Try hyprctl
* [ ] hyprbars - [Link](https://github.com/hyprwm/hyprland-plugins/tree/main/hyprbars) * [ ] hyprbars - [Link](https://github.com/hyprwm/hyprland-plugins/tree/main/hyprbars)

View file

@ -2,51 +2,51 @@
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
# Greeter, for when you start the computer # 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; # enable = true;
# # https://github.com/rharish101/ReGreet/blob/main/regreet.sample.toml
# settings = { # settings = {
# default_session = { # background = {
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway"; # path = "/etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper3.jpg";
# user = "greeter"; # 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;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time";
user = "greeter";
};
};
};
# Brightness and volume control # Brightness and volume control
# https://haikarainen.github.io/light/ # https://haikarainen.github.io/light/
programs.light.enable = true; programs.light.enable = true;

View file

@ -155,6 +155,17 @@
bind = $mainMod SHIFT, right, movetoworkspace, e+1 bind = $mainMod SHIFT, right, movetoworkspace, e+1
bind = $mainMod SHIFT, left, 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 # Laptop specific config
# Set up the FN keys: # Set up the FN keys:
# F1 - Mute # F1 - Mute