From 8e89e98ac4ce39e019967f4b1571fce25140387e Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sat, 26 Dec 2020 20:22:03 +0100 Subject: [PATCH] gebner-i3-1 --- gebner-i3/PKGBUILD | 131 ++++++++++++++++++ gebner-i3/files/etc/xorg.conf.d/libinput.conf | 19 +++ gebner-i3/files/usr/bin/gsd-xsettings | 1 + 3 files changed, 151 insertions(+) create mode 100644 gebner-i3/PKGBUILD create mode 100644 gebner-i3/files/etc/xorg.conf.d/libinput.conf create mode 120000 gebner-i3/files/usr/bin/gsd-xsettings diff --git a/gebner-i3/PKGBUILD b/gebner-i3/PKGBUILD new file mode 100644 index 0000000..f26304d --- /dev/null +++ b/gebner-i3/PKGBUILD @@ -0,0 +1,131 @@ +# Maintainer: Gabriel Ebner +pkgname=gebner-i3 +pkgver=1 +pkgrel=1 +pkgdesc="System config (i3 packages)" +arch=(any) +url="https://git.gebner.org/gebner/archpkgs" +license=(MIT) +groups=(gebner) + +depends=() + +depends+=( + fcitx + fcitx-mozc + fcitx-table-other + fcitx-m17n +) + +depends+=( + noto-fonts + noto-fonts-emoji + noto-fonts-cjk + + cantarell-fonts + + # merriweather + # merriweather-sans + ttf-opensans + # ttf-libertine # breaks  + + ttf-dejavu + ttf-liberation + ttf-ubuntu-font-family + + wqy-microhei + otf-ipafont + otf-ipaexfont + adobe-source-han-sans-otc-fonts + adobe-source-han-serif-otc-fonts + + ttf-inconsolata + otf-fira-sans + otf-fira-mono + ttf-fira-code + + adobe-source-code-pro-fonts + + otf-font-awesome +) + + # environment.systemPackages = [ + # (pkgs.writeScriptBin "gsd-xsettings" + # '' + # #!/bin/sh + # exec ${pkgs.gnome3.gnome-settings-daemon}/libexec/gsd-xsettings "$@" + # '') + # ]; + +# prevent satanic torture +depends+=(qt5ct) + +# hardware.uinput.enable = true; + +depends+=(gnome-settings-daemon) + +depends+=(gnome-keyring) + +depends+=(dconf) + +depends+=( + flatpak + flatpak-builder + xdg-desktop-portal-gtk +) + +depends+=( + blueman +) + +depends+=( + xclip +) + + +depends+=( + i3-wm + i3status + + rofi + + feh + + network-manager-applet + + nautilus + pcmanfm + + evince + + arandr + + xss-lock i3lock + # i3lock-color + + xdotool + + scrot + + pavucontrol + pasystray + + dconf-editor + + unclutter + + dunst +) + +depends+=(lightdm) + + # export XDG_DATA_DIRS=/run/current-system/sw/share/''${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS + # export $(${pkgs.gnome3.gnome_keyring}/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) + # export XDG_CURRENT_DESKTOP=X-Generic + # i3 & + +rootdir=$PWD + +package() { + cp -a "$rootdir/files/"* "$pkgdir" +} diff --git a/gebner-i3/files/etc/xorg.conf.d/libinput.conf b/gebner-i3/files/etc/xorg.conf.d/libinput.conf new file mode 100644 index 0000000..fa09bb6 --- /dev/null +++ b/gebner-i3/files/etc/xorg.conf.d/libinput.conf @@ -0,0 +1,19 @@ +Section "InputClass" + Identifier "keyboard" + Driver "libinput" + + MatchIsKeyboard "on" + + Option "XkbLayout" "us" + Option "XkbVariant" "altgr-intl" + Option "XkbOptions" "caps:ctrl_modifier" +EndSection + +Section "InputClass" + Identifier "mouse" + Driver "libinput" + + MatchIsPointer "yes" + + Option "AccelProfile" "flat" +EndSection diff --git a/gebner-i3/files/usr/bin/gsd-xsettings b/gebner-i3/files/usr/bin/gsd-xsettings new file mode 120000 index 0000000..5460b04 --- /dev/null +++ b/gebner-i3/files/usr/bin/gsd-xsettings @@ -0,0 +1 @@ +/usr/lib/gsd-xsettings \ No newline at end of file