Archived
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 alwaysshowpkgorigin = no
develpkgsexpiration = 301 develpkgsexpiration = 301
upgradesorting = versiondiff upgradesorting = versiondiff
showdownloadsize = no showdownloadsize = yes
ignoreoutofdateaurupgrades = no ignoreoutofdateaurupgrades = no
[build] [build]
@ -21,7 +21,7 @@ versiondiffnew = 9
requireenterconfirm = no requireenterconfirm = no
printcommands = no printcommands = no
aursearchsorting = hottest aursearchsorting = hottest
displaylastupdated = no displaylastupdated = yes
groupbyrepository = yes groupbyrepository = yes
reversesearchsorting = no reversesearchsorting = no
@ -32,7 +32,7 @@ debug = no
privilegeescalationtool = sudo privilegeescalationtool = sudo
[review] [review]
noedit = no noedit = yes
donteditbydefault = yes donteditbydefault = yes
nodiff = yes nodiff = yes
gitdiffargs = --ignore-space-change,--ignore-all-space 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" 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 # Spezialitäten für Arch Linux
alias y_clean='pikaur -Rsn $(yaourt -Qqdt)' alias y_clean='pacman -Rs $(pacman -Qtdq)'
alias y_update='pikaur -Syu --aur' alias y_update='pikaur -Syu'
alias y_inst='pikaur -Sy' alias y_inst='pikaur -Sy'
alias y_rem='pikaur -Rsn' 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" bindsym XF86AudioMute exec --no-startup-id "pulsemixer --toggle-mute"
# Sreen brightness controls # Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 5 bindsym XF86MonBrightnessUp exec light -A 5
bindsym XF86MonBrightnessDown exec xbacklight -dec 5 bindsym XF86MonBrightnessDown exec light -U 5
# Toggle WiFi # Toggle WiFi
# [ _$(nmcli radio wifi) == _enabled ] && nmcli radio wifi off || nmcli radio wifi on # [ _$(nmcli radio wifi) == _enabled ] && nmcli radio wifi off || nmcli radio wifi on

View file

@ -5,26 +5,12 @@ export SSH_AUTH_SOCK
## Import exports ## Import exports
source ~/.exports source ~/.exports
## Setup Keyboard ## Setup Keyboard
xmodmap -e 'keycode 135 = Multi_key' # remaps context-menu-key to Compose xmodmap -e 'keycode 135 = Multi_key' # remaps context-menu-key to Compose
## Setup resources ## Setup resources
test -f ~/.local/Xresources && xrdb -merge ~/.local/Xresources 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 ## Setup Screen
test -x ~/.screenlayout/.default && ~/.screenlayout/.default test -x ~/.screenlayout/.default && ~/.screenlayout/.default
test -x ~/.fehbg && ~/.fehbg 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 - less
- libreoffice-fresh - libreoffice-fresh
- licenses - licenses
- light
- lightdm - lightdm
- lightdm-gtk-greeter - lightdm-gtk-greeter
- lightdm-gtk-greeter-settings - lightdm-gtk-greeter-settings
@ -108,7 +109,7 @@
- xautolock - xautolock
- xclip - xclip
- xdot - xdot
- xf86-input-synaptics - xf86-input-libinput
- xorg-apps - xorg-apps
- xorg-xclipboard - xorg-xclipboard
- xorg-server - xorg-server
@ -116,6 +117,14 @@
- zathura - zathura
- zathura-pdf-mupdf - zathura-pdf-mupdf
- name: "Remove unwanted packages"
package:
name: '{{ item }}'
state: absent
update_cache: True
with_items:
- xf86-input-synaptics
- name: "Install Audio System" - name: "Install Audio System"
package: package:
name: '{{ item }}' name: '{{ item }}'
@ -204,6 +213,15 @@
group: root group: root
mode: 0644 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)" - name: "X11: Keyboard (GPD Pocket 2)"
when: "'gpd' in inventory_hostname" when: "'gpd' in inventory_hostname"
copy: copy:
@ -296,3 +314,14 @@
mode: 0644 mode: 0644
content: | content: |
options gpd-pocket-fan temp_limits=40000,40001,40002 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"