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

@ -1 +0,0 @@
eww

View file

@ -9,7 +9,7 @@ for num in $(hyprctl workspaces | grep ID | awk '{print $3}'); do
done done
#initial check for focused workspace #initial check for focused workspace
for num in $(hyprctl monitors | grep -B 4 "focused: yes" | awk 'NR==1{print $3}'); do for num in $(hyprctl monitors | grep -B 5 "focused: yes" | awk 'NR==1{print $3}'); do
export f"$num"="$num" export f"$num"="$num"
export fnum=f"$num" export fnum=f"$num"
export mon=$(hyprctl monitors | grep -B 2 "\($num\)" | awk 'NR==1{print $2}') export mon=$(hyprctl monitors | grep -B 2 "\($num\)" | awk 'NR==1{print $2}')

View file

@ -43,6 +43,9 @@ autocontain -s office.com work
autocontain -s microsoftonline.com work autocontain -s microsoftonline.com work
autocontain -s microsoft.com work autocontain -s microsoft.com work
autocontain -s live.com work autocontain -s live.com work
autocontain -s amazon.com shopping
autocontain -s newegg.com shopping
autocontain -s ebay.com shopping
"" Quickmarks "" Quickmarks
set quickmark od https://odysee.com/$/following set quickmark od https://odysee.com/$/following

@ -1 +0,0 @@
Subproject commit 322fba4d3641bfa0ccf72d051e56840508fc5b0d

Binary file not shown.

View file

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

View file

@ -210,7 +210,7 @@ in
binde = , XF86MonBrightnessUp, exec, brightnessctl s +10% binde = , XF86MonBrightnessUp, exec, brightnessctl s +10%
binde = , XF86MonBrightnessDown, 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 bind=SUPERALT,n,exec,eww update rightside=true
bindm=SUPER,mouse:272,movewindow bindm=SUPER,mouse:272,movewindow

View file

@ -18,6 +18,7 @@
binutils binutils
podman-compose podman-compose
exa exa
nushellFull
# img2pdf # img2pdf
yt-dlp yt-dlp
bat bat