-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xprofile
executable file
·62 lines (52 loc) · 2.33 KB
/
.xprofile
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
#!/usr/bin/env bash
# /usr/lib/xfce4/notifyd/xfce4-notifyd &
# Make sure this is before the 'exec' command or it won't be sourced.
# [ -f /etc/xprofile ] && source /etc/xprofile
## Monitor config:
~/bin/monitor-control.sh
# xrandr --output VGA1 --mode 1280x1024 --rotate left --auto --dpi 100
# xrandr --output HDMI1 --mode 1680x1050 --dpi 100 &
# xrandr --output HDMI1 --mode 1680x1050 --dpi 100 --rotate left --pos 1920x0 --output HDMI2 --mode 1920x1080i --pos 1920x0
# xrandr --output HDMI1 --mode 1680x1050 --rotate left 106 --output HDMI2 --mode 1920x1080 --left-of HDMI1 --primary --dpi 106 &
#xrandr --output HDMI1 --mode 1680x1050 --rotate left --dpi 102 --output HDMI2 --mode 1920x1080 --right-of HDMI1 --primary --dpi 102 &
#xrandr --output DP-1 --auto --rotate normal --output LVDS-1 --off
#xrandr --output HDMI1 --auto --dpi 120 --rotate left --output HDMI2 --mode 1920x1080 --right-of HDMI1 --primary --dpi 120
#xrandr --output HDMI1 --mode 1680x1050 --rotate normal --dpi 100 --primary --output HDMI2 --off &
#xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
# keyboard conf:
#setxkbmap -layout us,ru -option terminate:ctrl_alt_bksp,grp:caps_toggle,grp_led:caps &
# localectl set-x11-keymap us,ru "microsoft7000" "" "terminate:ctrl_alt_bksp,grp:caps_toggle,grp_led:caps"
if [ -s ~/.Xmodmap ]; then
xmodmap ~/.Xmodmap &
fi
# Keyboard settings
if [ -s ~/.xbindkeysrc ]; then
xbindkeys -f ~/.xbindkeysrc &
fi
#xinput --set-prop 10 "libinput Natural Scrolling Enabled" 1
if [[ ! -d ~/.cache/awesome ]]
then
mkdir ~/.cache/awesome/
fi
#xcompmgr -fF -I-.002 -O-.003 -D1 &
# gpg-connect-agent updatestartuptty /bye >> /dev/null &
if [ -s ~/.Xresources ]; then
xrdb -merge ~/.Xresources &
fi
export GDK_SCALE=1.5
export QT_AUTO_SCREEN_SCALE_FACTOR=1.5
export XDG_CURRENT_DESKTOP=GNOME
export QT_QPA_PLATFORMTHEME="qt5ct"
export GTK_THEME=Adwaita
#export GTK2_RC_FILES=~/.themes/lovelace/gtk-2.0/gtkrc
# Gnome Services
#exec gnome-session --debug &
# exec gnome-session --debug &
exec /usr/bin/awesome >> ~/.cache/awesome/stdout 2>&1
# exec xfce4-session > ~/.cache/awesome/xfce4-session.log 2>&1
# exec ck-launch-session dbus-launch --exit-with-session /usr/bin/awesome
# exec ck-launch-session /usr/bin/awesome >> ~/.cache/awesome/stderr 2&1
# *)
# echo "\$1 == $1"
# exec ck-launch-session dbus-launch --exit-with-session /usr/bin/i3;;
#esac