summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xneovim/.config/nvim/confs/nvimlsp.vim10
-rw-r--r--newsboat/.config/newsboat/urls2
-rwxr-xr-xscripts/.local/bin/screenrecord10
3 files changed, 16 insertions, 6 deletions
diff --git a/neovim/.config/nvim/confs/nvimlsp.vim b/neovim/.config/nvim/confs/nvimlsp.vim
index d91d17a..2bca05a 100755
--- a/neovim/.config/nvim/confs/nvimlsp.vim
+++ b/neovim/.config/nvim/confs/nvimlsp.vim
@@ -60,7 +60,15 @@ local capabilities = require('cmp_nvim_lsp').default_capabilities()
local masonlsp = require("mason-lspconfig")
masonlsp.setup {
- ensure_installed = { 'clangd', 'tsserver'},
+ ensure_installed = {
+ -- https://github.com/williamboman/mason-lspconfig.nvim - Server List
+ 'clangd',
+ 'gopls',
+ 'tsserver',
+ 'cssls',
+ 'html',
+ 'pyright'
+ },
automatic_installation = true,
handlers = {
function (server_name)
diff --git a/newsboat/.config/newsboat/urls b/newsboat/.config/newsboat/urls
index 97ec00a..205b8af 100644
--- a/newsboat/.config/newsboat/urls
+++ b/newsboat/.config/newsboat/urls
@@ -40,6 +40,7 @@ https://distrowatch.com/news/dw.xml "~DistroWatch"
https://drewdevault.com/blog/index.xml "~Drew DeVault"
https://gitlab.com/dutchmans.atom "~Dutchmans"
https://ericmurphy.xyz/index.xml "~Eric Murphy"
+https://www.exploit-db.com/rss.xml "~ExploitDB"
https://www.fct.unl.pt/noticias/rss.xml "~FCT UNL"
https://ciencias.ulisboa.pt/rss/noticias "~FCUL"
https://www.reddit.com/r/FreeGameFindings.rss "~FreeGameFindings"
@@ -55,6 +56,7 @@ https://www.lowtechmagazine.com/atom.xml "~Low Tech Magazine"
https://lukesmith.xyz/rss.xml "~Luke Smith"
https://neovim.io/news.xml "~Neovim"
https://null-byte.wonderhowto.com/rss.xml "~Null Byte"
+https://nvd.nist.gov/feeds/xml/cve/misc/nvd-rss.xml "~NVD"
https://www.phoronix.com/rss.php "~Phoronix"
https://www.pine64.org/feed/ "~Pine64"
https://stallman.org/rss/rss.xml "~Richard Stallman"
diff --git a/scripts/.local/bin/screenrecord b/scripts/.local/bin/screenrecord
index c3ac024..d47bdaa 100755
--- a/scripts/.local/bin/screenrecord
+++ b/scripts/.local/bin/screenrecord
@@ -8,22 +8,22 @@ else
INPUT=$(printf "Video Only\nVideo and Audio\nVideo and Voice\nAudio Only\nVoice Only" | dmenu -i -p "Record: ")
case "$INPUT" in
"Video Only")
- ffmpeg -y -f x11grab -framerate 60 -s $(xdpyinfo | grep dimensions | awk '{print $2}') -i :0.0 ~/Videos/Recordings/recording-"$(date '+%Y%m%d_%H%M%S')".mkv
+ ffmpeg -y -f gdigrab -framerate 60 -i :0.0 ~/Videos/Recordings/recording-"$(date '+%Y%m%d_%H%M%S')".mkv
;;
"Video and Audio")
- SOURCE=$(pamixer --list-sources | grep -vi "Sources:" | awk '{print $2}' | grep output | sed s:\"::g)
+ SOURCE=$(pamixer --list-sources | grep -vi "Sources:" | grep "Running" | awk '{print $2}' | grep output | sed s:\"::g)
ffmpeg -y -f x11grab -framerate 60 -s $(xdpyinfo | grep dimensions | awk '{print $2}') -i :0.0 -f pulse -i $SOURCE -c:v libx264rgb -preset superfast -c:a flac ~/Videos/Recordings/recording-"$(date '+%Y%m%d_%H%M%S')".mkv
;;
"Video and Voice")
- SOURCE=$(pamixer --list-sources | grep -vi "Sources:" | awk '{print $2}' | grep input | sed s:\"::g)
+ SOURCE=$(pamixer --list-sources | grep -vi "Sources:" | grep "Running" | awk '{print $2}' | grep output | sed s:\"::g)
ffmpeg -y -f x11grab -framerate 60 -s $(xdpyinfo | grep dimensions | awk '{print $2}') -i :0.0 -f pulse -i $SOURCE -c:v libx264rgb -preset superfast -r 30 -c:a flac ~/Videos/Recordings/recording-"$(date '+%Y%m%d_%H%M%S')".mkv
;;
"Audio Only")
- SOURCE=$(pamixer --list-sources | grep -vi "Sources:" | awk '{print $2}' | grep output | sed s:\"::g)
+ SOURCE=$(pamixer --list-sources | grep -vi "Sources:" | grep "Running" | awk '{print $2}' | grep output | sed s:\"::g)
ffmpeg -y -f pulse -i $SOURCE -c:v libx264rgb -preset superfast -c:a flac ~/Music/Recordings/recording-"$(date '+%Y%m%d_%H%M%S')".flac
;;
"Voice Only")
- SOURCE=$(pamixer --list-sources | grep -vi "Sources:" | awk '{print $2}' | grep input | sed s:\"::g)
+ SOURCE=$(pamixer --list-sources | grep -vi "Sources:" | grep "Running" | awk '{print $2}' | grep output | sed s:\"::g)
ffmpeg -y -f pulse -i $SOURCE -c:v libx264rgb -preset superfast -c:a flac ~/Music/Recordings/recording-"$(date '+%Y%m%d_%H%M%S')".flac
esac
fi