Everything now seems to work in harmony with all environments
parent
aa86cda075
commit
50a47a6b76
|
@ -63,6 +63,7 @@ xclip
|
|||
xdg-user-dirs
|
||||
xdotool
|
||||
xorg-server
|
||||
xorg-xev
|
||||
xorg-xinit
|
||||
xorg-xrandr
|
||||
xsel
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
# STARTING CONFIGURATION
|
||||
##################################
|
||||
|
||||
# ALSA keybinding
|
||||
# ALSA keybinding (won't work with some keyboards... scroll in polybar in that case)
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 5%+
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id aimxer -D hw:PCH -M sset Master 5%-
|
||||
bindsym XF86AudioMute exec --no-startup-id amixer -D hw:PCH -M sset 'Master' toggle
|
||||
|
||||
# Luminosity on laptop (not xorg-xbacklight but the compatible and working acpilight)
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 -steps 200
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 -steps 200
|
||||
bindsym XF86KbdBrightnessDown exec --no-startup-id xbacklight -ctrl asus::kbd_backlight -dec 30
|
||||
bindsym XF86KbdBrightnessUp exec --no-startup-id xbacklight -ctrl asus::kbd_backlight -inc 30
|
||||
# Luminosity on laptop
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set +10%
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set 10%-
|
||||
bindsym XF86KbdBrightnessDown exec --no-startup-id brightnessctl -d asus::kbd_backlight set +10%
|
||||
bindsym XF86KbdBrightnessUp exec --no-startup-id brightnessctl -d asus::kbd_backlight set 10%-
|
||||
|
||||
# Only dunst seems to care about this setting
|
||||
exec xrandr --dpi 90
|
||||
|
@ -20,10 +20,12 @@ exec xrandr --dpi 90
|
|||
# PROGRAMS STARTED AUTOMATICALLY
|
||||
##################################
|
||||
|
||||
# set mouse acceleration
|
||||
# set mouse acceleration for various types of devices so it works on multiple laptops
|
||||
exec --no-startup-id xinput set-prop 'FocalTechPS/2 FocalTech Touchpad' 'libinput Accel Speed' 0.8
|
||||
exec --no-startup-id xinput set-prop 'Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)' 'libinput Accel Speed' 0.8
|
||||
|
||||
exec --no-startup-id xinput set-prop "Asus TouchPad" "libinput Accel Speed" 0.5
|
||||
# That one supports tapping but is disabled by default!
|
||||
exec --no-startup-id xinput set-prop "Asus TouchPad" "libinput Tapping Enabled" 1
|
||||
##################################
|
||||
# BINDINGS FOR STARTING PROGRAMS
|
||||
##################################
|
||||
|
|
|
@ -286,6 +286,7 @@ bar-width = 10
|
|||
bar-indicator = |
|
||||
bar-fill = ─
|
||||
bar-empty = ─
|
||||
enable-scroll = true
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video $sys$devpath/brightness", RUN+="/bin/chmod g+w $sys$devpath/brightness"
|
|
@ -0,0 +1 @@
|
|||
/etc/udev/rules.d
|
|
@ -88,7 +88,6 @@ CONFIG=${XDG_CONFIG_HOME:-$HOME/.config}
|
|||
ENV=${1}
|
||||
|
||||
for m in ${MERGE_DIRS}; do
|
||||
echo ${m}
|
||||
if [ -f "${CONFIG}/${m}/${MERGE_CONFIG_FOLDER}/above" ]; then
|
||||
merge_config $m ${ENV} true
|
||||
else
|
||||
|
@ -125,6 +124,8 @@ if [ ! -z "$INIT" ]; then
|
|||
# Basic directory structure
|
||||
echo -e "* Create base home directories..."
|
||||
mkdir -p ~/documents ~/images/screenshots ~/videos ~/downloads
|
||||
echo -e "* Allow user to control brightness..."
|
||||
sudo usermod $(whoami) -aG video
|
||||
fi
|
||||
|
||||
if [ ! -z ${ENV} ]; then
|
||||
|
|
Loading…
Reference in New Issue