mirror of
https://github.com/mrfluffy-dev/dotfiles.git
synced 2026-01-17 05:40:34 +00:00
mainly emacs related
This commit is contained in:
@@ -1,11 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
chack to see if trackma is running
|
||||
if pgrep -x "trackma" > /dev/null
|
||||
then
|
||||
alacritty -e "$HOME"/Documents/Rust/kami/target/release/kami -a
|
||||
else
|
||||
|
||||
trackma
|
||||
alacritty -e "$HOME"/Documents/Rust/kami/target/release/kami -a
|
||||
fi
|
||||
kitty ~/Documents/Rust/kami/target/release/kami --title=kami
|
||||
|
||||
3
script/.config/script/livewallpaper.sh
Executable file
3
script/.config/script/livewallpaper.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
mpvpaper '*' -o "loop" -p ~/Videos/wallpapers/anime-school-girl-bicycle-sunset-moewalls.com.mp4
|
||||
14
script/.config/script/record.sh
Executable file
14
script/.config/script/record.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# This scrip is ment to resord the screen with desktop audio and no mic audio using wf-recorder
|
||||
|
||||
# make a directory to store the videos in HOME/Videos/recordings
|
||||
mkdir -p $HOME/Videos/recordings
|
||||
make a variable for the directory
|
||||
DIR=$HOME/Videos/recordings
|
||||
#use rofi to enter the a name for the video in the directory
|
||||
cd $DIR
|
||||
NAME=$(rofi -dmenu -p "Name of the video")
|
||||
cd ..
|
||||
# record the screen with wf-recorder
|
||||
wf-recorder --device=/dev/dri/renderD128 --audio=alsa_output.pci-0000_05_00.6.analog-stereo.monitor --file=$DIR/$NAME
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
FILE=$(fd -t f|fzf)
|
||||
LINK=$(curl -# "https://oshi.at" -F "f=@$FILE"|awk '/DL/ {print $2}')
|
||||
printf "$LINK"|xclip -selection c
|
||||
printf "$LINK\n"
|
||||
# list all the files in the current directory in rofi
|
||||
FILE=$(ls -1 | rofi -dmenu -i -p "Select file to open")
|
||||
URL=$(curl -F "file=@$FILE" https://0x0.st)
|
||||
printf "$URL" | wl-copy -n
|
||||
|
||||
Reference in New Issue
Block a user