mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
pacman: parallel downloads; xfce4: thunar, background, suspend-on-power-button, cursor size
This commit is contained in:
parent
f395b73cc3
commit
14b9dd7701
@ -25,7 +25,8 @@ CPU_VENDOR=autodetect
|
||||
BIOS_TYPE=uefi
|
||||
|
||||
# If set to "1", then the data, boot and luks partitions
|
||||
# will be left mounted/opened after installation
|
||||
# will be left mounted/opened for manual inspection
|
||||
# after the installation
|
||||
LEAVE_MOUNTED=1
|
||||
|
||||
PACSTRAP_INTERACTIVE=1
|
||||
@ -41,12 +42,13 @@ ADDITIONAL_PKGS=()
|
||||
ADDITIONAL_PKGS+=('mkinitcpio' 'de-p1st-kernel-lts' 'de-p1st-ucode-placeholder' 'virtualbox-guest-utils')
|
||||
#
|
||||
# XFCE4 desktop with HiDPI
|
||||
ADDITIONAL_PKGS+=('de-p1st-gpu-generic' 'de-p1st-xfce4-hidpi' 'de-p1st-sddm-autologin-yoda' 'de-p1st-sddm-tablet')
|
||||
ADDITIONAL_PKGS+=('de-p1st-gpu-generic' 'de-p1st-xfce4-hidpi' 'de-p1st-sddm-tablet')
|
||||
#
|
||||
# smartcard
|
||||
ADDITIONAL_PKGS+=('de-p1st-smartcard')
|
||||
# other programs
|
||||
ADDITIONAL_PKGS+=('signal-desktop' 'nextcloud-client' 'keepassxc' 'xournalpp' 'intellij-idea-ultimate-edition' 'intellij-idea-ultimate-edition-jre')
|
||||
ADDITIONAL_PKGS+=('signal-desktop' 'nextcloud-client' 'keepassxc' 'xournalpp')
|
||||
ADDITIONAL_PKGS+=('intellij-idea-ultimate-edition' 'intellij-idea-ultimate-edition-jre')
|
||||
# gallery / image viewer
|
||||
ADDITIONAL_PKGS+=('nomacs' 'qt5-imageformats')
|
||||
#
|
||||
|
@ -2,7 +2,7 @@
|
||||
_pkgname=pacman
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.1.0
|
||||
pkgver=0.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="pacman with configuration"
|
||||
arch=('any')
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
cat
|
||||
|
||||
# Enable parallel downloads
|
||||
sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
|
||||
|
||||
# Include de-p1st mirror
|
||||
echo 'Include = /etc/pacman.d/de-p1st'
|
||||
|
@ -2,7 +2,7 @@
|
||||
_pkgname=xfce4-hidpi
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.5
|
||||
pkgver=0.0.6
|
||||
pkgrel=1
|
||||
pkgdesc="HiDPI for XFCE4"
|
||||
arch=('any')
|
||||
@ -19,8 +19,9 @@ package() {
|
||||
cd "${_reponame}/pkg/${pkgname}"
|
||||
|
||||
install -Dm0544 xsettings.xml.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.holoscript
|
||||
install -Dm0544 thunar.xml.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/thunar.xml.holoscript
|
||||
|
||||
install -Dm0644 99_hidpi.sh "$pkgdir"/etc/profile.d/99_hidpi.sh
|
||||
|
||||
install -Dm0644 p1st-hidpi.conf "$pkgdir"/etc/sddm.conf.d/p1st-hidpi.conf
|
||||
install -Dm0644 p1st-hidpi.conf "$pkgdir"/etc/sddm.conf.d/p1st-hidpi.conf
|
||||
}
|
||||
|
@ -1,3 +1,6 @@
|
||||
WindowScalingFactor
|
||||
99_hidpi.sh -> QT_AUTO_SCREEN_SCALE_FACTOR and QT_FONT_DPI
|
||||
sddm HiDpi
|
||||
sddm HiDpi
|
||||
|
||||
TODO: cursor size 32
|
||||
TODO: thunar settings
|
9
pkg/de-p1st-xfce4-hidpi/thunar.xml.holoscript
Normal file
9
pkg/de-p1st-xfce4-hidpi/thunar.xml.holoscript
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
|
||||
# Decrease size
|
||||
sed '
|
||||
s|<!-- Anchor1 for de-p1st-xfce4-hidpi -->|<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_75_PERCENT"/>|;
|
||||
s|<!-- Anchor2 for de-p1st-xfce4-hidpi -->|<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_50_PERCENT"/>|;
|
||||
' <<< "$stdin"
|
@ -2,5 +2,18 @@
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
|
||||
# Double Windows Scaling Factor
|
||||
sed 's|<property name="WindowScalingFactor" type="int" value="1"/>|<property name="WindowScalingFactor" type="int" value="2"/>|'
|
||||
# save stdin in variable
|
||||
stdin=$(cat)
|
||||
|
||||
# assert WindowScalingFactor is as expected
|
||||
echo "$stdin" | grep --quiet '<property name="WindowScalingFactor" type="int" value="1"/>'
|
||||
|
||||
# assert CursorThemeSize is as expected
|
||||
echo "$stdin" | grep --quiet '<property name="CursorThemeSize" type="int" value="0"/>'
|
||||
|
||||
# 1. Double WindowScalingFactor
|
||||
# 2.Increase cursor size to 32
|
||||
sed '
|
||||
s|<property name="WindowScalingFactor" type="int" value="1"/>|<property name="WindowScalingFactor" type="int" value="2"/>|;
|
||||
s|<property name="CursorThemeSize" type="int" value="0"/>|<property name="CursorThemeSize" type="int" value="32"/>|;
|
||||
' <<< "$stdin"
|
||||
|
@ -2,7 +2,7 @@
|
||||
_pkgname=xfce4
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.17
|
||||
pkgver=0.0.18
|
||||
pkgrel=1
|
||||
pkgdesc="XFCE4 with configuration"
|
||||
arch=('any')
|
||||
@ -76,18 +76,7 @@ package() {
|
||||
# (It will not be copied to ~/.config/xfce4/xfconf/xfce-perchannel-xml/*.xml)
|
||||
# Thus we place it in the skeleton for new users!
|
||||
|
||||
# === higher screen resolution in a VM ===
|
||||
# config/xfce4/xfconf/xfce4-perchannel-xml/displays.xml
|
||||
# === desktop ===
|
||||
# config/xfce4/xfconf/xfce4-perchannel-xml/xfce4-desktop.xml
|
||||
# === workspaces ===
|
||||
# config/xfce4/xfconf/xfce4-perchannel-xml/xfwm4.xml
|
||||
# === panel ===
|
||||
# config/xfce4/xfconf/xfce4-perchannel-xml/xfce4-panel.xml
|
||||
# config/xfce4/panel/launcher-8/16218680691.desktop
|
||||
# === Whisker Menu ===
|
||||
# config/xfce4/panel/whiskermenu-7.rc
|
||||
#
|
||||
# See comments in individual files in directory "config"
|
||||
mkdir -p "$pkgdir"/etc/skel/
|
||||
cp -ra config "$pkgdir"/etc/skel/.config
|
||||
|
||||
|
@ -1,8 +1,16 @@
|
||||
.face shown in Whisker Menu
|
||||
desktop-icons on primary display is set to "true"
|
||||
2 workspaces (instead of 4)
|
||||
"screenshot" launcher works
|
||||
lower (2nd) panel removed
|
||||
Whisker Menu:
|
||||
-> .face shown as user icon
|
||||
-> Firefox as favourite top right
|
||||
|
||||
TODO: Whisker Menu: Favourite: Firefox
|
||||
TODO: depend on "de-p1st-wallpaper" and use this for xfce
|
||||
desktop-icons on primary display is set to "true"
|
||||
|
||||
Panel1:
|
||||
-> 2 workspaces (instead of 4)
|
||||
-> "screenshot" launcher works
|
||||
|
||||
Panel2:
|
||||
-> lower (2nd) panel removed
|
||||
|
||||
TODO: power manager settings
|
||||
TODO: wallpaper
|
||||
TODO: thunar settings
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="thunar" version="1.0">
|
||||
<!-- Change view -->
|
||||
<property name="last-view" type="string" value="ThunarDetailsView"/>
|
||||
|
||||
<!-- Anchor1 for de-p1st-xfce4-hidpi -->
|
||||
<!-- Anchor2 for de-p1st-xfce4-hidpi -->
|
||||
|
||||
<!-- Show hidden files -->
|
||||
<property name="last-show-hidden" type="bool" value="true"/>
|
||||
|
||||
<!-- Do not show folders first ==> sort folders together with files by name -->
|
||||
<property name="misc-folders-first" type="bool" value="false"/>
|
||||
</channel>
|
@ -3,10 +3,21 @@
|
||||
<channel name="xfce4-desktop" version="1.0">
|
||||
|
||||
<property name="desktop-icons" type="empty">
|
||||
<!-- Show desktop icons on primary desktop,
|
||||
<!-- Show desktop icons on primary desktop,
|
||||
otherwise some of them might be invisible (as they are too far down the screen)
|
||||
when using HiDPI-->
|
||||
when using HiDPI -->
|
||||
<property name="primary" type="bool" value="true"/>
|
||||
</property>
|
||||
|
||||
<property name="backdrop" type="empty">
|
||||
<property name="screen0" type="empty">
|
||||
<property name="monitor0" type="empty">
|
||||
<!-- Change background -->
|
||||
<property name="image-path" type="string" value="/usr/share/backgrounds/de-p1st.jpg"/>
|
||||
<property name="image-show" type="bool" value="true"/>
|
||||
<property name="image-style" type="int" value="0"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
|
||||
</channel>
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-power-manager" version="1.0">
|
||||
<property name="xfce4-power-manager" type="empty">
|
||||
|
||||
<!-- Suspend on power button press -->
|
||||
<property name="power-button-action" type="uint" value="1"/>
|
||||
|
||||
</property>
|
||||
</channel>
|
Loading…
Reference in New Issue
Block a user