From 4b0c3ab55704bc3d9b81fd9ff2338096c7e59d2b Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Tue, 7 Jan 2025 23:52:03 -0500 Subject: [PATCH] Random configu updates --- config/dunst/dunstrc | 6 ++--- config/starship.toml | 4 +-- home/.xinitrc | 61 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 5 deletions(-) create mode 100644 home/.xinitrc diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc index 58b1455..a7c51fb 100644 --- a/config/dunst/dunstrc +++ b/config/dunst/dunstrc @@ -1,5 +1,5 @@ [global] - frame_width = 1 + frame_width = 0 frame_color = "#888694" font = FiraCode Nerd Font 11 @@ -189,8 +189,8 @@ timeout = 5 [urgency_normal] - background = "#191919" - foreground = "#BBBBBB" + background = "#66A5AD" + foreground = "#191919" timeout = 5 [urgency_critical] diff --git a/config/starship.toml b/config/starship.toml index b0f7530..e978942 100644 --- a/config/starship.toml +++ b/config/starship.toml @@ -163,6 +163,6 @@ truncate_to_repo = false style = 'bold #BBBBBB' [character] -success_symbol = "[❯](bold green)" -error_symbol = "[❯](bold red)" +success_symbol = "[󰜴](bold green)" +error_symbol = "[󰬅](bold red)" vicmd_symbol = "[N](bold green)" diff --git a/home/.xinitrc b/home/.xinitrc new file mode 100644 index 0000000..01dc299 --- /dev/null +++ b/home/.xinitrc @@ -0,0 +1,61 @@ +# xinput set-prop 13 291 0, 0, 1!/bin/sh + +userresources=$HOME/.Xresources + +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +setxkbmap -option caps:escape +if [ -f $sysresources ]; then + xrdb -merge $sysresources +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f "$userresources" ]; then + xrdb -merge "$userresources" +fi + +if [ -f "$usermodmap" ]; then + xmodmap "$usermodmap" +fi + +# start some nice programs + +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +export PATH="$PATH:/home/aselimov/bin:/home/aselimov/.local/bin:/home/aselimov/scripts" +xinput set-prop "DualPoint Stick" "libinput Accel Speed" 0.8 +export BROWSER=/usr/bin/firefox +export EDITOR=/usr/bin/nvim +export XDG_RUNTIME_DIR=/tmp/aselimov + +#Set mouse button settings +xinput set-prop "PS/2 Generic Mouse" "libinput Middle Emulation Enabled" 1 +synclient TouchpadOff=1 +#synclient TapButton1=0 +xrandr | grep "2560x1440" && dock.sh || mobile.sh + +# set trackpoint settings +xinput --set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 1.0 +xinput --set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Profile Enabled" 0 1 + +exec sxhkd & +exec mpd & +exec mpdnotif.sh & +exec picom -b --blur-background-fixed --blur-method dual_kawase --blur-strength 3 --backend glx -f -D 3 --fade-exclude "class_g~='slop'" --blur-background-exclude "class_g~='slop'" --corner-radius 10 --rounded-corners-exclude "class_g~='dwm'" & +exec wallpaper_randomizer.sh & +exec dwmblocks & +wmname LG3D & +exec dbus-launch --sh-syntax --exit-with-session dwm +