adding nushell and fixing some eww stuff
This commit is contained in:
		
							parent
							
								
									c1075fa964
								
							
						
					
					
						commit
						17d8868272
					
				
					 8 changed files with 21 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
eww
 | 
			
		||||
| 
						 | 
				
			
			@ -9,7 +9,7 @@ for num in $(hyprctl workspaces | grep ID | awk '{print $3}'); do
 | 
			
		|||
done
 | 
			
		||||
 
 | 
			
		||||
#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 fnum=f"$num"
 | 
			
		||||
  export mon=$(hyprctl monitors | grep -B 2 "\($num\)" | awk 'NR==1{print $2}')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -43,6 +43,9 @@ autocontain -s office.com work
 | 
			
		|||
autocontain -s microsoftonline.com work
 | 
			
		||||
autocontain -s microsoft.com work
 | 
			
		||||
autocontain -s live.com work
 | 
			
		||||
autocontain -s amazon.com shopping
 | 
			
		||||
autocontain -s newegg.com shopping
 | 
			
		||||
autocontain -s ebay.com shopping
 | 
			
		||||
 | 
			
		||||
"" Quickmarks
 | 
			
		||||
set quickmark od https://odysee.com/$/following
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
Subproject commit 322fba4d3641bfa0ccf72d051e56840508fc5b0d
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -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 = ''
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,6 +18,7 @@
 | 
			
		|||
    binutils
 | 
			
		||||
    podman-compose
 | 
			
		||||
    exa
 | 
			
		||||
    nushellFull
 | 
			
		||||
    # img2pdf
 | 
			
		||||
    yt-dlp
 | 
			
		||||
    bat
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue