adding kdenlivelof
This commit is contained in:
		
							parent
							
								
									9b27052b79
								
							
						
					
					
						commit
						264ed44cc3
					
				
					 6 changed files with 53 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -319,6 +319,7 @@ btop
 | 
			
		|||
qrencode
 | 
			
		||||
brave
 | 
			
		||||
scribus
 | 
			
		||||
darktable
 | 
			
		||||
qutebrowser
 | 
			
		||||
# firefox
 | 
			
		||||
kate
 | 
			
		||||
| 
						 | 
				
			
			@ -346,7 +347,8 @@ lxappearance
 | 
			
		|||
spotdl
 | 
			
		||||
kdenlive
 | 
			
		||||
rubberband
 | 
			
		||||
ffmpeg
 | 
			
		||||
ffmpeg-full
 | 
			
		||||
texlive.combined.scheme-full
 | 
			
		||||
wlroots
 | 
			
		||||
picom-next
 | 
			
		||||
pamixer
 | 
			
		||||
| 
						 | 
				
			
			@ -362,6 +364,7 @@ element-desktop-wayland
 | 
			
		|||
scrcpy
 | 
			
		||||
python
 | 
			
		||||
# hyprland
 | 
			
		||||
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
Here are some dev tools that I often have on a few devices.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -217,6 +217,7 @@ alias ecc "emacsclient -c"
 | 
			
		|||
alias mkdir "mkdir -pv"
 | 
			
		||||
alias nupd "update-nix"
 | 
			
		||||
alias nupg "upgrade-nix"
 | 
			
		||||
alias nixs "nix search nixpkgs"
 | 
			
		||||
alias myip "curl icanhazip.com"
 | 
			
		||||
alias ytd "yt-dlp -o ~/Videos/%(title)s.%(ext)s"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										36
									
								
								scripts/kdenlivelof
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										36
									
								
								scripts/kdenlivelof
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,36 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
# Check to see if an kdenlive is running
 | 
			
		||||
if [ $(pgrep -c kdenlive) -gt 0 ]; then
 | 
			
		||||
    
 | 
			
		||||
    if [ $XDG_SESSION_TYPE = "x11" ]; then
 | 
			
		||||
        #X11
 | 
			
		||||
        kdenliverg=$(wmctrl -lx | rg kdenlive.kdenlive | rg -v org-agenda | awk '{print $1}')
 | 
			
		||||
        # echo $kdenliverg
 | 
			
		||||
 | 
			
		||||
        if [ -z $kdenliverg ]; then
 | 
			
		||||
            exec kdenlive &
 | 
			
		||||
            exit
 | 
			
		||||
        else
 | 
			
		||||
            exec wmctrl -ia $kdenliverg
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
    else
 | 
			
		||||
        if [ $KDE_FULL_SESSION = "true" ]; then
 | 
			
		||||
            exec /home/chris/bin/ww -fa Kdenlive -c kdenlive
 | 
			
		||||
            exit
 | 
			
		||||
        else
 | 
			
		||||
            # WAYLAND
 | 
			
		||||
            kdenliverg=$(wlrctl window list | rg -v 'kdenlive:\sorg-agenda' | rg 'kdenlive:')
 | 
			
		||||
 | 
			
		||||
            kdenlivewin=$(echo $kdenliverg | sed 's/.*\: //')
 | 
			
		||||
            # echo $kdenlivewin
 | 
			
		||||
 | 
			
		||||
            exec wlrctl toplevel focus title:"$kdenlivewin"
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
else
 | 
			
		||||
    exec kdenlive &
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			@ -232,6 +232,7 @@
 | 
			
		|||
    qrencode
 | 
			
		||||
    brave
 | 
			
		||||
    scribus
 | 
			
		||||
    darktable
 | 
			
		||||
    qutebrowser
 | 
			
		||||
    # firefox
 | 
			
		||||
    kate
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +260,8 @@
 | 
			
		|||
    spotdl
 | 
			
		||||
    kdenlive
 | 
			
		||||
    rubberband
 | 
			
		||||
    ffmpeg
 | 
			
		||||
    ffmpeg-full
 | 
			
		||||
    texlive.combined.scheme-full
 | 
			
		||||
    wlroots
 | 
			
		||||
    picom-next
 | 
			
		||||
    pamixer
 | 
			
		||||
| 
						 | 
				
			
			@ -275,6 +277,7 @@
 | 
			
		|||
    scrcpy
 | 
			
		||||
    python
 | 
			
		||||
    # hyprland
 | 
			
		||||
    
 | 
			
		||||
    blender
 | 
			
		||||
    neofetch
 | 
			
		||||
    # ethminer
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -242,6 +242,7 @@
 | 
			
		|||
    qrencode
 | 
			
		||||
    brave
 | 
			
		||||
    scribus
 | 
			
		||||
    darktable
 | 
			
		||||
    qutebrowser
 | 
			
		||||
    # firefox
 | 
			
		||||
    kate
 | 
			
		||||
| 
						 | 
				
			
			@ -269,7 +270,8 @@
 | 
			
		|||
    spotdl
 | 
			
		||||
    kdenlive
 | 
			
		||||
    rubberband
 | 
			
		||||
    ffmpeg
 | 
			
		||||
    ffmpeg-full
 | 
			
		||||
    texlive.combined.scheme-full
 | 
			
		||||
    wlroots
 | 
			
		||||
    picom-next
 | 
			
		||||
    pamixer
 | 
			
		||||
| 
						 | 
				
			
			@ -285,6 +287,7 @@
 | 
			
		|||
    scrcpy
 | 
			
		||||
    python
 | 
			
		||||
    # hyprland
 | 
			
		||||
    
 | 
			
		||||
    neofetch
 | 
			
		||||
    afetch
 | 
			
		||||
    yafetch
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -409,6 +409,10 @@
 | 
			
		|||
    recursive = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  home.file."bin/kdenlivelof" = {
 | 
			
		||||
    source = ../scripts/kdenlivelof;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  programs.starship.enable = true;
 | 
			
		||||
  programs.zsh = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue