Disabled wayland flag for wezterm

This commit is contained in:
xqtc161 2024-03-30 18:02:53 +01:00
parent 7ef2f28938
commit 73a6a8eeb3
4 changed files with 23 additions and 18 deletions

View file

@ -9,7 +9,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
#inputs.agenix.url = "github:ryantm/agenix"; #inputs.agenix.url = "github:ryantm/agenix";
inputs.spicetify-nix.url = "github:the-argus/spicetify-nix"; inputs.spicetify-nix.url = "github:the-argus/spicetify-nix";
inputs.firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; inputs.firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master"; inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";

View file

@ -30,6 +30,8 @@ up=$(sed -e "s/ h/h/g" <<< ${up})
up=$(sed -e "s/ m/m/g" <<< ${up}) up=$(sed -e "s/ m/m/g" <<< ${up})
pkgs=$(nix-store --query --requisites /run/current-system | wc -l) pkgs=$(nix-store --query --requisites /run/current-system | wc -l)
arch=$(nix-instantiate --eval -E 'builtins.currentSystem')
arch_sanitized=$(echo $arch | sed 's/^"//;s/"$//')
fetch() { fetch() {
echo "${cyan}$(tput bold) _ ___ ____ ____ ${normal}$(tput sgr0)" echo "${cyan}$(tput bold) _ ___ ____ ____ ${normal}$(tput sgr0)"
@ -45,6 +47,7 @@ fetch() {
echo "${blue}${normal} uptime │ ${blue}${up}${normal} " echo "${blue}${normal} uptime │ ${blue}${up}${normal} "
echo "${magenta}${normal} shell │ ${magenta}$(echo ${SHELL##*/})${normal} " echo "${magenta}${normal} shell │ ${magenta}$(echo ${SHELL##*/})${normal} "
echo "${red}󰏖 ${normal} pkgs │ ${red}${pkgs}${normal} " echo "${red}󰏖 ${normal} pkgs │ ${red}${pkgs}${normal} "
echo "${yellow}${normal} arch │ ${yellow}${arch_sanitized}${normal} "
echo " ├─────────────┤ " echo " ├─────────────┤ "
echo "${_white}${normal}colors │${_white}$unicode${normal}${red}$unicode${normal}${yellow}$unicode${normal}${green}$unicode${normal}${cyan}$unicode${normal}${blue}$unicode${normal}${magenta}$unicode${normal}${_black}$unicode${normal}" echo "${_white}${normal}colors │${_white}$unicode${normal}${red}$unicode${normal}${yellow}$unicode${normal}${green}$unicode${normal}${cyan}$unicode${normal}${blue}$unicode${normal}${magenta}$unicode${normal}${_black}$unicode${normal}"
echo " ╰─────────────╯ " echo " ╰─────────────╯ "

View file

@ -122,7 +122,7 @@ config.enable_scroll_bar = false
config.enable_tab_bar = true config.enable_tab_bar = true
config.tab_bar_at_bottom = true config.tab_bar_at_bottom = true
config.hide_mouse_cursor_when_typing = false config.hide_mouse_cursor_when_typing = false
config.enable_wayland = true config.enable_wayland = false
config.front_end = "OpenGL" config.front_end = "OpenGL"
config.warn_about_missing_glyphs = false config.warn_about_missing_glyphs = false
return config return config

View file

@ -1,20 +1,22 @@
{ pkgs, lib, inputs, ... }:
let
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
in
{ {
imports = [ inputs.spicetify-nix.homeManagerModule ]; pkgs,
lib,
inputs,
...
}: let
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
in {
imports = [inputs.spicetify-nix.homeManagerModule];
programs.spicetify = programs.spicetify = {
{ enable = true;
enable = true; theme = spicePkgs.themes.catppuccin;
theme = spicePkgs.themes.catppuccin; colorScheme = "mocha";
colorScheme = "mocha";
enabledExtensions = with spicePkgs.extensions; [ enabledExtensions = with spicePkgs.extensions; [
fullAppDisplay fullAppDisplay
shuffle # shuffle+ (special characters are sanitized out of ext names) shuffle # shuffle+ (special characters are sanitized out of ext names)
# hidePodcasts # hidePodcasts
]; ];
}; };
} }