This commit is contained in:
albert 2024-04-08 21:45:56 +09:00
parent e23366a24b
commit 51276d05fb
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, inputs, theme, lib, ... }: { { pkgs, theme, lib, ... }: {
imports = [ imports = [
./components ./components
./assets/waybar/scripts.nix ./assets/waybar/scripts.nix
@ -11,6 +11,9 @@
}; };
gtk.enable = true; gtk.enable = true;
# Disable tmux on Hyprland
programs.bash.sessionVariables = { ENABLE_TMUX = "false"; };
stylix = { stylix = {
image = lib.mkForce /etc/nixos/git/wallpapers/${theme}/wallpaper1.png; image = lib.mkForce /etc/nixos/git/wallpapers/${theme}/wallpaper1.png;

View file

@ -37,7 +37,7 @@
GPG_TTY=$(tty) GPG_TTY=$(tty)
EDITOR=vim EDITOR=vim
ssh-add > /dev/null &> /dev/null ssh-add > /dev/null &> /dev/null
[ -z "$TMUX" ] && { tmux attach || exec tmux new-session && exit;} [[ -z "$TMUX" && "$ENABLE_TMUX" == "false" ]] && { tmux attach || exec tmux new-session && exit;}
''; '';
sessionVariables = { sessionVariables = {
# Set the GTK Theme # Set the GTK Theme