From a6dfb0a474e8d63786839d92864e0f5c445ad9db Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Thu, 5 Sep 2024 20:01:50 -0400 Subject: [PATCH] laptop settings --- config/.Xresources | 2 +- config/.bash_profile | 14 +++++++++++--- config/.profile | 5 ++++- config/.scripts/bar.sh | 4 ++-- config/.xprofile | 9 ++++++--- 5 files changed, 24 insertions(+), 10 deletions(-) diff --git a/config/.Xresources b/config/.Xresources index e236182..6ebbe82 100644 --- a/config/.Xresources +++ b/config/.Xresources @@ -1,5 +1,5 @@ ! High DPI Settings for Window Managers -!Xft.dpi: 192 +Xft.dpi: 192 #include ".theme.xresources" font: monospace:12 diff --git a/config/.bash_profile b/config/.bash_profile index 9429ccb..8460d4e 100644 --- a/config/.bash_profile +++ b/config/.bash_profile @@ -1,8 +1,16 @@ -export PATH="${PATH}:$HOME/.scripts" source ~/.profile -source ~/.bashrc - # Added by Toolbox App export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts" +export PATH="${PATH}:$HOME/.scripts:$HOME/maple2022/bin:$HOME/intelFPGA_lite/18.1/quartus/bin:$HOME/intelFPGA_lite/18.1/modelsim_ase/bin" +export _JAVA_AWT_WM_NONREPARENTING=1 +export XDG_CURRENT_DESKTOP=sway +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 diff --git a/config/.profile b/config/.profile index 0161957..9df037e 100644 --- a/config/.profile +++ b/config/.profile @@ -3,7 +3,10 @@ if [ "$XDG_SESSION_DESKTOP" = "sway" ] ; then export _JAVA_AWT_WM_NONREPARENTING=1 export STUDIO_JDK=/usr/lib/jvm/java-11-openjdk/ fi - +export PATH="${PATH}:$HOME/.scripts:$HOME/.emacs.d/bin:$HOME/.local/share/gem/ruby/3.0.0/bin" +source ~/.bashrc +export QSYS_ROOTDIR="/home/mikec/intelFPGA_lite/18.1/quartus/sopc_builder/bin" +export CLASSPATH="/usr/share/java/junit.jar:/usr/share/java/hamcrest/core.jar" # Added by Toolbox App export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts" diff --git a/config/.scripts/bar.sh b/config/.scripts/bar.sh index ee82b04..76fbf22 100755 --- a/config/.scripts/bar.sh +++ b/config/.scripts/bar.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash DATE=$(date +'%Y-%m-%d %I:%M:%S %p') -# BAT=$(cat /sys/class/power_supply/BAT1/capacity) +BAT=$(cat /sys/class/power_supply/BAT1/capacity) VOL=$(pactl get-sink-volume @DEFAULT_SINK@ | tr "," "\n" | grep \% | sed s/Volume\:// | sed 's/\%.*$//' | sed 's/^.*\///' | head -n1 | sed s/\ *//) VOL="${VOL}%" MUTED=$(pactl get-sink-mute @DEFAULT_SINK@ | cut -d\ -f2) -# BRIGHT=$(brightnessctl | tr "\n" " " | cut -d\ -f9 | tr -d "()%") +BRIGHT=$(brightnessctl | tr "\n" " " | cut -d\ -f9 | tr -d "()%") MEM=$(free -h | sed 's/[ ]\+/:/g' | cut -d\: -f4 | tr "\n" ":" | cut -d\: -f2) USER=$(id -u -n) HOST=$(cat /proc/sys/kernel/hostname) diff --git a/config/.xprofile b/config/.xprofile index 4948809..0a4f6a1 100644 --- a/config/.xprofile +++ b/config/.xprofile @@ -1,7 +1,10 @@ + export PATH="${PATH}:$HOME/.scripts:~/.local/share/gem/ruby/3.0.0/bin" -#export GDK_SCALE=2 -#export GDK_DPI_SCALE=0.5 +export GDK_SCALE=2 +export GDK_DPI_SCALE=0.5 +export XCURSOR_SIZE=32 #sxhkd -c $HOME/.config/berry/sxhkdrc & +xrandr --output eDP-1 --scale 1.25x1.25 +# autorandr -c # xrandr --output DisplayPort-0 --rate 165 -autorandr -c $HOME/.fehbg