adding nushell and fixing some eww stuff

This commit is contained in:
Chris Cochrun 2023-08-25 09:47:26 -05:00
parent c1075fa964
commit 17d8868272
8 changed files with 21 additions and 8 deletions

View file

@ -593,9 +593,10 @@ window#waybar > box {
programs.nushell = {
enable = true;
package = pkgs.nushellFull;
shellAliases = {
# ls = "exa -l";
la = "exa -la";
la = "ls -la";
mpf = "mpv --profile=fast";
mps = "mpv --profile=slow";
ec = "emacsclient -t";
@ -610,18 +611,27 @@ window#waybar > box {
ytd = "yt-dlp -o '~/Videos/%(title)s.%(ext)s'";
};
extraConfig = ''
let-env config = {
$env.config = {
show_banner: false
}
'';
environmentVariables = {
EDITOR = "emacsclient -t";
};
};
home.file.".config/dunst" = {
source = ../.config/dunst;
};
programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true;
services.pueue.enable = true;
programs.atuin.enable = true;
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
# programs.qutebrowser.enable = true;
home.file.".config/qutebrowser/config.py" = {
@ -705,6 +715,7 @@ window#waybar > box {
programs.starship = {
enable = true;
enableNushellIntegration = true;
enableBashIntegration = true;
settings = {
format = ''

View file

@ -210,7 +210,7 @@ in
binde = , XF86MonBrightnessUp, exec, brightnessctl s +10%
binde = , XF86MonBrightnessDown, exec, brightnessctl s 10%-
bind=SUPERSHIFT,g,exec,bar.sh
bind=SUPERSHIFT,g,exec,eww.sh
bind=SUPERALT,n,exec,eww update rightside=true
bindm=SUPER,mouse:272,movewindow