feat(dconf): added configs stored in dconf

This commit is contained in:
2024-11-09 00:38:29 +01:00
parent 67e65657e3
commit 0390ee9677
5 changed files with 69 additions and 2 deletions

View File

@@ -13,16 +13,18 @@
- sddm: dependency: `qt6-qtquickcontrols2 qt6-qtsvg`, copy sddm/sddm.conf -> /etc/sddm.conf & sddm/themes/catppuccin-macchiato -> /usr/share/sddm/themes/ then `# systemctl set-default graphical.target`
- nvim: .config/nvim + alacritty done + deps: clang (gcc-c++), unzip, npm, ripgrep, go, then proceed with nvchad init
- swaync: .config/swaync
- gtk: .config/gtk-*
- gtk: .config/gtk-*, `dconf load /org/gtk/gtk4 < ./dconf-export/gtk4.dconf`
- MPV: $XDG_CONFIG_HOME/mpv/
- QT5: .config/qt6ct/, xsettingsd/
- dconf-based: barusu (TODO)
- kdeconnect: `# firewall-cmd --permanent --add-service=kdeconnect` + needs kdeconnectd restart to work
- plymouth: copy plymouth/themes/fedora-mac-style -> /usr/share/plymouth/themes/ + install plymouth-plugin-two-step + (`plymouth-set-default-theme -l` -> if this displays the theme, installation can begin: `sudo plymouth-set-default-theme -R fedora-mac-style && sudo dracut --regenerate-all -f`)
- grub: copy grub/grub -> /etc/default/grub & grub/themes -> /boot/themes then `grub2-mkconfig -o /boot/grub2/grub.cfg` To change font, you need grub2-tools-extra (for grub2-mkfont) and use it like `grub2-mkfont -o grub/themes/catppuccin-macchiato/font.pf2 -s 24 /usr/share/fonts/<family>/<specimen>.ttf` (after this you have to copy the configs again and regenerate the boot image)
- udev: /etc/udev/rules.d/ (for setting driver permissions)
- selinux: /etc/selinux/config to stay permissive (why even bother with selinux?)
- firefox(librewolf btw): do your own profile, install [catpuccin theme](https://github.com/catppuccin/firefox) and [darkreader](https://darkreader.org/)
- gnome tooling (file picker, keyring, etc): dconf load `/org/gnome/desktop/ < ./dconf-export/gnome-desktop.dconf`
- nautilus (file manager): gtk set up, then `dconf load /org/gnome/nautilus < ./dconf-export/nautilus.dconf`
- gedit (gui text editor): gtk set up, then `dconf load /org/gnome/gedit < ./dconf-export/gedit.dconf`
# Showcase
![background](https://raw.githubusercontent.com/Derisis13/dotfiles/refs/heads/master/.assets/bare.png)<br>

18
dconf-export/gedit.dconf Normal file
View File

@@ -0,0 +1,18 @@
[preferences/editor]
display-line-numbers=false
display-right-margin=false
editor-font='FiraCode Nerd Font Mono 11'
highlight-current-line=false
scheme='classic'
use-default-font=false
wrap-last-split-mode='word'
[preferences/ui]
statusbar-visible=true
[state/window]
bottom-panel-size=140
side-panel-active-page='GeditWindowDocumentsPanel'
side-panel-size=200
size=(635, 285)
state=43908

View File

@@ -0,0 +1,22 @@
[background]
picture-uri='file:///home/ha5pls/.local/share/backgrounds/eKxlw8.png'
picture-uri-dark='file:///home/ha5pls/.local/share/backgrounds/eKxlw8.png'
[interface]
color-scheme='prefer-dark'
cursor-size=24
cursor-theme='Adwaita'
document-font-name='Fira Sans Book'
font-antialiasing='grayscale'
font-hinting='slight'
font-name='Roboto 11'
font-rgba-order='rgb'
gtk-theme='adw-gtk3-dark'
icon-theme='Pop'
text-scaling-factor=1.0
toolbar-icons-size='large'
toolbar-style='both-horiz'
[sound]
event-sounds=true
input-feedback-sounds=false

13
dconf-export/gtk4.dconf Normal file
View File

@@ -0,0 +1,13 @@
[settings/file-chooser]
date-format='regular'
location-mode='path-bar'
show-hidden=true
show-size-column=true
show-type-column=true
sidebar-width=140
sort-column='name'
sort-directories-first=false
sort-order='ascending'
type-format='category'
view-type='list'
window-size=(859, 327)

View File

@@ -0,0 +1,12 @@
[icon-view]
default-zoom-level='small'
[preferences]
default-folder-viewer='icon-view'
migrated-gtk-settings=true
search-filter-time-type='last_modified'
search-view='list-view'
[window-state]
initial-size=(1280, 720)
maximized=true