laptop settings

This commit is contained in:
Michael Chalupiak 2024-09-05 20:01:50 -04:00
parent 17dbc52c52
commit a6dfb0a474
5 changed files with 24 additions and 10 deletions

View File

@ -1,5 +1,5 @@
! High DPI Settings for Window Managers ! High DPI Settings for Window Managers
!Xft.dpi: 192 Xft.dpi: 192
#include ".theme.xresources" #include ".theme.xresources"
font: monospace:12 font: monospace:12

View File

@ -1,8 +1,16 @@
export PATH="${PATH}:$HOME/.scripts"
source ~/.profile source ~/.profile
source ~/.bashrc
# Added by Toolbox App # Added by Toolbox App
export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts" 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

View File

@ -3,7 +3,10 @@ if [ "$XDG_SESSION_DESKTOP" = "sway" ] ; then
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
export STUDIO_JDK=/usr/lib/jvm/java-11-openjdk/ export STUDIO_JDK=/usr/lib/jvm/java-11-openjdk/
fi 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 # Added by Toolbox App
export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts" export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts"

View File

@ -1,10 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DATE=$(date +'%Y-%m-%d %I:%M:%S %p') 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=$(pactl get-sink-volume @DEFAULT_SINK@ | tr "," "\n" | grep \% | sed s/Volume\:// | sed 's/\%.*$//' | sed 's/^.*\///' | head -n1 | sed s/\ *//)
VOL="${VOL}%" VOL="${VOL}%"
MUTED=$(pactl get-sink-mute @DEFAULT_SINK@ | cut -d\ -f2) 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) MEM=$(free -h | sed 's/[ ]\+/:/g' | cut -d\: -f4 | tr "\n" ":" | cut -d\: -f2)
USER=$(id -u -n) USER=$(id -u -n)
HOST=$(cat /proc/sys/kernel/hostname) HOST=$(cat /proc/sys/kernel/hostname)

View File

@ -1,7 +1,10 @@
export PATH="${PATH}:$HOME/.scripts:~/.local/share/gem/ruby/3.0.0/bin" export PATH="${PATH}:$HOME/.scripts:~/.local/share/gem/ruby/3.0.0/bin"
#export GDK_SCALE=2 export GDK_SCALE=2
#export GDK_DPI_SCALE=0.5 export GDK_DPI_SCALE=0.5
export XCURSOR_SIZE=32
#sxhkd -c $HOME/.config/berry/sxhkdrc & #sxhkd -c $HOME/.config/berry/sxhkdrc &
xrandr --output eDP-1 --scale 1.25x1.25
# autorandr -c
# xrandr --output DisplayPort-0 --rate 165 # xrandr --output DisplayPort-0 --rate 165
autorandr -c
$HOME/.fehbg $HOME/.fehbg