mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Make bspwm work with vnc displays; and general updates/cleanups
- Set fish colors to more gruvbox accurate theme - Fix nvim transparency - Remove conky, qutebrowser, and taskrc configs - Update fish greeting - Update toglpulse script
This commit is contained in:
parent
81e8b0c49c
commit
503fb8bff6
15 changed files with 83 additions and 638 deletions
|
|
@ -1,8 +1,8 @@
|
|||
function define_aliases -a uname -d 'Defines aliases for commonly used commands'
|
||||
alias q 'exit'
|
||||
alias q exit
|
||||
alias rcp 'rsync -aP'
|
||||
alias vg 'vagrant'
|
||||
alias tf 'terraform'
|
||||
alias vg vagrant
|
||||
alias tf terraform
|
||||
alias gco 'gcloud compute'
|
||||
alias tocb 'xclip -in -selection clipboard'
|
||||
alias fromcb 'xclip -out -selection clipboard'
|
||||
|
|
@ -12,17 +12,17 @@ function define_aliases -a uname -d 'Defines aliases for commonly used commands'
|
|||
alias age-e 'age --armor --recipient (cat ~/.secrets/id_ed25519.pub)'
|
||||
alias age-k 'age --decrypt --identity ~/.secrets/id_ed25519 ~/.secrets/age_keys.age'
|
||||
alias bb 'bun --bun'
|
||||
alias pn 'pnpm'
|
||||
alias pn pnpm
|
||||
|
||||
switch "$uname"
|
||||
case 'Linux'
|
||||
case Linux
|
||||
alias goland 'command goland'
|
||||
alias rider 'command rider'
|
||||
alias webstorm 'command webstorm'
|
||||
alias sctl 'sudo systemctl'
|
||||
alias uctl 'systemctl --user'
|
||||
alias bctl 'bluetoothctl'
|
||||
case 'Darwin'
|
||||
alias bctl bluetoothctl
|
||||
case Darwin
|
||||
alias goland 'open -a Goland'
|
||||
alias rider 'open -a Rider'
|
||||
alias webstorm 'open -a Webstorm'
|
||||
|
|
|
|||
|
|
@ -1,10 +1,16 @@
|
|||
function fish_greeting -d "What's up, fish?"
|
||||
set_color $fish_color_autosuggestion
|
||||
uname -nmsr
|
||||
|
||||
# TODO: `command -q -s` only works on fish 2.5+, so hold off on that for now
|
||||
set uname (uname -nor)
|
||||
|
||||
command -s uptime >/dev/null
|
||||
and uptime
|
||||
and if test (uname) = Linux
|
||||
and set uptime '; ' (uptime --pretty)
|
||||
else
|
||||
and set uptime '; ' (uptime)
|
||||
end
|
||||
|
||||
echo -s $uname $uptime
|
||||
|
||||
set_color normal
|
||||
end
|
||||
|
|
|
|||
|
|
@ -3,13 +3,12 @@ function toglpulse
|
|||
|
||||
if test -e ~/.config/pulse/client.conf
|
||||
rm -rf ~/.config/pulse/client.conf
|
||||
ssh -o StrictHostKeyChecking=no venator.lan systemctl --user restart pipewire-pulse
|
||||
or ssh -o StrictHostKeyChecking=no venator.lan nssm restart pulseaudio
|
||||
systemctl --user start pipewire.socket
|
||||
rebar
|
||||
else
|
||||
killall easyeffects pavucontrol; or killall -9 easyeffects pavucontrol
|
||||
echo "default-server = venator.lan" > ~/.config/pulse/client.conf
|
||||
systemctl --user stop pipewire pipewire-pulse wireplumber
|
||||
echo "default-server = 192.168.1.155" >~/.config/pulse/client.conf
|
||||
systemctl --user stop pipewire.socket pipewire pipewire-pulse wireplumber
|
||||
rebar
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue