Compare commits

..

3 Commits

Author SHA1 Message Date
Michael Chalupiak
9cc5ae5c86 Merge branch 'master' into arch-laptop 2024-11-12 19:28:57 -05:00
Michael Chalupiak
d0c2f9551f commit 2024-11-12 19:26:18 -05:00
Michael Chalupiak
855ee6fe93 hls 2024-11-12 19:24:28 -05:00
8 changed files with 19 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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({

View File

@ -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

View File

@ -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.

1
config/.scripts/webcam Executable file
View File

@ -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)

View File

@ -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