updated config-files

This commit is contained in:
Luc Bijl 2023-02-04 20:38:12 +01:00
parent 004a528222
commit 7d4ecee555
11 changed files with 84 additions and 29 deletions

8
config-files/bash/.bash_profile Normal file → Executable file
View file

@ -2,5 +2,13 @@
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1
fi fi
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
export GDK_BACKEND=wayland
fi
mkdir -m 0700 -p /tmp/$(id -u)
export XDG_RUNTIME_DIR=/tmp/$(id -u)
# Get the aliases and functions # Get the aliases and functions
[ -f $HOME/.bashrc ] && . $HOME/.bashrc [ -f $HOME/.bashrc ] && . $HOME/.bashrc

0
config-files/bash/.bashrc Normal file → Executable file
View file

View file

@ -0,0 +1,3 @@
[Settings]
gtk-application-prefer-dark-theme=false
gtk-theme-name=Plata-Noir-Compact

View file

@ -1,6 +1,6 @@
window window
{ {
background:url("/home/luc/documents/backgrounds/graphite.jpg"); background:url("/path/to/background.png");
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;

View file

@ -1,6 +1,6 @@
font=Roboto 10 font=Roboto 12
background-color=#1515157F background-color=#1515157F
border-size=6 border-size=6
border-radius=20 border-radius=20
border-color=#1515157F border-color=#1515157F
icons=1 icons=1

View file

@ -5,7 +5,7 @@
"position": "top", "position": "top",
"modules-left": ["wlr/taskbar"], "modules-left": ["wlr/taskbar"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["temperature","cpu","memory","bluetooth","pulseaudio","network","custom/search","custom/poweroff"], "modules-right": ["bluetooth","temperature","cpu","memory","pulseaudio","network","custom/search","custom/poweroff"],
"fixed-center": true, "fixed-center": true,
"spacing": 20, "spacing": 20,
"custom/poweroff": "custom/poweroff":
@ -122,8 +122,7 @@
"tray": "tray":
{ {
"icon-size": 20, "icon-size": 20,
"show-passive-items": true, "spacing": 20
"spacing": 10
} }
} }
] ]

View file

