#Create predefined session with multiple tabs/panes (rss, bluetooth, docker...)
tmux-start
#Create predefined tmux session with ncmpcpp and ueberzug cover
music
#Comfort
ls = "ls --color=auto"
please = "sudo !!"
#Quick weather check
weatherH='curl -s "wttr.in/HomeCity?2QF"'
#Download Youtube playlist videos in separate directory indexed by video order in playlist -> lectures, etc
ytPlaylist='yt-dlp -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s"'
#Download whole album -> podcasts primarily
ytAlbum='yt-dlp -x --audio-format mp3 --split-chapters --embed-thumbnail -o "chapter:%(section_title)s.%(ext)s"'
# download video -> extract audio -> show notification
ytm()
{
tsp yt-dlp -x --audio-format mp3 --no-playlist -P "~/Music/downloaded" $1 \
--exec "dunstify -i folder-download -t 3000 -r 2598 -u normal %(filepath)q"
}
# Provide list of optional packages which can be manually selected
pacmanOpts()
{
typeset -a os
for o in `expac -S '%o\n' $1`
do
read -p "Install ${o}? " r
[[ ${r,,} =~ ^y(|e|es)$ ]] && os+=( $o )
done
sudo pacman -S $1 ${os[@]}
}
# fkill - kill process
fkill() {
pid=$(ps -ef | sed 1d | fzf -m --ansi --color fg:-1,bg:-1,hl:46,fg+:40,bg+:233,hl+:46 --color prompt:166,border:46 --height 40% --border=sharp --prompt="➤ " --pointer="➤ " --marker="➤ " | awk '{print $2}')
if [ "x$pid" != "x" ]
then
kill -${1:-9} $pid
fi
}
- 3 Posts
- 11 Comments
Arch. Why?
- Arch Wiki
- Pacman
- Community (therefore AUR)
questionAsker@lemmy.mlto
Linux@lemmy.ml•What's your favorite DE, and what does your workflow look like?
2·2 years agoXFCE and well, straightforward usage without endless tweaking and customization. On the other side, I recently(~2 years:)) felt in love with tiling window manager BSPWM and keyboard-driven usage.
questionAsker@lemmy.mlto
Asklemmy@lemmy.ml•Is Lemmy your "main social media app"? If not, which one is it?
2·2 years agonewsboat is a gem.
Can you elaborate? Do you use it that way?
I’m opposite to you - android is stop factor for me:) Much appreciated since Boox is smth new for me.
Thx! How can you describe you reading experience (especially outside) ? Is device durable?
questionAsker@lemmy.mlOPto
Linux@lemmy.ml•[Question] Some questions about BSPWM tiling manager
0·3 years agoSadly, popup window name is same as for vscode itself. I will have a look on that script, that’s something to begin with. I use only one monitor at time, I don’t use “extended mode”. And what I really want - to transfer already opened applications to workspaces from different monitor: I have vscode opened on 4th workspace on laptop, after I plug in external monitor and setup xrandr for it, than I turn it off and want to continue working with vscode on 4th workspace on latop. Right now this is not possible from the box.

If you are not afraid of terminal, mpd + ncmpcpp :)