1
0
Fork 0
This commit is contained in:
J. Elfring (x) 2021-01-28 22:57:56 +01:00
parent a4f8a2d179
commit ec27fbf5de
6 changed files with 47 additions and 22 deletions

View file

@ -2,7 +2,7 @@
alwaysshowpkgorigin = no
develpkgsexpiration = 301
upgradesorting = versiondiff
showdownloadsize = no
showdownloadsize = yes
ignoreoutofdateaurupgrades = no
[build]
@ -21,7 +21,7 @@ versiondiffnew = 9
requireenterconfirm = no
printcommands = no
aursearchsorting = hottest
displaylastupdated = no
displaylastupdated = yes
groupbyrepository = yes
reversesearchsorting = no
@ -32,7 +32,7 @@ debug = no
privilegeescalationtool = sudo
[review]
noedit = no
noedit = yes
donteditbydefault = yes
nodiff = yes
gitdiffargs = --ignore-space-change,--ignore-all-space

View file

@ -121,8 +121,8 @@ alias l1vim='vim -c "e ++enc=latin1"'
alias get_systemp="paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) <(ls -1 /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t"
# Spezialitäten für Arch Linux
alias y_clean='pikaur -Rsn $(yaourt -Qqdt)'
alias y_update='pikaur -Syu --aur'
alias y_clean='pacman -Rs $(pacman -Qtdq)'
alias y_update='pikaur -Syu'
alias y_inst='pikaur -Sy'
alias y_rem='pikaur -Rsn'

View file

@ -204,8 +204,8 @@ bindsym XF86AudioLowerVolume exec --no-startup-id "pulsemixer --change-volume -5
bindsym XF86AudioMute exec --no-startup-id "pulsemixer --toggle-mute"
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
bindsym XF86MonBrightnessDown exec xbacklight -dec 5
bindsym XF86MonBrightnessUp exec light -A 5
bindsym XF86MonBrightnessDown exec light -U 5
# Toggle WiFi
# [ _$(nmcli radio wifi) == _enabled ] && nmcli radio wifi off || nmcli radio wifi on

View file

@ -5,26 +5,12 @@ export SSH_AUTH_SOCK
## Import exports
source ~/.exports
## Setup Keyboard
xmodmap -e 'keycode 135 = Multi_key' # remaps context-menu-key to Compose
## Setup resources
test -f ~/.local/Xresources && xrdb -merge ~/.local/Xresources
## Setup Touchpad
synclient TapButton1=1 \
TapButton2=3 \
TapButton3=2 \
ClickFinger1=0 \
ClickFinger2=0 \
ClickFinger3=0 \
HorizTwoFingerScroll=1 \
VertTwoFingerScroll=1 \
HorizScrollDelta=-111 \
VertScrollDelta=-111 \
PalmDetect=1
## Setup Screen
test -x ~/.screenlayout/.default && ~/.screenlayout/.default
test -x ~/.fehbg && ~/.fehbg

View file

@ -0,0 +1,10 @@
##### THIS IS MANAGED BY ANSIBLE #####
Section "InputClass"
Identifier "libinput touchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on"
Option "DisableWhileTyping" "on"
#Option "ScrollMethod" "edge"
Option "NaturalScrolling" "true"
EndSection

View file

@ -53,6 +53,7 @@
- less
- libreoffice-fresh
- licenses
- light
- lightdm
- lightdm-gtk-greeter
- lightdm-gtk-greeter-settings
@ -108,7 +109,7 @@
- xautolock
- xclip
- xdot
- xf86-input-synaptics
- xf86-input-libinput
- xorg-apps
- xorg-xclipboard
- xorg-server
@ -116,6 +117,14 @@
- zathura
- zathura-pdf-mupdf
- name: "Remove unwanted packages"
package:
name: '{{ item }}'
state: absent
update_cache: True
with_items:
- xf86-input-synaptics
- name: "Install Audio System"
package:
name: '{{ item }}'
@ -204,6 +213,15 @@
group: root
mode: 0644
- name: "X11: Touchpad"
when: "'gpd' not in inventory_hostname"
copy:
dest: /etc/X11/xorg.conf.d/50-touchpad.conf
src: ./lib/etc/X11/xorg.conf.d/50-touchpad.conf
owner: root
group: root
mode: 0644
- name: "X11: Keyboard (GPD Pocket 2)"
when: "'gpd' in inventory_hostname"
copy:
@ -296,3 +314,14 @@
mode: 0644
content: |
options gpd-pocket-fan temp_limits=40000,40001,40002
- name: "Set Xbacklight permissions by udev"
copy:
dest: /etc/udev/rules.d/90-backlight.rules
owner: root
group: root
mode: 0644
content: |
SUBSYSTEM=="backlight", ACTION=="add", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"