diff --git a/configDots/pikaur.conf b/configDots/pikaur.conf index 2902607..2d9c3e8 100644 --- a/configDots/pikaur.conf +++ b/configDots/pikaur.conf @@ -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 diff --git a/simpleDots/aliases b/simpleDots/aliases index e459cf4..22ddfc0 100644 --- a/simpleDots/aliases +++ b/simpleDots/aliases @@ -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' diff --git a/simpleDots/i3/config b/simpleDots/i3/config index dbed639..0652e1f 100644 --- a/simpleDots/i3/config +++ b/simpleDots/i3/config @@ -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 diff --git a/simpleDots/xprofile b/simpleDots/xprofile index df5a113..2aeb4ee 100644 --- a/simpleDots/xprofile +++ b/simpleDots/xprofile @@ -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 diff --git a/sysconfig_arch/lib/etc/X11/xorg.conf.d/50-touchpad.conf b/sysconfig_arch/lib/etc/X11/xorg.conf.d/50-touchpad.conf new file mode 100644 index 0000000..8472b0d --- /dev/null +++ b/sysconfig_arch/lib/etc/X11/xorg.conf.d/50-touchpad.conf @@ -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 diff --git a/sysconfig_arch/workstation.yaml b/sysconfig_arch/workstation.yaml index de34bc2..c8bc6c0 100644 --- a/sysconfig_arch/workstation.yaml +++ b/sysconfig_arch/workstation.yaml @@ -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"