Compare commits

...

7 Commits

Author SHA1 Message Date
shibao e72a0de86e add sway config for idle 2023-11-15 17:00:48 -05:00
shibao ba709c86eb add fwupdmgr settings 2023-11-15 17:00:08 -05:00
shibao 5a0499f6db add framework screen to kanshi 2023-11-15 17:00:08 -05:00
shibao a12e0ad7f7 use sd-encrypt and lvm 2023-11-15 17:00:08 -05:00
shibao 73489aa090 update scripts 2023-11-15 11:19:51 -05:00
shibao 42e10464b9 update package list 2023-11-15 11:19:51 -05:00
shibao 30371a5b94 modify configs 2023-11-15 11:19:51 -05:00
10 changed files with 90 additions and 124 deletions

8
etc/fwupd/fwupd.conf Normal file
View File

@ -0,0 +1,8 @@
# use `man 5 fwupd.conf` for documentation
[fwupd]
DisabledPlugins=test;test_ble
OnlyTrusted=true
AllowEmulation=false
[uefi_capsule]
DisableCapsuleUpdateOnDisk=true

View File

@ -3,7 +3,7 @@
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
# MODULES=(usbhid xhci_hcd)
MODULES=()
# BINARIES
@ -29,31 +29,32 @@ FILES=()
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
## No RAID, lvm2, or encrypted root is needed.
# HOOKS=(base)
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS=(base udev autodetect block filesystems)
# HOOKS=(base udev autodetect modconf block filesystems fsck)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS=(base udev block filesystems)
# HOOKS=(base udev modconf block filesystems fsck)
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS=(base udev block mdadm encrypt filesystems)
## This setup assembles a mdadm array with an encrypted root file system.
## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS=(base udev block lvm2 filesystems)
## This setup loads an lvm2 volume group.
# HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS=(base udev systemd autodetect keyboard sd-vconsole modconf block sd-encrypt lvm2 filesystems resume fsck)
# usr and fsck hooks.
HOOKS=(base udev systemd autodetect modconf keyboard keymap block sd-encrypt lvm2 filesystems fsck)
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# Use this to compress the initramfs image. By default, zstd compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
@ -64,3 +65,9 @@ HOOKS=(base udev systemd autodetect keyboard sd-vconsole modconf block sd-encryp
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()
# MODULES_DECOMPRESS
# Decompress kernel modules during initramfs creation.
# Enable to speedup boot process, disable to save RAM
# during early userspace. Switch (yes/no).
#MODULES_DECOMPRESS="yes"

View File

@ -16,6 +16,10 @@ ExtBEnabled=True
CloudPinyinEnabled=True
# Cloud Pinyin Index
CloudPinyinIndex=1
# Show animation when Cloud Pinyin is loading
CloudPinyinAnimation=True
# Always show Cloud Pinyin place holder
KeepCloudPinyinPlaceHolder=False
# Show preedit within application
PreeditInApplication=True
# Fix embedded preedit cursor at the beginning of the preedit

View File

@ -2,3 +2,7 @@ profile {
output "LG Electronics LG IPS QHD 201NTPCGD520" enable scale 1.30 position 0,0 mode 2560x1440@60Hz
output "LG Electronics LG ULTRAWIDE 0x00000101" enable position 1968,0 mode 2560x1080@60Hz
}
profile {
output "BOE 0x0BCA Unknown" enable scale 1.75 position 0,0 mode 2256x1504@59.999Hz
}

View File

@ -1,6 +1,21 @@
font=IBMPlexMono 10
sort=-time
layer=overlay
background-color=#222222
width=500
height=120
border-size=1
border-color=#333333
anchor=top-right
default-timeout=6000
width=350
border-radius=3
icons=0
font=IBMPlexMono 11
default-timeout=0
padding=10
[urgency=low]
border-color=#333333
[urgency=normal]
border-color=#555555
[urgency=high]
border-color=#aaaaaa

View File

@ -1,34 +0,0 @@
# mpd.conf
pid_file "/home/default/.config/mpd/mpd.pid"
db_file "/home/default/.config/mpd/mpd.db"
state_file "/home/default/.config/mpd/mpd.state"
playlist_directory "/home/default/.config/mpd/music/music/playlists/mpd"
music_directory "/home/default/.config/mpd/music"
sticker_file "/home/default/.config/mpd/sticker.sql"
log_file "syslog"
auto_update "yes"
user "default"
bind_to_address "localhost"
port "6600"
volume_normalization "yes"
# pulse audio
audio_output {
type "pulse"
name "pulse audio"
}
# httpd stream
# audio_output {
# type "httpd"
# name "My HTTP Stream"
# encoder "wave" # optional, vorbis or lame
# port "8000"
# bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
# quality "5.0" # do not define if bitrate is defined
# bitrate "128" # do not define if quality is defined
# format "44100:16:1"
# max_clients "0" # optional 0=no limit
#}

View File

@ -44,12 +44,12 @@ exec_always {
# timeout
exec swayidle -w \
timeout 300 'playerctl -a pause && swaylock' \
timeout 600 'swaymsg "output * dpms off"' \
timeout 600 'swaymsg "output * power off"' \
before-sleep 'playerctl -a pause' \
lock 'swaylock' \
resume 'swaymsg "output * dpms on"'
resume 'swaymsg "output * power on"'
# screen lock
# system lock
bindsym Ctrl+Shift+l exec "playerctl -a pause; \
systemctl suspend && \
swaylock"

View File

@ -0,0 +1,7 @@
#!/usr/bin/env sh
set +eou pipefail
# Takes the latest photo from my camera stream and removes exif data from it
LATEST_PHOTO=$(ls -t1 /home/default/syncthing/camera/Camera | head -n 1)
cp "/home/default/syncthing/camera/Camera/${LATEST_PHOTO}" /home/default/Downloads/temp
cd /home/default/Downloads/temp && remove-exif

View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
set -eoux pipefail
yay -Sc --noconfirm
sudo journalctl --vacuum-size=1G

View File

@ -1,8 +1,9 @@
acpi
adobe-source-han-sans-jp-fonts
adobe-source-han-sans-kr-fonts
aic94xx-firmware
amd-ucode
anki
anki-bin
arch-install-scripts
asdf-vm
atomicparsley
@ -18,7 +19,6 @@ binutils
bison
blueman
bluetooth-autoconnect
botan
brightnessctl
bzip2
calibre
@ -32,10 +32,8 @@ cowsay
cpupower
cpupower-gui
cryptsetup
cups
cups-pdf
darktable
ddclient
device-mapper
dhcpcd
dialog
@ -48,13 +46,12 @@ efibootmgr
electrum
elinks
emacs
esptool
etcher-bin
evince
evolution
f2fs-tools
fail2ban
fakeroot
farstream
fcitx5
fcitx5-chinese-addons
fcitx5-configtool
@ -70,15 +67,19 @@ firefox
flex
font-manager
fortune-mod
fortune-mod-acecombat
fortune-mod-calvin
fortune-mod-confucius
fortune-mod-doctorwho-new-series
fortune-mod-ferengi_rules_of_acquisition
fortune-mod-firefly
fortune-mod-hitchhiker
fortune-mod-matrix
fortune-mod-portal-game
fortune-mod-starwars
fprintd
framework-system-git
freecad
fstl
fwbuilder
fwupd
gajim
@ -88,24 +89,22 @@ gcc
gcc-libs
gdlauncher-bin
gedit
geoclue
gettext
gimp
git
git-lfs
glibc
gnome-control-center
gnome-disk-utility
gnome-firmware
gnome-keyring
gnome-sound-recorder
gnu-free-fonts
gnu-netcat
gnutls
gparted
grep
grim
grub
gsmartcontrol
gsound
gst-libav
gst-plugins-bad
gst-plugins-ugly
@ -120,7 +119,7 @@ highlight
htop
hugin
hunspell-en_us
ibus-uniemoji-git
iio-sensor-proxy
inkscape
inotify-tools
iotop
@ -130,11 +129,9 @@ itstool
iucode-tool
iw
jammr
jansson
jq
kanshi
kcm-wacomtablet
kdeconnect
kdocker
keepassxc
kid3
@ -142,53 +139,29 @@ kitty
kochmorse
krita
lagrange
leap-motion-driver
leptonica
less
lib32-gamemode
lib32-giflib
lib32-gnutls
lib32-gst-plugins-base-libs
lib32-gtk3
lib32-libappindicator-gtk2
lib32-libappindicator-gtk3
lib32-libgpg-error
lib32-libjpeg-turbo
lib32-libldap
lib32-libpng
lib32-libpulse
lib32-libva
lib32-libva-mesa-driver
lib32-libxcomposite
lib32-libxinerama
lib32-libxslt
lib32-mesa-vdpau
lib32-mpg123
lib32-ocl-icd
lib32-openal
lib32-sqlite
lib32-v4l-utils
lib32-vkd3d
lib32-vulkan-icd-loader
libappindicator-gtk3
libdvdcss
libffado
libglvnd
libgnome-keyring
libgooglepinyin
libime
libjbig-shared
libjpeg6-turbo
libpinyin
libpng
libreoffice-extension-languagetool
libreoffice-still
libretro-overlays
libretro-shaders-slang
libva-mesa-driver
libva-utils
libvncserver
libxkbcommon
licenses
linux
linux-firmware
@ -211,14 +184,13 @@ mcomix
mcpp
mdadm
mediainfo
mesa
minecraft-launcher
mixxx
mousetweaks
mpc
mpv
mpv-mpris
multimc5
mqtt-explorer
mumble
namcap
nano
@ -228,7 +200,6 @@ neofetch
neovim
networkmanager
network-manager-applet
nginx-mod-fancyindex
nmap
nomacs
noto-fonts-cjk
@ -237,17 +208,16 @@ noto-fonts-extra
ntfs-3g
ntp
nvtop
obs-studio
ocl-icd
odt2txt
opencc
opendesktop-fonts
openshot
openvpn
opustags
orca
overdue
p7zip
package-query
pacman-contrib
paman
pacman
papirus-icon-theme
patch
pavucontrol
@ -256,37 +226,29 @@ perl
perl-image-exiftool
perl-rename
picard
piper
pipewire-alsa
pipewire-docs
pipewire-jack
pipewire-pulse
pixman
pkgconf
pkgstats
playerctl
playonlinux
polkit-gnome
postgresql-libs
power-profiles-daemon
powertop
procps-ng
psensor
psmisc
pv
pyside2
python
python-axolotl
python-levenshtein
python-matplotlib
python-mutagen
python-pip
python-pycryptodome
python-pyenchant
python-pylast
python-pynvim
python-wxpython
qbittorrent
qt5ct
qt5-graphicaleffects
qt5-imageformats
quodlibet
ranger
rar
@ -296,9 +258,7 @@ remmina
retroarch
retroarch-assets-xmb
rofi
rsnapshot
rsync
ruby-docs
samsung_magician-consumer-ssd
seahorse
sed
@ -309,21 +269,19 @@ simple-scan
slurp
smartmontools
s-nail
sndio
ssh-audit
sshpass
stalonetray
steam
steam-native-runtime
sudo
sway
swaybg
swayidle
swaylock
syncplay
syncthing
syncthing-gtk
sysfsutils
systemd
systemd-sysvcompat
systemd-ui
tar
@ -331,7 +289,6 @@ telegram-desktop
texinfo
texlive-basic
texlive-bibtexextra
texlive-bin
texlive-fontsextra
texlive-formatsextra
texlive-games
@ -342,7 +299,6 @@ texlive-music
texlive-pictures
texlive-pstricks
texlive-publishers
tlp
tmux
traceroute
trash-cli
@ -350,7 +306,6 @@ tree
ttf-dejavu
ttf-ibm-plex
ttf-joypixels
ttf-liberation
ttf-ms-fonts
ttf-opensans
ttf-symbola-free
@ -369,14 +324,12 @@ vulkan-mesa-layers
vulkan-radeon
vulkan-tools
w3m
wakeonlan
waybar
wayland-utils
wayvnc
wd719x-firmware
wdisplays
wf-recorder
wget
which
wine-staging
winetricks
@ -385,9 +338,8 @@ wl-clipboard
wol
wpa_supplicant
xclip
xdg-desktop-portal
xdg-desktop-portal-gnome
xdg-desktop-portal-wlr
xf86-input-wacom
xf86-video-amdgpu
xfsprogs
xorg-xdpyinfo
@ -397,6 +349,4 @@ xorg-xwayland
xsel
xterm
yay-bin
youtube-dl-git
yt-dlp
zimg