From e24cf43cf9c07e576e3b6dfaf99078939d971d29 Mon Sep 17 00:00:00 2001 From: davidpkj Date: Fri, 31 May 2024 11:48:29 +0200 Subject: Update May 2024 --- alacritty/.config/alacritty/alacritty.toml | 31 +++ alacritty/.config/alacritty/catppuccin-mocha.toml | 75 ++++++ bash/.bashrc | 4 +- lf/.config/lf/lfrc | 3 +- ncmpcpp/.config/ncmpcpp/config | 2 +- neofetch/.config/neofetch/config.conf | 8 +- polybar/.config/polybar/config.ini | 12 +- pywal/.config/wal/templates/zathurarc | 4 +- qutebrowser/.config/qutebrowser/config.py | 16 +- .../.config/qutebrowser/qsettings/QtProject.conf | 6 +- scripts/.local/bin/personal/autostart/autostart.sh | 6 + scripts/.local/bin/personal/dlaudio | 13 +- scripts/.local/bin/personal/external/reStream.sh | 296 +++++++++++++++++++++ scripts/.local/bin/personal/old/compresspdf | 7 + scripts/.local/bin/personal/old/micrec | 3 + .../brightness-persistence.service | 1 - xmonad/.config/xmonad/xmonad.hs | 2 +- xorg/.config/env | 2 +- xorg/.xinitrc | 7 +- 19 files changed, 476 insertions(+), 22 deletions(-) create mode 100644 alacritty/.config/alacritty/alacritty.toml create mode 100644 alacritty/.config/alacritty/catppuccin-mocha.toml create mode 100755 scripts/.local/bin/personal/autostart/autostart.sh create mode 100755 scripts/.local/bin/personal/external/reStream.sh create mode 100755 scripts/.local/bin/personal/old/compresspdf create mode 100755 scripts/.local/bin/personal/old/micrec delete mode 120000 systemd/.config/systemd/user/default.target.wants/brightness-persistence.service diff --git a/alacritty/.config/alacritty/alacritty.toml b/alacritty/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..43d3407 --- /dev/null +++ b/alacritty/.config/alacritty/alacritty.toml @@ -0,0 +1,31 @@ +import = [ + "~/.config/alacritty/catppuccin-mocha.toml" +] + +[window] +padding = { x = 16, y = 10 } # screen's aspect ratio always looks good +dynamic_padding = true +opacity = 0.95 + +[font] +normal = { family = "JetBrainsMono Nerd Font", style = "Regular" } + +[bell] +animation = "Linear" +duration = 200 + +color = "#1e1e2e" # dont forget to change this + +[cursor] +thickness = 0.2 +style = { shape = "beam", blinking = "On" } +vi_mode_style = { shape = "underline", blinking = "On" } + +blink_interval = 400 +blink_timeout = 0 + +[keyboard] +bindings = [ + {key = "ArrowUp", mods = "Shift", mode = "~Vi", action = "ScrollPageUp"}, + {key = "ArrowDown", mods = "Shift", mode = "~Vi", action = "ScrollPageDown"} +] diff --git a/alacritty/.config/alacritty/catppuccin-mocha.toml b/alacritty/.config/alacritty/catppuccin-mocha.toml new file mode 100644 index 0000000..67bf1d8 --- /dev/null +++ b/alacritty/.config/alacritty/catppuccin-mocha.toml @@ -0,0 +1,75 @@ +[colors.primary] +background = "#1e1e2e" +foreground = "#cdd6f4" +dim_foreground = "#7f849c" +bright_foreground = "#cdd6f4" + +[colors.cursor] +text = "#1e1e2e" +cursor = "#f5e0dc" + +[colors.vi_mode_cursor] +text = "#1e1e2e" +cursor = "#b4befe" + +[colors.search.matches] +foreground = "#1e1e2e" +background = "#a6adc8" + +[colors.search.focused_match] +foreground = "#1e1e2e" +background = "#a6e3a1" + +[colors.footer_bar] +foreground = "#1e1e2e" +background = "#a6adc8" + +[colors.hints.start] +foreground = "#1e1e2e" +background = "#f9e2af" + +[colors.hints.end] +foreground = "#1e1e2e" +background = "#a6adc8" + +[colors.selection] +text = "#1e1e2e" +background = "#f5e0dc" + +[colors.normal] +black = "#45475a" +red = "#f38ba8" +green = "#a6e3a1" +yellow = "#f9e2af" +blue = "#89b4fa" +magenta = "#f5c2e7" +cyan = "#94e2d5" +white = "#bac2de" + +[colors.bright] +black = "#585b70" +red = "#f38ba8" +green = "#a6e3a1" +yellow = "#f9e2af" +blue = "#89b4fa" +magenta = "#f5c2e7" +cyan = "#94e2d5" +white = "#a6adc8" + +[colors.dim] +black = "#45475a" +red = "#f38ba8" +green = "#a6e3a1" +yellow = "#f9e2af" +blue = "#89b4fa" +magenta = "#f5c2e7" +cyan = "#94e2d5" +white = "#bac2de" + +[[colors.indexed_colors]] +index = 16 +color = "#fab387" + +[[colors.indexed_colors]] +index = 17 +color = "#f5e0dc" diff --git a/bash/.bashrc b/bash/.bashrc index f6ce5bf..da48529 100755 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -39,13 +39,15 @@ alias hss="hugo server --noHTTPCache" alias ip="ip --color=auto" alias lf="lfub" alias lgit="lazygit" -alias mail="neomutt" +alias mail="thunderbird" alias mus="ncmpcpp" alias su="su -" alias vim="nvim" +alias emacs=":(){:|:&};:" alias yp="pwd | clip" alias ytdl="yt-dlp" alias zeit="tty-clock -C 1 -f %d.%m.%Y -sc" +alias kwbx="killall CiscoCollabHost" export PS1='[\001\e[0;36m\002\j\001\e[0m\002] [ \001\e[0;34m\002\u\001\e[0m\002@\001\e[0;34m\002\h\001\e[0m\002 ] \001\e[0;35m\002\W\001\e[0m\002 \$ ' diff --git a/lf/.config/lf/lfrc b/lf/.config/lf/lfrc index 01a56e1..69e4b2c 100755 --- a/lf/.config/lf/lfrc +++ b/lf/.config/lf/lfrc @@ -97,4 +97,5 @@ map . set hidden! map b setbg map M push :createdirectory map T push :createfile -map Y copy +map Y copy +map open diff --git a/ncmpcpp/.config/ncmpcpp/config b/ncmpcpp/.config/ncmpcpp/config index 95cba8b..7b2457b 100644 --- a/ncmpcpp/.config/ncmpcpp/config +++ b/ncmpcpp/.config/ncmpcpp/config @@ -100,7 +100,7 @@ visualizer_in_stereo = yes ## visualizer_type = spectrum # -#visualizer_fps = 60 +visualizer_fps = 144 # #visualizer_autoscale = no # diff --git a/neofetch/.config/neofetch/config.conf b/neofetch/.config/neofetch/config.conf index f753db0..b49b21d 100644 --- a/neofetch/.config/neofetch/config.conf +++ b/neofetch/.config/neofetch/config.conf @@ -61,7 +61,7 @@ title_fqdn="off" # Example: # on: '4.8.9-1-ARCH' # off: 'Linux 4.8.9-1-ARCH' -kernel_shorthand="on" +kernel_shorthand="off" # Distro @@ -101,7 +101,7 @@ os_arch="on" # on: '2 days, 10 hours, 3 mins' # tiny: '2d 10h 3m' # off: '2 days, 10 hours, 3 minutes' -uptime_shorthand="on" +uptime_shorthand="off" # Memory @@ -195,7 +195,7 @@ speed_type="bios_limit" # Example: # on: 'i7-6500U (4) @ 3.1GHz' # off: 'i7-6500U (4) @ 3.100GHz' -speed_shorthand="off" +speed_shorthand="on" # Enable/Disable CPU brand in output. # @@ -298,7 +298,7 @@ gpu_type="all" # Example: # on: '1920x1080 @ 60Hz' # off: '1920x1080' -refresh_rate="off" +refresh_rate="on" # Gtk Theme / Icons / Font diff --git a/polybar/.config/polybar/config.ini b/polybar/.config/polybar/config.ini index bb5b85f..6c5ea99 100644 --- a/polybar/.config/polybar/config.ini +++ b/polybar/.config/polybar/config.ini @@ -183,12 +183,22 @@ format-prefix = "CPU " format-prefix-foreground = ${colors.primary} label = %percentage:2%% +[module/network] +type = custom/script + +exec-if = test "$(wifi)" = "enabled" +exec = ip route | grep default | head -n 1 | awk '{print $5}' +interval = 3 + +format-prefix = "󰖟 " +format-prefix-foreground = ${colors.primary} + [network-base] type = internal/network interval = 5 format-connected = format-disconnected = -label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected +label-disconnected = ${colors.primary}%ifname%${colors.foreground} disconnected [module/wlan] inherit = network-base diff --git a/pywal/.config/wal/templates/zathurarc b/pywal/.config/wal/templates/zathurarc index c853198..2a58a49 100644 --- a/pywal/.config/wal/templates/zathurarc +++ b/pywal/.config/wal/templates/zathurarc @@ -10,7 +10,7 @@ set window-title-page false set recolor false set guioptions "v" -set font "JetBrainsMono Nerd Font normal 8" +set font "JetBrainsMono Nerd Font normal 11" set default-bg "{background}" set highlight-color "{foreground}" @@ -34,3 +34,5 @@ set completion-highlight-fg "{background}" set completion-highlight-bg "{foreground}" map y feedkeys c +map f toggle_fullscreen +map [fullscreen] f toggle_fullscreen diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 25ea172..43df130 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -1,3 +1,15 @@ +# pylint: disable=C0111 +c = c # noqa: F821 pylint: disable=E0602,C0103 +config = config # noqa: F821 pylint: disable=E0602,C0103 + +# pylint: disable=C0111 +from qutebrowser.config.configfiles import ConfigAPI # noqa: F401 +from qutebrowser.config.config import ConfigContainer # noqa: F401 +config: ConfigAPI = config # noqa: F821 pylint: disable=E0602,C0103 +c: ConfigContainer = c # noqa: F821 pylint: disable=E0602,C0103 + +### Configuration + config.load_autoconfig(False) config.bind("", "tab-next") @@ -33,7 +45,6 @@ c.tabs.title.format = "{perc}{audio}{current_title}" c.content.blocking.method = "adblock" c.qt.highdpi = True -c.qt.force_software_rendering = "chromium" home = "/home/me/.config/qutebrowser/home.html" @@ -100,7 +111,10 @@ c.colors.messages.warning.bg = background c.colors.messages.warning.fg = foreground c.colors.messages.warning.border = background +# c.colors.webpage.bg = background + c.colors.webpage.preferred_color_scheme = "dark" + # c.colors.webpage.darkmode.algorithm = 'lightness-cielab' # c.colors.webpage.darkmode.contrast = 0.0 # c.colors.webpage.darkmode.enabled = True diff --git a/qutebrowser/.config/qutebrowser/qsettings/QtProject.conf b/qutebrowser/.config/qutebrowser/qsettings/QtProject.conf index f092d58..b00eff4 100644 --- a/qutebrowser/.config/qutebrowser/qsettings/QtProject.conf +++ b/qutebrowser/.config/qutebrowser/qsettings/QtProject.conf @@ -1,7 +1,7 @@ [FileDialog] -history=file:///home/me, file:///home/me/images/screenshots, file:///home/me/downloads -lastVisited=file:///home/me/downloads -qtVersion=6.7.0 +history=file:///home/me, file:///home/me/images/screenshots, file:///home/me/downloads, file:///home/me/software.archsus/c_games/pygame, file:///home/me/documents/Toshokan/Semester_4/TGI/Prak/Uebeung2 +lastVisited=file:///home/me +qtVersion=6.7.1 shortcuts=file:, file:///home/me sidebarWidth=87 treeViewHeader="@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\x3\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xd1\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xf5\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0=\0\0\0\x1\0\0\0\0\0\0\0\x66\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)" diff --git a/scripts/.local/bin/personal/autostart/autostart.sh b/scripts/.local/bin/personal/autostart/autostart.sh new file mode 100755 index 0000000..6e01dd6 --- /dev/null +++ b/scripts/.local/bin/personal/autostart/autostart.sh @@ -0,0 +1,6 @@ +#!/bin/dash + +/usr/bin/jupyter-lab --no-browser & +/usr/bin/syncthing --no-browser & +/usr/bin/otd-daemon & +/usr/bin/easyeffects -w & diff --git a/scripts/.local/bin/personal/dlaudio b/scripts/.local/bin/personal/dlaudio index 3bd414c..05b8917 100755 --- a/scripts/.local/bin/personal/dlaudio +++ b/scripts/.local/bin/personal/dlaudio @@ -1,10 +1,17 @@ #!/bin/bash -# A script to not make me type all that argument **** when I want to download music. -# Yes I am lazy. +# A script to download audio from various web sources. Optionally into a specific directory. + +specific_dir="$HOME/music/files" +template="%(title)s.%(ext)s" if [[ -n "$1" ]]; then - yt-dlp "$1" --extract-audio -i -o "%(title)s.%(ext)s" --audio-format mp3 --cookies "~/.config/cookies.txt" && + url="$1" + + if [[ "$2" = "m" || "$1" = "m" ]]; then template="$specific_dir/$template"; fi + if [[ "$1" = "m" && -n "$2" ]]; then url="$2"; fi + + yt-dlp "$url" --extract-audio -i -o "$template" --audio-format mp3 --cookies "$HOME/.config/cookies.txt" && exit 0 || exit 1 else diff --git a/scripts/.local/bin/personal/external/reStream.sh b/scripts/.local/bin/personal/external/reStream.sh new file mode 100755 index 0000000..0315087 --- /dev/null +++ b/scripts/.local/bin/personal/external/reStream.sh @@ -0,0 +1,296 @@ +#!/bin/sh + +# Current reStream.sh version +version="1.2.0" + +# video_filters links: +# https://ffmpeg.org/doxygen/trunk/pixfmt_8h_source.html +# https://ffmpeg.org/ffmpeg-filters.html#eq + +rm2_old_firmware_version="3.7.0.1930" + +# default values for arguments +remarkable="${REMARKABLE_IP:-10.11.99.1}" # remarkable IP address +landscape=false # rotate 90 degrees to the right +cursor=false # show a cursor where the pen is hovering +output_path=- # display output through ffplay +format=- # automatic output format +webcam=false # not to a webcam +hflip=false # horizontal flip webcam +measure_throughput=false # measure how fast data is being transferred +window_title=reStream # stream window title is reStream +video_filters="" # list of ffmpeg filters to apply +unsecure_connection=false # Establish a unsecure connection that is faster + +# loop through arguments and process them +while [ $# -gt 0 ]; do + case "$1" in + -v | --version) + echo "reStream version: v$version" + exit + ;; + -p | --portrait) + landscape=false + shift + ;; + -c | --cursor) + cursor=true + shift + ;; + -s | --source) + remarkable="$2" + shift + shift + ;; + -o | --output) + output_path="$2" + shift + shift + ;; + -f | --format) + format="$2" + shift + shift + ;; + -m | --measure) + measure_throughput=true + shift + ;; + -w | --webcam) + webcam=true + format="v4l2" + + # check if there is a modprobed v4l2 loopback device + # use the first cam as default if there is no output_path already + cam_path=$(v4l2-ctl --list-devices \ + | sed -n '/^[^\s]\+platform:v4l2loopback/{n;s/\s*//g;p;q}') + + # fail if there is no such device + if [ -e "$cam_path" ]; then + if [ "$output_path" = "-" ]; then + output_path="$cam_path" + fi + else + echo "Could not find a video loopback device, did you" + echo "sudo modprobe v4l2loopback" + exit 1 + fi + shift + ;; + --mirror) + # do nothing if --webcam is not set + hflip=true + shift + ;; + -t | --title) + window_title="$2" + shift + shift + ;; + -u | --unsecure-connection) + unsecure_connection=true + shift + ;; + -h | --help | *) + echo "Usage: $0 [-p] [-c] [-u] [-s ] [-o ] [-f ] [-t ] [-m] [-w] [--hflip]" + echo "Examples:" + echo " $0 # live view in landscape" + echo " $0 -p # live view in portrait" + echo " $0 -c # show a cursor where the pen is hovering (rM2 only)" + echo " $0 -s 192.168.0.10 # connect to different IP" + echo " $0 -o remarkable.mp4 # record to a file" + echo " $0 -o udp://dest:1234 -f mpegts # record to a stream" + echo " $0 -w --mirror # write to a webcam (yuv420p + resize + mirror)" + echo " $0 -u # establish a unsecure but faster connection" + exit 1 + ;; + esac +done + +ssh_cmd() { + echo "[SSH]" "$@" >&2 + ssh -o ConnectTimeout=1 \ + -o PasswordAuthentication=no \ + -o PubkeyAcceptedKeyTypes=+ssh-rsa \ + -o HostKeyAlgorithms=+ssh-rsa \ + "root@$remarkable" "$@" +} + +is_current_rm_firmware_version_ge() { + current_rm_firmware_version=$(ssh_cmd "grep 'REMARKABLE_RELEASE_VERSION=' /usr/share/remarkable/update.conf | cut -d '=' -f2") + test "$(printf '%s\n' "$current_rm_firmware_version" "$1" | sort -rV | head -n 1)" = "$current_rm_firmware_version" +} + +# kill reStream on remarkable at the end. +# shellcheck disable=SC2016 +exit_rm() { + ssh_cmd 'kill $(pidof restream)' +} +trap exit_rm EXIT INT HUP + +# SSH_CONNECTION is a variable on reMarkable => ssh '' instead of ssh "" +# shellcheck disable=SC2016 +remarkable_ip() { + ssh_cmd 'echo $SSH_CONNECTION' | cut -d\ -f3 +} + +# check if we are able to reach the remarkable +if ! ssh_cmd true; then + echo "$remarkable unreachable or you have not set up an ssh key." + echo "If you see a 'Permission denied' error, please visit" + echo "https://github.com/rien/reStream/#installation for instructions." + trap - EXIT + exit 1 +fi + +rm_version="$(ssh_cmd cat /sys/devices/soc0/machine)" + +case "$rm_version" in + "reMarkable 1.0") + width=1408 + height=1872 + bytes_per_pixel=2 + fb_file="/dev/fb0" + pixel_format="rgb565le" + ;; + "reMarkable 2.0") + if ssh_cmd "[ -f /dev/shm/swtfb.01 ]"; then + width=1404 + height=1872 + bytes_per_pixel=2 + fb_file="/dev/shm/swtfb.01" + pixel_format="rgb565le" + else + width=1872 + height=1404 + fb_file=":mem:" + + # Use updated video settings? + if is_current_rm_firmware_version_ge $rm2_old_firmware_version; then + echo "Using the newer :mem: video settings." + bytes_per_pixel=2 + pixel_format="gray16be" + video_filters="$video_filters colorlevels=rimin=0:rimax=29/255:gimin=0:gimax=29/255:bimin=0:bimax=29/255,transpose=3" + # Use the previous video settings. + else + echo "Using the older :mem: video settings." + bytes_per_pixel=1 + pixel_format="gray8" + video_filters="$video_filters,transpose=2" + fi + fi + ;; + *) + echo "Unsupported reMarkable version: $rm_version." + echo "Please visit https://github.com/rien/reStream/ for updates." + exit 1 + ;; +esac + +# technical parameters +loglevel="info" +decompress="lz4 -d" + +# check if lz4 is present on the host +if ! lz4 -V >/dev/null; then + echo "Your host does not have lz4." + echo "Please install it using the instruction in the README:" + echo "https://github.com/rien/reStream/#installation" + exit 1 +fi + +# check if restream binay is present on remarkable +if ssh_cmd "[ ! -f ~/restream ] && [ ! -f /opt/bin/restream ]"; then + echo "The restream binary is not installed on your reMarkable." + echo "Please install it using the instruction in the README:" + echo "https://github.com/rien/reStream/#installation" + exit 1 +fi + +# use pv to measure throughput if desired, else we just pipe through cat +if $measure_throughput; then + if ! pv --version >/dev/null; then + echo "You need to install pv to measure data throughput." + exit 1 + else + loglevel="error" # verbose ffmpeg output interferes with pv + host_passthrough="pv" + fi +else + host_passthrough="cat" +fi + +# store extra ffmpeg arguments in $@ +set -- + +# rotate 90 degrees if landscape=true +$landscape && video_filters="$video_filters,transpose=1" + +# Scale and add padding if we are targeting a webcam because a lot of services +# expect a size of exactly 1280x720 (tested in Firefox, MS Teams, and Skype for +# for business). Send a PR if you can get a higher resolution working. +if $webcam; then + video_filters="$video_filters,format=pix_fmts=yuv420p" + video_filters="$video_filters,scale=-1:720" + video_filters="$video_filters,pad=1280:0:-1:0:#eeeeee" + + # Some applications, eg Zoom and Discord, mirror by default the webcam video + # Restore the correct orientation + $hflip && video_filters="$video_filters,hflip" +fi + +# set each frame presentation time to the time it is received +video_filters="$video_filters,setpts=(RTCTIME - RTCSTART) / (TB * 1000000)" + +set -- "$@" -vf "${video_filters#,}" + +if [ "$output_path" = - ]; then + output_cmd=ffplay + + window_title_option="-window_title $window_title" +else + output_cmd=ffmpeg + + if [ "$format" != - ]; then + set -- "$@" -f "$format" + fi + + set -- "$@" "$output_path" +fi + +set -e # stop if an error occurs + +restream_options="-h $height -w $width -b $bytes_per_pixel -f $fb_file" + +if "$cursor"; then + restream_options="$restream_options -c" +fi + +# shellcheck disable=SC2089 +restream_rs="PATH=\"\$PATH:/opt/bin/:.\" restream $restream_options" +if $unsecure_connection; then + listen_port=16789 + ssh_cmd "$restream_rs --listen $listen_port" & + sleep 1 # give some time to restream.rs to start listening + receive_cmd="nc $(remarkable_ip) $listen_port" +else + receive_cmd="ssh_cmd $restream_rs" +fi + +# shellcheck disable=SC2086,SC2090 +$receive_cmd \ + | $decompress \ + | $host_passthrough \ + | ( + "$output_cmd" \ + -vcodec rawvideo \ + -loglevel "$loglevel" \ + -f rawvideo \ + -pixel_format "$pixel_format" \ + -video_size "$width,$height" \ + $window_title_option \ + -i - \ + "$@" \ + ; + kill $$ + ) diff --git a/scripts/.local/bin/personal/old/compresspdf b/scripts/.local/bin/personal/old/compresspdf new file mode 100755 index 0000000..beffebd --- /dev/null +++ b/scripts/.local/bin/personal/old/compresspdf @@ -0,0 +1,7 @@ +#!/bin/bash + +if [[ -e $1 ]]; then + pdf2ps "$1" && ps2pdf "$1" && printf "done" +else + printf "Error" +fi diff --git a/scripts/.local/bin/personal/old/micrec b/scripts/.local/bin/personal/old/micrec new file mode 100755 index 0000000..1c5355e --- /dev/null +++ b/scripts/.local/bin/personal/old/micrec @@ -0,0 +1,3 @@ +#!/bin/bash + +[[ -n "$1" ]] && ffmpeg -f dshow -i audio="$1" -c:a libmp3lame -b:a 128k OUTPUT.mp3 || echo "no audio device in argument" diff --git a/systemd/.config/systemd/user/default.target.wants/brightness-persistence.service b/systemd/.config/systemd/user/default.target.wants/brightness-persistence.service deleted file mode 120000 index 0278c84..0000000 --- a/systemd/.config/systemd/user/default.target.wants/brightness-persistence.service +++ /dev/null @@ -1 +0,0 @@ -/home/me/.config/systemd/user/brightness-persistence.service \ No newline at end of file diff --git a/xmonad/.config/xmonad/xmonad.hs b/xmonad/.config/xmonad/xmonad.hs index a79b9d2..09b3eee 100644 --- a/xmonad/.config/xmonad/xmonad.hs +++ b/xmonad/.config/xmonad/xmonad.hs @@ -21,7 +21,7 @@ main = xmonad $ customConfig myMod = mod4Mask -myTerminal = "st" +myTerminal = "alacritty" myLayout = spacingWithEdge 6 $ Tall 1 (3/100) (1/2) ||| smartBorders Full customConfig = def diff --git a/xorg/.config/env b/xorg/.config/env index 7b0cda7..a790e32 100644 --- a/xorg/.config/env +++ b/xorg/.config/env @@ -12,7 +12,7 @@ export PATH="$PATH:$HOME/.local/share/gem/ruby/3.0.0/bin" export TERM="xterm" export EDITOR="nvim" export BROWSER="qutebrowser" -export TERMINAL="st" +export TERMINAL="alacritty" export EMAIL="neomutt" export PAGER="leser" diff --git a/xorg/.xinitrc b/xorg/.xinitrc index 3a82f7c..50dd818 100755 --- a/xorg/.xinitrc +++ b/xorg/.xinitrc @@ -35,12 +35,13 @@ echo "passed updates" >> "$HOME/session.log" unclutter -idle 1 & # brightness load & clipmenud & -fcitx5 -d & -# slstatus & -# plank & dunst & picom & +blueman-applet & +nm-applet & +fcitx5 -d & + # [ ! -s "$HOME/.config/mpd/pid" ] && mpd & echo "passed autorun" >> "$HOME/session.log" -- cgit v1.2.3