From 7d4ecee555240d99bc5625cf4ec2d4930eab1ace Mon Sep 17 00:00:00 2001 From: Luc Date: Sat, 4 Feb 2023 20:38:12 +0100 Subject: [PATCH] updated config-files --- config-files/bash/.bash_profile | 8 ++++ config-files/bash/.bashrc | 0 config-files/gtk-3.0/settings.ini | 3 ++ config-files/gtklock/style.css | 2 +- config-files/mako/config | 4 +- config-files/waybar/config | 7 ++- config-files/waybar/style.css | 2 +- config-files/wlogout/style.css | 2 +- config-files/wofi/config | 5 +- config-files/wofi/style.css | 2 +- void-desktop-install.txt | 78 ++++++++++++++++++++++++------- 11 files changed, 84 insertions(+), 29 deletions(-) mode change 100644 => 100755 config-files/bash/.bash_profile mode change 100644 => 100755 config-files/bash/.bashrc create mode 100755 config-files/gtk-3.0/settings.ini mode change 100644 => 100755 config-files/wlogout/style.css diff --git a/config-files/bash/.bash_profile b/config-files/bash/.bash_profile old mode 100644 new mode 100755 index 3f466fc..b364466 --- a/config-files/bash/.bash_profile +++ b/config-files/bash/.bash_profile @@ -2,5 +2,13 @@ if [ "$XDG_SESSION_TYPE" == "wayland" ]; then export MOZ_ENABLE_WAYLAND=1 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 [ -f $HOME/.bashrc ] && . $HOME/.bashrc diff --git a/config-files/bash/.bashrc b/config-files/bash/.bashrc old mode 100644 new mode 100755 diff --git a/config-files/gtk-3.0/settings.ini b/config-files/gtk-3.0/settings.ini new file mode 100755 index 0000000..119030d --- /dev/null +++ b/config-files/gtk-3.0/settings.ini @@ -0,0 +1,3 @@ +[Settings] +gtk-application-prefer-dark-theme=false +gtk-theme-name=Plata-Noir-Compact \ No newline at end of file diff --git a/config-files/gtklock/style.css b/config-files/gtklock/style.css index edcac9a..385c9df 100644 --- a/config-files/gtklock/style.css +++ b/config-files/gtklock/style.css @@ -1,6 +1,6 @@ window { - background:url("/home/luc/documents/backgrounds/graphite.jpg"); + background:url("/path/to/background.png"); background-size: cover; background-repeat: no-repeat; background-position: center; diff --git a/config-files/mako/config b/config-files/mako/config index ba195e5..538098a 100755 --- a/config-files/mako/config +++ b/config-files/mako/config @@ -1,6 +1,6 @@ -font=Roboto 10 +font=Roboto 12 background-color=#1515157F border-size=6 border-radius=20 border-color=#1515157F -icons=1 \ No newline at end of file +icons=1 diff --git a/config-files/waybar/config b/config-files/waybar/config index aae966a..0d61a3c 100755 --- a/config-files/waybar/config +++ b/config-files/waybar/config @@ -5,7 +5,7 @@ "position": "top", "modules-left": ["wlr/taskbar"], "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, "spacing": 20, "custom/poweroff": @@ -122,8 +122,7 @@ "tray": { "icon-size": 20, - "show-passive-items": true, - "spacing": 10 + "spacing": 20 } } -] \ No newline at end of file +] diff --git a/config-files/waybar/style.css b/config-files/waybar/style.css index fa51b6e..0a42fb4 100755 --- a/config-files/waybar/style.css +++ b/config-files/waybar/style.css @@ -2,7 +2,7 @@ { border: 0; border-radius: 0; - font-family: "Liberation Sans", "Font Awesome 5 Free"; + font-family: "Roboto","FontAwesome"; font-size: 20px; min-height: 0; padding-top: 1px; diff --git a/config-files/wlogout/style.css b/config-files/wlogout/style.css old mode 100644 new mode 100755 index 16e2945..29f81d3 --- a/config-files/wlogout/style.css +++ b/config-files/wlogout/style.css @@ -1,7 +1,7 @@ * { background-image: none; - font-family: Roboto, Helvetica, Arial, sans-serif; + font-family: "Roboto"; font-size: 20px; } window diff --git a/config-files/wofi/config b/config-files/wofi/config index 6cc281b..1409332 100755 --- a/config-files/wofi/config +++ b/config-files/wofi/config @@ -1,9 +1,8 @@ mode=drun location=2 -gtk_dark=true -yoffset=4 +yoffset=0 prompt= width=800 height=400 allow_images=true -allow_markup=true \ No newline at end of file +allow_markup=true diff --git a/config-files/wofi/style.css b/config-files/wofi/style.css index 5edb6a1..7ea5bd4 100755 --- a/config-files/wofi/style.css +++ b/config-files/wofi/style.css @@ -1,6 +1,6 @@ * { - font-family: 'Montserrat', 'Cantarell', 'Caladea', sans-serif; + font-family:"Roboto"; font-size: 16px; font-weight: 400; } diff --git a/void-desktop-install.txt b/void-desktop-install.txt index d0547bb..7e525ca 100755 --- a/void-desktop-install.txt +++ b/void-desktop-install.txt @@ -1,4 +1,4 @@ -Void Linux (glibc/musl) += (encryption + gummiboot) +Void Linux (glibc) += (encryption + gummiboot) Provisioning: { @@ -65,11 +65,15 @@ Installation: > rw rd.luks.name= } # 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==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 } @@ -78,7 +82,11 @@ Installation: { > APPARMOR=enforce } - # xbps-reconfigure -f linux{latest-version} + # vim /etc/hosts: + { + > 127.0.1.1 + } + # xbps-reconfigure -f linux{version} # exit # umount -r /mnt # reboot @@ -107,7 +115,7 @@ Post install: > ignorepkg=sudo } # xbps-remove -y sudo - # xbps-install -y opendoas + # xbps-install -Sy opendoas # ln -s /bin/doas /bin/sudo # vim /etc/doas.conf: { @@ -123,7 +131,7 @@ Post install: { > ignorepkg=linux } - # xbps-install -y linux-lts linux-lts-headers + # xbps-install -Sy linux-lts linux-lts-headers # reboot now # xbps-remove -y linux-{version} linux{version} } @@ -152,6 +160,12 @@ Post install: Repos: { # 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 $ voidpackages/./xbps-src binary-bootstrap -j(N-threads) $ 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 } + 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: { # 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: { - # 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/ # usermod -aG _seatd } Display: { - # xbps-install kanshi wlr-randr wdisplays wlsunset + # xbps-install -Sy kanshi wlr-randr wdisplays wlsunset $ cp -r void-desktop/config-files/kanshi .config/ $ vim .config/wayfire.ini: { @@ -194,7 +215,7 @@ Post install: } 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/ $ vim .config/wayfire.ini: { @@ -204,9 +225,10 @@ Post install: } Tasklauncher: { - # xbps-install wofi wlogout + # xbps-install -Sy wofi wlogout $ cp -r void-desktop/config-files/wofi .config/ $ cp -r void-desktop/config-files/wlogout .config/ + # cp void-desktop/data/wlogout-icons/* /usr/share/wlogout/icons/ $ vim .config/wayfire.ini: { > [command] @@ -218,7 +240,7 @@ Post install: } Notifications: { - # xbps-install mako + # xbps-install -Sy mako $ cp -r void-desktop/config-files/mako .config/ $ vim .config/wayfire.ini: { @@ -228,7 +250,24 @@ Post install: } 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: { @@ -255,18 +294,21 @@ Post install: } Bluetooth: { - + # xbps-install bluez bluez-alsa libspa-bluetooth blueman + # ln -s /etc/sv/bluetoothd /var/service/ + # touch /var/service/bluetoothd/down + # usermod -aG bluetooth } Samba-mount: { - # xbps-install cifs-utils + # xbps-install -Sy cifs-utils $ vim $HOME/.smbpasswd: { > username= > password= > domain= } - # chmod 644 $HOME/.smbpasswd + # chmod 600 $HOME/.smbpasswd # vim /etc/fstab: { > /// $HOME/ cifs credentials=$HOME/.smbpasswd,_netdev,uid= 0 0 @@ -274,6 +316,10 @@ Post install: # mount -a } Steam: + { + # xbps-install steam wine winetricks protontricks + } + virt-manager: { } @@ -281,7 +327,7 @@ Post install: { 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: {