migrage .linux to .config.

This commit is contained in:
Dmitry Voronin 2023-11-18 05:04:50 +03:00
parent 50f0705b51
commit 55c9ffb415
61 changed files with 17 additions and 13 deletions

View file

@ -5,7 +5,7 @@
#home="/var/home/voronind" #home="/var/home/voronind"
home="${HOME}" home="${HOME}"
module="${home}/.linux/bash/module/*.sh" module="${home}/.config/bash/module/*.sh"
# src default # src default
if [[ -f /etc/bashrc ]]; then if [[ -f /etc/bashrc ]]; then

View file

@ -1,4 +1,4 @@
_GDCONF_PATH="${HOME}/.linux/gnome.dconf" _GDCONF_PATH="${HOME}/.config/linux/gnome.dconf"
alias dconf_load="sed -i -e s/voronind/$(whoami)/g ${_GDCONF_PATH} ; dconf load / < ${_GDCONF_PATH}" # load gnome settings. alias dconf_load="sed -i -e s/voronind/$(whoami)/g ${_GDCONF_PATH} ; dconf load / < ${_GDCONF_PATH}" # load gnome settings.
alias dconf_save="dconf dump / > gnome.dconf" # dump gnome settings to a file. alias dconf_save="dconf dump / > gnome.dconf" # dump gnome settings to a file.

26
.gitignore vendored
View file

@ -46,33 +46,37 @@
!/app/bin/ !/app/bin/
!/app/bin/** !/app/bin/**
# linux configs
!/.linux/
!/.linux/**
# system configs # system configs
!/.config/ !/.config/
/.config/* /.config/*
# linux configs
!/.config/linux/
!/.config/linux/**
# Bash config.
!/.config/bash/
!/.config/bash/**
# Tmux config. # Tmux config.
!/.config/tmux/ !/.config/tmux/
!/.config/tmux/* !/.config/tmux/**
# MangoHud config. # MangoHud config.
!/.config/MangoHud/ !/.config/MangoHud/
!/.config/MangoHud/* !/.config/MangoHud/**
## gtk-3.0 ## gtk-3.0
!/.config/gtk-3.0/ !/.config/gtk-3.0/
!/.config/gtk-3.0/* !/.config/gtk-3.0/**
## gtk-4.0 ## gtk-4.0
!/.config/gtk-4.0/ !/.config/gtk-4.0/
!/.config/gtk-4.0/* !/.config/gtk-4.0/**
## htop settings ## htop settings
!/.config/htop/ !/.config/htop/
!/.config/htop/htoprc !/.config/htop/**
## user dirs ## user dirs
!/.config/user-dirs.dirs !/.config/user-dirs.dirs
@ -84,7 +88,7 @@
# ssh # ssh
!/.ssh/ !/.ssh/
/.ssh/* /.ssh/**
## ssh config ## ssh config
!/.ssh/config !/.ssh/config
@ -103,7 +107,7 @@
!/.local/share/flatpak/ !/.local/share/flatpak/
/.local/share/flatpak/* /.local/share/flatpak/*
!/.local/share/flatpak/overrides/ !/.local/share/flatpak/overrides/
!/.local/share/flatpak/overrides/* !/.local/share/flatpak/overrides/**
# fonts # fonts
!/.fonts/ !/.fonts/