summaryrefslogtreecommitdiff
path: root/X11/xinit
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-24 20:36:04 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-24 20:36:04 +0300
commit805c951522bc5063849b51a729b08bfdf16168df (patch)
tree302b1842142b6b451a7b0a2124e0e1769dbc4816 /X11/xinit
parentc702b3c1d5420be981f67cdc40d62052df87563c (diff)
Adding X11, zsh, nvtop, dmenu and some other tools for wallpapers,
power menus, uploading simple text/binary files. Changes to be committed: new file: X11/Xresources new file: X11/xinit new file: bmenu new file: dmenu.conf new file: nvtop/interface.ini new file: pmenu new file: upload new file: zsh/aliases new file: zsh/env new file: zsh/zshrc
Diffstat (limited to 'X11/xinit')
-rwxr-xr-xX11/xinit54
1 files changed, 54 insertions, 0 deletions
diff --git a/X11/xinit b/X11/xinit
new file mode 100755
index 0000000..463a5a4
--- /dev/null
+++ b/X11/xinit
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+# #
+# ## ~/.xinitrc ## #
+# #
+
+xrandr -s 1920x1080 -r 144 & # target screen resolution
+xset r rate 300 30 & # key repeat delay and speed
+
+xrdb merge ~/.Xresources # resources
+picom & # compositor
+
+# #
+# ## more stuff ## #
+# #
+
+feh --bg-fill --no-fehbg ~/.config/backgrounds/darkflowers.jpg & # wallpaper
+
+synclient ClickPad=1 # buttonless pad
+
+synclient VertTwoFingerScroll=1 # enable vert scroll
+synclient HorizTwoFingerScroll=1 # enable horiz scroll
+
+synclient EmulateTwoFingerMinZ=300 # precision of scroll
+synclient EmulateTwoFingerMinW=300 # precision of scroll
+
+synclient PalmDetect=1 # palm rejection
+synclient PalmMinWidth=10 # size parameter
+synclient PalmMinZ=200 # pressure param
+
+synclient VertScrollDelta=-200 # natural vert
+synclient HorizScrollDelta=-200 # natural horiz
+
+synclient CornerCoasting=0 # eliminate coasting
+synclient CoastingSpeed=0 # eliminate coasting
+
+synclient TapButton1=1 TapButton2=3 ClickFinger3=0 # tap to click
+synclient MinSpeed=1.25 MaxSpeed=2.5 # pointer speed
+synclient AccelFactor=0.025 # acceleration
+
+amixer --card 0 set 'Master' 100 &
+amixer --card 0 set 'Capture' 39 &
+
+sxhkd -c $HOME/.config/keybinds & # keybindings
+
+eval $(dbus-dbus-launch --sh-syntax --exit-with-x11) # dbus session
+dbus-run-session pipewire &
+
+exec slstatus & # statusbar
+
+while :;
+do
+ ssh-agent dwm
+done