-
Notifications
You must be signed in to change notification settings - Fork 0
/
executable_dot_xsession
65 lines (47 loc) · 1.27 KB
/
executable_dot_xsession
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
# idk lmao
# without this line QT apps take forever to start
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
# Make sure screen gets locked when lid is closed
light-locker --lock-on-lid &
# playerctl
playerctld daemon
# blur
picom --experimental-backends &
# screenshots
flameshot &
# turn off beeps
xset b off
xset b 0 0 0
# Curser rate
xset r rate 250 45
# turn off screen saver
xset dpms 0 0 0
xset s off
# align two monitors
xrandr --output eDP-1 --auto --output HDMI-1 --left-of eDP-1
# mirror two monitors
# xrandr --output eDP-1 --auto --output HDMI-1 --same-as eDP-1
# Use qt5
export QT_QPA_PLATFORMTHEME="qt5ct"
# Enable tap to click on touchpad
xinput set-prop "Synaptics TM3383-002" "libinput Tapping Enabled" 1
# https://wiki.archlinux.org/index.php/arduino#Application_not_resizing_with_WM,_menus_immediately_closing
wmname compiz
export AWT_TOOLKIT=MToolkit
# MATLAB
# export MATLAB_JAVA=/usr/lib/jvm/java-8-openjdk/jre
export _JAVA_AWT_WM_NONREPARENTING=1
# Fix segfault during Burp Suite startup
export app_java_home=/usr/lib/jvm/java-21-openjdk
# numlock
numlockx &
# Discord custom css
$HOME/.local/bin/discocss &
# bspwm
sxhkd &
exec bspwm