Files
environment/config/.config/fish/config.fish
2025-12-17 12:13:37 +01:00

53 lines
1.6 KiB
Fish

if status is-interactive
# Commands to run in interactive sessions can go here
end
set fish_greeting
fish_add_path "$HOME/.local/bin"
fish_add_path "$HOME/.local/share/gem/ruby/3.4.0/bin"
set -x EDITOR /usr/bin/vim
set -e DEBUGINFOD_URLS # Disable GDB debuginfo
alias plasma-wid "wmctrl -l | grep 'Desktop @ QRect(0,0 2880x1800) — Plasma' | awk '{print \$1}'"
alias cd z
alias ssh "kitty +kitten ssh"
alias ip "ip --color"
alias nmcli "nmcli -p --colors=yes"
alias yay "yay --color=always"
alias pacman "pacman --color=always"
alias icat "kitty +kitten icat"
alias xclip "xclip -selection clipboard"
alias emacs "emacs -nw"
alias fullmpv "mpv --no-border --geometry=2880x1800"
alias wallmpv "xwinwrap -ov -fs -b -nf -- mpv -wid WID --no-border --geometry=2880x1800 --no-input-default-bindings --no-input-cursor"
alias fwallmpv "xwinwrap -g 2880x1800 -o 0.2 -a -un -s -ni -nf -- mpv -wid WID"
alias ytwallmpv "wallmpv --ytdl-format=18"
alias ytfwallmpv "fwallmpv --ytdl-format=18"
alias hentaiwall "hentaiwall ()"
# High DPI
# Use .Xresources instead
# set -x QT_AUTO_SCREEN_SCALE_FACTOR 1
# set -x QT_ENABLE_HIGHDPI_SCALING 1
# set -x GDK_SCALE 2
# set -x GDK_DPI_SCALE 0.5
# Fixes some QT programs with High DPI
set -x QT_ENABLE_HIGHDPI_SCALING 0
# BEGIN opam configuration
# This is useful if you're using opam as it adds:
# - the correct directories to the PATH
# - auto-completion for the opam binary
# This section can be safely removed at any time if needed.
test -r '/home/tomas/.opam/opam-init/init.fish' && source '/home/tomas/.opam/opam-init/init.fish' > /dev/null 2> /dev/null; or true
# END opam configuration