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
 | 
					qrencode
 | 
				
			||||||
brave
 | 
					brave
 | 
				
			||||||
scribus
 | 
					scribus
 | 
				
			||||||
 | 
					darktable
 | 
				
			||||||
qutebrowser
 | 
					qutebrowser
 | 
				
			||||||
# firefox
 | 
					# firefox
 | 
				
			||||||
kate
 | 
					kate
 | 
				
			||||||
| 
						 | 
					@ -346,7 +347,8 @@ lxappearance
 | 
				
			||||||
spotdl
 | 
					spotdl
 | 
				
			||||||
kdenlive
 | 
					kdenlive
 | 
				
			||||||
rubberband
 | 
					rubberband
 | 
				
			||||||
ffmpeg
 | 
					ffmpeg-full
 | 
				
			||||||
 | 
					texlive.combined.scheme-full
 | 
				
			||||||
wlroots
 | 
					wlroots
 | 
				
			||||||
picom-next
 | 
					picom-next
 | 
				
			||||||
pamixer
 | 
					pamixer
 | 
				
			||||||
| 
						 | 
					@ -362,6 +364,7 @@ element-desktop-wayland
 | 
				
			||||||
scrcpy
 | 
					scrcpy
 | 
				
			||||||
python
 | 
					python
 | 
				
			||||||
# hyprland
 | 
					# hyprland
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Here are some dev tools that I often have on a few devices.
 | 
					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 mkdir "mkdir -pv"
 | 
				
			||||||
alias nupd "update-nix"
 | 
					alias nupd "update-nix"
 | 
				
			||||||
alias nupg "upgrade-nix"
 | 
					alias nupg "upgrade-nix"
 | 
				
			||||||
 | 
					alias nixs "nix search nixpkgs"
 | 
				
			||||||
alias myip "curl icanhazip.com"
 | 
					alias myip "curl icanhazip.com"
 | 
				
			||||||
alias ytd "yt-dlp -o ~/Videos/%(title)s.%(ext)s"
 | 
					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
 | 
					    qrencode
 | 
				
			||||||
    brave
 | 
					    brave
 | 
				
			||||||
    scribus
 | 
					    scribus
 | 
				
			||||||
 | 
					    darktable
 | 
				
			||||||
    qutebrowser
 | 
					    qutebrowser
 | 
				
			||||||
    # firefox
 | 
					    # firefox
 | 
				
			||||||
    kate
 | 
					    kate
 | 
				
			||||||
| 
						 | 
					@ -259,7 +260,8 @@
 | 
				
			||||||
    spotdl
 | 
					    spotdl
 | 
				
			||||||
    kdenlive
 | 
					    kdenlive
 | 
				
			||||||
    rubberband
 | 
					    rubberband
 | 
				
			||||||
    ffmpeg
 | 
					    ffmpeg-full
 | 
				
			||||||
 | 
					    texlive.combined.scheme-full
 | 
				
			||||||
    wlroots
 | 
					    wlroots
 | 
				
			||||||
    picom-next
 | 
					    picom-next
 | 
				
			||||||
    pamixer
 | 
					    pamixer
 | 
				
			||||||
| 
						 | 
					@ -275,6 +277,7 @@
 | 
				
			||||||
    scrcpy
 | 
					    scrcpy
 | 
				
			||||||
    python
 | 
					    python
 | 
				
			||||||
    # hyprland
 | 
					    # hyprland
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
    blender
 | 
					    blender
 | 
				
			||||||
    neofetch
 | 
					    neofetch
 | 
				
			||||||
    # ethminer
 | 
					    # ethminer
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -242,6 +242,7 @@
 | 
				
			||||||
    qrencode
 | 
					    qrencode
 | 
				
			||||||
    brave
 | 
					    brave
 | 
				
			||||||
    scribus
 | 
					    scribus
 | 
				
			||||||
 | 
					    darktable
 | 
				
			||||||
    qutebrowser
 | 
					    qutebrowser
 | 
				
			||||||
    # firefox
 | 
					    # firefox
 | 
				
			||||||
    kate
 | 
					    kate
 | 
				
			||||||
| 
						 | 
					@ -269,7 +270,8 @@
 | 
				
			||||||
    spotdl
 | 
					    spotdl
 | 
				
			||||||
    kdenlive
 | 
					    kdenlive
 | 
				
			||||||
    rubberband
 | 
					    rubberband
 | 
				
			||||||
    ffmpeg
 | 
					    ffmpeg-full
 | 
				
			||||||
 | 
					    texlive.combined.scheme-full
 | 
				
			||||||
    wlroots
 | 
					    wlroots
 | 
				
			||||||
    picom-next
 | 
					    picom-next
 | 
				
			||||||
    pamixer
 | 
					    pamixer
 | 
				
			||||||
| 
						 | 
					@ -285,6 +287,7 @@
 | 
				
			||||||
    scrcpy
 | 
					    scrcpy
 | 
				
			||||||
    python
 | 
					    python
 | 
				
			||||||
    # hyprland
 | 
					    # hyprland
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
    neofetch
 | 
					    neofetch
 | 
				
			||||||
    afetch
 | 
					    afetch
 | 
				
			||||||
    yafetch
 | 
					    yafetch
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -409,6 +409,10 @@
 | 
				
			||||||
    recursive = true;
 | 
					    recursive = true;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  home.file."bin/kdenlivelof" = {
 | 
				
			||||||
 | 
					    source = ../scripts/kdenlivelof;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  programs.starship.enable = true;
 | 
					  programs.starship.enable = true;
 | 
				
			||||||
  programs.zsh = {
 | 
					  programs.zsh = {
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue