diff --git a/config/.bash_profile b/config/.bash_profile index 8460d4e..bd3b66b 100644 --- a/config/.bash_profile +++ b/config/.bash_profile @@ -10,7 +10,13 @@ source ~/.bashrc export QSYS_ROOTDIR="/home/mikec/intelFPGA_lite/18.1/quartus/sopc_builder/bin" export VERSION_CONTROL="never" -# opam configuration -test -r /home/mikec/.opam/opam-init/init.sh && . /home/mikec/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true - # exec hilbish -S -l + + +# 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/mikec/.opam/opam-init/init.sh' && . '/home/mikec/.opam/opam-init/init.sh' > /dev/null 2> /dev/null || true +# END opam configuration diff --git a/config/.bashrc b/config/.bashrc index 4dc2db7..4369dcf 100644 --- a/config/.bashrc +++ b/config/.bashrc @@ -171,4 +171,5 @@ alias ssh='TERM="xterm-256color" ssh' export DISABLE_TELEMETRY=YES -[ -f "/home/mikec/.ghcup/env" ] && . "/home/mikec/.ghcup/env" # ghcup-env + +[ -f "/home/mikec/.ghcup/env" ] && . "/home/mikec/.ghcup/env" # ghcup-env \ No newline at end of file diff --git a/config/.config/bspwm/bspwmrc b/config/.config/bspwm/bspwmrc index 29dd65b..279096b 100755 --- a/config/.config/bspwm/bspwmrc +++ b/config/.config/bspwm/bspwmrc @@ -4,6 +4,7 @@ sxhkd & xsetroot -cursor_name left_ptr pgrep bspswallow || bspswallow & +pgrep statnot || statnot & # polybar example & #~/.scripts/panel.sh if [ $(pgrep polybar) ]; then diff --git a/config/.config/nvim/after/plugin/lsp.lua b/config/.config/nvim/after/plugin/lsp.lua index 3feb871..885ea7d 100755 --- a/config/.config/nvim/after/plugin/lsp.lua +++ b/config/.config/nvim/after/plugin/lsp.lua @@ -27,6 +27,8 @@ lsp_config.nim_langserver.setup{ } } +lsp_config.hls.setup{} + local cmp = require("cmp") local cmp_select = {behavior = cmp.SelectBehavior.Select} local cmp_mappings = lsp.defaults.cmp_mappings({ diff --git a/config/.profile b/config/.profile index b62707c..2f8eede 100644 --- a/config/.profile +++ b/config/.profile @@ -12,4 +12,5 @@ export CLASSPATH="/usr/share/java/junit.jar:/usr/share/java/hamcrest/core.jar" export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts" + [ -f "/home/mikec/.ghcup/env" ] && . "/home/mikec/.ghcup/env" # ghcup-env \ No newline at end of file diff --git a/config/.scripts/mounter b/config/.scripts/mounter index 389f2d3..6710b20 100755 --- a/config/.scripts/mounter +++ b/config/.scripts/mounter @@ -57,7 +57,7 @@ test -n "$alldrives" # Feed all found drives to dmenu and get user choice. chosen="$(echo "$alldrives" | dmenu -p "Mount which drive?" -i)" - +# # Function for prompting user for a mountpoint. getmount(){ mp="$(find /mnt /media /mount /home -maxdepth 1 -type d 2>/dev/null | dmenu -i -p "Mount this drive where?")" @@ -110,6 +110,7 @@ case "$chosen" in 📱*) notify-send "❗Note" "Remember to allow file access on your phone now." + echo "here" getmount number="${chosen%%:*}" number="${chosen:1}" # This is a bashism. diff --git a/config/.scripts/webcam b/config/.scripts/webcam new file mode 100755 index 0000000..6c61514 --- /dev/null +++ b/config/.scripts/webcam @@ -0,0 +1 @@ +mpv --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=input_format=mjpeg --untimed --no-cache --no-osc --no-input-default-bindings --profile=low-latency --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1) diff --git a/config/.xprofile b/config/.xprofile index 0a4f6a1..1bc962b 100644 --- a/config/.xprofile +++ b/config/.xprofile @@ -1,8 +1,8 @@ - export PATH="${PATH}:$HOME/.scripts:~/.local/share/gem/ruby/3.0.0/bin" export GDK_SCALE=2 export GDK_DPI_SCALE=0.5 export XCURSOR_SIZE=32 +export SUDO_ASKPASS=ksshaskpass #sxhkd -c $HOME/.config/berry/sxhkdrc & xrandr --output eDP-1 --scale 1.25x1.25 # autorandr -c