@ -2,7 +2,7 @@
{ {
border: 0; border: 0;
border-radius: 0; border-radius: 0;
font-family: "Liberation Sans", "Font Awesome 5 Free"; font-family: "Roboto","FontAwesome";
font-size: 20px; font-size: 20px;
min-height: 0; min-height: 0;
padding-top: 1px; padding-top: 1px;

2
config-files/wlogout/style.css Normal file → Executable file
View file

@ -1,7 +1,7 @@
* *
{ {
background-image: none; background-image: none;
font-family: Roboto, Helvetica, Arial, sans-serif; font-family: "Roboto";
font-size: 20px; font-size: 20px;
} }
window window

View file

@ -1,9 +1,8 @@
mode=drun mode=drun
location=2 location=2
gtk_dark=true yoffset=0
yoffset=4
prompt= prompt=
width=800 width=800
height=400 height=400
allow_images=true allow_images=true
allow_markup=true allow_markup=true

View file

@ -1,6 +1,6 @@
* *
{ {
font-family: 'Montserrat', 'Cantarell', 'Caladea', sans-serif; font-family:"Roboto";
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
} }

View file

@ -1,4 +1,4 @@
Void Linux (glibc/musl) += (encryption + gummiboot) Void Linux (glibc) += (encryption + gummiboot)
Provisioning: Provisioning:
{ {
@ -65,11 +65,15 @@ Installation:
> rw rd.luks.name= > rw rd.luks.name=
} }
# lsblk -f |grep luks >> /boot/loader/void-options.conf # lsblk -f |grep luks >> /boot/loader/void-options.conf
vim /boot/loader/void-options.conf: # vim /boot/loader/void-options.conf:
{ {
> rw rd.luks.name=<uuid>=root root=/dev/mapper/root quiet splash apparmor=1 security=apparmor > rw rd.luks.name=<uuid>=root root=/dev/mapper/root quiet splash apparmor=1 security=apparmor
} }
vim /etc/default/libc-locales: # vim /boot/loader/loader.conf:
{
> timeout 4
}
# vim /etc/default/libc-locales:
{ {
> en_US.UTF-8 UTF-8 > en_US.UTF-8 UTF-8
} }
@ -78,7 +82,11 @@ Installation:
{ {
> APPARMOR=enforce > APPARMOR=enforce
} }
# xbps-reconfigure -f linux{latest-version} # vim /etc/hosts:
{
> 127.0.1.1 <hostname>
}
# xbps-reconfigure -f linux{version}
# exit # exit
# umount -r /mnt # umount -r /mnt
# reboot # reboot
@ -107,7 +115,7 @@ Post install:
> ignorepkg=sudo > ignorepkg=sudo
} }
# xbps-remove -y sudo # xbps-remove -y sudo
# xbps-install -y opendoas # xbps-install -Sy opendoas
# ln -s /bin/doas /bin/sudo # ln -s /bin/doas /bin/sudo
# vim /etc/doas.conf: # vim /etc/doas.conf:
{ {
@ -123,7 +131,7 @@ Post install:
{ {
> ignorepkg=linux > ignorepkg=linux
} }
# xbps-install -y linux-lts linux-lts-headers # xbps-install -Sy linux-lts linux-lts-headers
# reboot now # reboot now
# xbps-remove -y linux-{version} linux{version} # xbps-remove -y linux-{version} linux{version}
} }
@ -152,6 +160,12 @@ Post install:
Repos: Repos:
{ {
# xbps-install -Sy void-repo-multilib void-repo-nonfree void-repo-multilib-nonfree xtools git # xbps-install -Sy void-repo-multilib void-repo-nonfree void-repo-multilib-nonfree xtools git
# vim /etc/xbps.d/xbps.conf:
{
> repository=https://git.bijl.us/tastatur/xbps-ample/raw/branch/main/current
> repository=https://git.bijl.us/tastatur/xbps-ample/raw/branch/main/current/nonfree
}
# xbps-install -S
$ git clone https://github.com/void-linux/void-packages.git $ git clone https://github.com/void-linux/void-packages.git
$ voidpackages/./xbps-src binary-bootstrap -j(N-threads) $ voidpackages/./xbps-src binary-bootstrap -j(N-threads)
$ echo XBPS_ALLOW_RESTRICTED=yes >> etc/conf $ echo XBPS_ALLOW_RESTRICTED=yes >> etc/conf
@ -162,6 +176,13 @@ Post install:
{ {
# xbps-install -Sy linux-firmware-amd vulkan-loader mesa-vulkan-radeon amdvlk xf86-video-amdgpu mesa-vaapi mesa-vdpau mesa-dri # xbps-install -Sy linux-firmware-amd vulkan-loader mesa-vulkan-radeon amdvlk xf86-video-amdgpu mesa-vaapi mesa-vdpau mesa-dri
} }
Logging:
{
# xbps-install -Sy socklog-void
# ln -s /etc/sv/socklog-unix /var/service/
# ln -s /etc/sv/nanoklogd /var/service/
# svlogtail (to read logs or go to /var/log/socklog)
}
Session & login manager: Session & login manager:
{ {
# xbps-install -Sy elogind sddm sddm-kcm seatd wayland xorg-minimal xorg-fonts qt5-wayland qt6-wayland xorg-server-xwayland # xbps-install -Sy elogind sddm sddm-kcm seatd wayland xorg-minimal xorg-fonts qt5-wayland qt6-wayland xorg-server-xwayland
@ -178,13 +199,13 @@ Post install:
} }
Window manager: Window manager:
{ {
# xbps-install -Sy wayfire wcm dconf plata-theme # xbps-install -Sy wayfire wf-shell wcm dconf dconf-editor plata-theme
$ cp void-desktop/config-files/wayfire/wayfire.ini .config/ $ cp void-desktop/config-files/wayfire/wayfire.ini .config/
# usermod -aG _seatd <user> # usermod -aG _seatd <user>
} }
Display: Display:
{ {
# xbps-install kanshi wlr-randr wdisplays wlsunset # xbps-install -Sy kanshi wlr-randr wdisplays wlsunset
$ cp -r void-desktop/config-files/kanshi .config/ $ cp -r void-desktop/config-files/kanshi .config/
$ vim .config/wayfire.ini: $ vim .config/wayfire.ini:
{ {
@ -194,7 +215,7 @@ Post install:
} }
Taskbar: Taskbar:
{ {
# xbps-install waybar (potential fonts and icons) # xbps-install -Sy Waybar fontmanager papirus-icon-theme fonts-roboto-ttf font-awesome noto-fonts-ttf noto-fonts-cjk
$ cp -r void-desktop/config-files/waybar .config/ $ cp -r void-desktop/config-files/waybar .config/
$ vim .config/wayfire.ini: $ vim .config/wayfire.ini:
{ {
@ -204,9 +225,10 @@ Post install:
} }
Tasklauncher: Tasklauncher:
{ {
# xbps-install wofi wlogout # xbps-install -Sy wofi wlogout
$ cp -r void-desktop/config-files/wofi .config/ $ cp -r void-desktop/config-files/wofi .config/
$ cp -r void-desktop/config-files/wlogout .config/ $ cp -r void-desktop/config-files/wlogout .config/
# cp void-desktop/data/wlogout-icons/* /usr/share/wlogout/icons/
$ vim .config/wayfire.ini: $ vim .config/wayfire.ini:
{ {
> [command] > [command]
@ -218,7 +240,7 @@ Post install:
} }
Notifications: Notifications:
{ {
# xbps-install mako # xbps-install -Sy mako
$ cp -r void-desktop/config-files/mako .config/ $ cp -r void-desktop/config-files/mako .config/
$ vim .config/wayfire.ini: $ vim .config/wayfire.ini:
{ {
@ -228,7 +250,24 @@ Post install:
} }
Audio: Audio:
{ {
# xbps-install alsa-pipewire pipewire wireplumber pavucontrol pamixer
# mkdir /etc/pipewire
# cp /usr/share/pipewire/pipewire.conf /etc/pipewire/
# vim /etc/pipewire/pipewire.conf:
{
> context.exec = [
> { path = "/usr/bin/wireplumber" args = "" }
> { path = "/usr/bin/pipewire" args = "-c pipewire-pulse.conf"}
>]
}
# mkdir -p /etc/alsa/conf.d
# ln -s /usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d/
# ln -s /usr/share/alsa/alsa.conf.d/99-pipewire.conf /etc/alsa/conf.d/
$ vim .config/wayfire.ini:
{
> [autostart]
> audio = pipewire
}
} }
Lockscreen: Lockscreen:
{ {
@ -255,18 +294,21 @@ Post install:
} }
Bluetooth: Bluetooth:
{ {
# xbps-install bluez bluez-alsa libspa-bluetooth blueman
# ln -s /etc/sv/bluetoothd /var/service/
# touch /var/service/bluetoothd/down
# usermod -aG bluetooth <user>
} }
Samba-mount: Samba-mount:
{ {
# xbps-install cifs-utils # xbps-install -Sy cifs-utils
$ vim $HOME/.smbpasswd: $ vim $HOME/.smbpasswd:
{ {
> username=<username> > username=<username>
> password=<password> > password=<password>
> domain=<domain> > domain=<domain>
} }
# chmod 644 $HOME/.smbpasswd # chmod 600 $HOME/.smbpasswd
# vim /etc/fstab: # vim /etc/fstab:
{ {
> //<domain>/<homefolder> $HOME/<smbfolder> cifs credentials=$HOME/.smbpasswd,_netdev,uid=<uid> 0 0 > //<domain>/<homefolder> $HOME/<smbfolder> cifs credentials=$HOME/.smbpasswd,_netdev,uid=<uid> 0 0
@ -274,6 +316,10 @@ Post install:
# mount -a # mount -a
} }
Steam: Steam:
{
# xbps-install steam wine winetricks protontricks
}
virt-manager:
{ {
} }
@ -281,7 +327,7 @@ Post install:
{ {
default-applications: default-applications:
{ {
# xbps-install -Sy firefox vscode foot thunar element-desktop mpv baobab gimp # xbps-install -Sy firefox vscode foot thunar element-desktop mpv baobab gimp grim slurp libreoffice-base
} }
foot-openssh: foot-openssh:
{ {