Compare commits

...

7 Commits

Author SHA1 Message Date
8e4a4961cc
qutebrowser: use fish as a file manager 2023-06-24 11:58:20 -04:00
0503bef471
programs: add wacom stuff 2023-06-23 17:20:46 -04:00
14f9c0b192
nvim: add css lsp 2023-06-23 12:50:21 -04:00
343ab8c6fc
nvim: add bash lsp 2023-06-23 12:44:39 -04:00
527d42e4af
.profile: start ssh-agent on every login 2023-06-22 18:41:00 -04:00
d2daa6ba62
qutebrowser: fixlink uses a different reddit instance 2023-06-22 18:22:35 -04:00
3deff2d085
programs: updated
added a bunch of programs
2023-06-21 18:22:40 -04:00
8 changed files with 93 additions and 10 deletions

View File

@ -2,6 +2,8 @@
# essentials # essentials
# #
ttf-jetbrains-mono ttf-jetbrains-mono
ttf-roboto
noto-fonts-emoji
git git
xwallpaper xwallpaper
dunst dunst
@ -13,8 +15,10 @@ xorg-setxkbmap
xorg-xrandr xorg-xrandr
xorg-xset xorg-xset
xorg-xsetroot xorg-xsetroot
# in the aur # in the aur
xkblayout-state xkblayout-state
xss-lock xss-lock
qutebrowser qutebrowser
neovim neovim
@ -27,12 +31,22 @@ xsel
xclip xclip
nsxiv nsxiv
pulsemixer pulsemixer
# battery status # battery status
acpi acpi
pipewire-pulse
# #
# utility # utility
# #
which
termdown
rsync
unzip
wget
playerctl
helvum
jq jq
fzf fzf
yt-dlp yt-dlp
@ -43,7 +57,21 @@ remmina
python-pynvim python-pynvim
xorg-xinput xorg-xinput
neofetch neofetch
aerc aerc
# use w3m for aerc and disallow network
dante
python-pip
httpie
# for mpvq script
socat
# for appimage opening
fuse2
w3m
# #
# extras # extras
@ -59,20 +87,44 @@ python-lsp-server
python-lsp-black python-lsp-black
typescript typescript
typescript-language-server typescript-language-server
bash-language-server
vscode-css-languageserver
adwaita-color-schemes
lxappearance
# .local/bin/calcpy/ script # .local/bin/calcpy/ script
ipython ipython
python-sympy python-sympy
chromium
cargo
npm
ansible
# for personal website compilation
lowdown
# #
# for new systems # for new systems
# #
networkmanager networkmanager
os-prober
efibootmgr
grub grub
xorg-server xorg-server
xorg-xinit xorg-xinit
man man
# for compiling suckless utilities # for compiling suckless utilities
make make
freetype2 freetype2
pkgconf pkgconf
gcc gcc
#
# personal
#
sof-firmware
xonotic
python-pipx
xf86-input-wacom

View File

@ -9,15 +9,6 @@ if set -q TMUX
end end
end end
if set -q SSH_AGENT_PID
functions -c fish_prompt ssha_old_fish_prompt
function fish_prompt
printf "%s%s%s" (set_color 9C8080) "(ssha) " (set_color normal)
ssha_old_fish_prompt
end
end
if set -q SSH_TTY if set -q SSH_TTY
functions -c fish_prompt ssh_old_fish_prompt functions -c fish_prompt ssh_old_fish_prompt

View File

@ -66,6 +66,8 @@ local servers = {
}, },
clangd = {}, clangd = {},
tsserver = {}, tsserver = {},
bashls = {},
cssls = {},
} }
local nvim_lsp = require('lspconfig') local nvim_lsp = require('lspconfig')

View File

@ -14,3 +14,8 @@ c.fonts.default_family = "JetBrains Mono"
c.downloads.location.directory = "~/quar/" c.downloads.location.directory = "~/quar/"
c.scrolling.smooth = True c.scrolling.smooth = True
c.downloads.remove_finished = 1000 c.downloads.remove_finished = 1000
# homegrown file selector
c.fileselect.handler = "external"
c.fileselect.multiple_files.command = ["st", "-e", "fish", "-C", "set -x OUTPUT {}; source ~/.local/bin/fish-fm"]
c.fileselect.single_file.command = ["st", "-e", "fish", "-C", "set -x OUTPUT {}; source ~/.local/bin/fish-fm"]

View File

@ -115,3 +115,8 @@ config.bind("ct", "hint title userscript code_select.py")
# use libre redirects # use libre redirects
config.bind(",fl", "hint links userscript fixlink.sh") config.bind(",fl", "hint links userscript fixlink.sh")
config.bind(",fL", "hint links userscript fixlink-tab.sh") config.bind(",fL", "hint links userscript fixlink-tab.sh")
# homegrown file selector
c.fileselect.handler = "external"
c.fileselect.multiple_files.command = ["st", "-e", "fish", "-C", "set -x OUTPUT {}; source ~/.local/bin/fish-fm"]
c.fileselect.single_file.command = ["st", "-e", "fish", "-C", "set -x OUTPUT {}; source ~/.local/bin/fish-fm"]

26
src/.local/bin/fish-fm Executable file
View File

@ -0,0 +1,26 @@
#!/bin/fish
# simple wrapper to let you select files in the terminal
# call it like this:
#
# fish -P -C "set -x OUTPUT [output file]; source fish-fm"
#
# if specified, $OUTPUT will contain the selected paths
# otherwise paths are printed to stdout
# in the shell, write the following to select files:
#
# sel file1 file2 file3
#
if test -z "$OUTPUT"
set OUTPUT /dev/stdout
end
# clear output
printf "" > "$OUTPUT"
function sel
for arg in $argv
realpath "$arg" >> "$OUTPUT"
end
exit
end

View File

@ -7,7 +7,7 @@
# config.bind(",fL", "hint links userscript fixlink.sh -t") # config.bind(",fL", "hint links userscript fixlink.sh -t")
# #
REDDIT="lr.mint.lgbt" REDDIT="reddit.baby"
TWITTER="nitter.net" TWITTER="nitter.net"
# genius lyrics # genius lyrics
GENIUS="sing.whatever.social" GENIUS="sing.whatever.social"

View File

@ -80,4 +80,6 @@ export PATH="$PATH":"$XDG_DATA_HOME"/go/bin
# cppman can't set it itself for some reason # cppman can't set it itself for some reason
export MANPATH="$MANPATH":~/.cache/cppman/ export MANPATH="$MANPATH":~/.cache/cppman/
eval $(ssh-agent)
. .config/bashrc . .config/bashrc