{"id":20431801,"url":"https://github.com/doums/dot","last_synced_at":"2025-04-12T20:51:07.770Z","repository":{"id":39726850,"uuid":"153699480","full_name":"doums/dot","owner":"doums","description":"my d●tfiles","archived":false,"fork":false,"pushed_at":"2024-05-21T20:41:59.000Z","size":17042,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-22T11:12:31.323Z","etag":null,"topics":["archlinux","baru","linux","x11","xmobar","xmonad"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doums.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-18T23:22:55.000Z","updated_at":"2024-08-23T16:29:32.224Z","dependencies_parsed_at":"2023-02-16T21:45:37.047Z","dependency_job_id":"66e4f77c-db07-4f75-a53e-9443f07749e0","html_url":"https://github.com/doums/dot","commit_stats":null,"previous_names":["doums/dot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fdot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fdot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fdot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fdot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doums","download_url":"https://codeload.github.com/doums/dot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631727,"owners_count":21136560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archlinux","baru","linux","x11","xmobar","xmonad"],"created_at":"2024-11-15T08:12:57.366Z","updated_at":"2025-04-12T20:51:07.755Z","avatar_url":"https://github.com/doums.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dot\n\nMy dotfiles\n\n## OS installation\n\nArch Linux build:\n\n- display server: Xorg (X11)\n- no desktop environment\n- display manager: LightDM + its GTK greeter\n- window manager: XMonad\n- compositor: yshui/picom\n\n[INSTALL](ARCH_INSTALL.md)\n\n## X\n\nInstall `xorg-server`\n\nhttps://wiki.archlinux.org/index.php/Xorg\n\n## Display manager\n\nInstall LightDM and its GTK greeter\n\n```\nlightdm lightdm-gtk-greeter\n```\n\nEnable `lightdm.service`\n\nhttps://wiki.archlinux.org/index.php/LightDM#Installation\n\n## Window Manager\n\n### fonts\n\nMain fonts\n\n```\nttf-inconsolata ttf-roboto noto-fonts ttf-dejavu ttf-liberation\n```\n\nEmoji font\n\n```\nnoto-fonts-emoji\n```\n\nRefresh font cache\n\n```shell\nfc-cache\nfc-list\n```\n\n#### custom fonts\n\n[docs](https://wiki.archlinux.org/title/Fonts#Manual_installation)\n\nFirst create the directory `/usr/local/share/fonts/ttf/` and\nplace any custom fonts under it\n\n### XMonad\n\nFirst install `stack`. Take the static version from AUR to avoid\nthe plethora of Haskell dependencies.\n\n```shell\nrua install stack-static\n```\n\nClone the sources in `/opt/xmonad`\n\n```shell\ngit clone https://github.com/xmonad/xmonad\ngit clone https://github.com/xmonad/xmonad-contrib\n```\n\nCopy the config file `xmonad/xmonad.hs` to `/opt/xmonad/`.\\\nCopy the `xmonad/lib` directory to `/opt/xmonad/` (it contains a\ncustom layout).\\\nInit the project to generate the `stack.yaml` file\n\n```shell\nstack init\n```\n\nBuild \u0026 install\n\n```shell\nstack install\n```\n\nXmonad expects `xmonad.hs` and `stack.yaml` to be in\n`~/.config/xmonad/` \\\nUse symlinks instead (does not make sense to have source files\nunder the config directory)\n\n```shell\ncd ~/.config/xmonad\nln -s /opt/xmonad/xmonad.hs xmonad.hs\nln -s /opt/xmonad/stack.yaml stack.yaml\n```\n\nsource: https://xmonad.org/INSTALL.html\n\n#### XMobar\n\nClone the sources and build the project\n\n```shell\ngit clone https://codeberg.org/xmobar/xmobar.git\n```\n\nOverride `stack.yaml` to only build needed features\n\n```shell\ncp xmobar/stack.yaml .\n```\n\nAdd `xmobarrc` to `~/config/xmobar/`.\n\nFinally build and install it\n\n```shell\nstack install\n```\n\n##### required packages\n\n```\ndmenu clipmenu trayer shotgun graphicsmagick xwallpaper udisks2 \nudiskie xclip slop gpick trashy ouch\n```\n\n### XDG user directories\n\n```shell\nsudo pacman -S xdg-user-dirs\nxdg-user-dirs-update\n```\n\nsource: https://wiki.archlinux.org/index.php/XDG_user_directories\n\n## Screen lock\n\nInstall `i3lock-color` from AUR\n\n#### On suspend\n\nCopy `systemd_unit/suspend@.service` to `/etc/systemd/system/`\nand enable it\n\n```\nsudo systemctl enable suspend@pierre.service\n```\n\nhttps://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Sleep_hooks\n\n## Design\n\n### GTK theme\n\nTheme used https://github.com/nana-4/materia-theme\n\nInstall `materia-gtk-theme`\n\nedit `$XDG_CONFIG_HOME/gtk-3.0/settings.ini`\n\n```\n[Settings]\ngtk-icon-theme-name = Paper\ngtk-theme-name = Materia-dark\ngtk-font-name = Roboto 12\n```\n\nedit ~/.gtkrc-2.0\n\n```\ngtk-icon-theme-name = \"Paper\"\ngtk-theme-name = \"Materia-dark\"\ngtk-font-name = \"Roboto 12\"\n```\n\n#### gnome\n\n```shell\ngsettings set org.gnome.desktop.interface gtk-theme Materia-dark\ngsettings set org.gnome.desktop.interface color-scheme prefer-dark\ngsettings set org.gnome.desktop.interface icon-theme Paper\ngsettings set org.gnome.desktop.interface cursor-size 64\n```\n\n#### Flatpak\n\n```shell\nflatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo\nflatpak install flathub org.gtk.Gtk3theme.Materia-dark\n```\n\n### Cursor theme\n\ninstall https://github.com/snwh/paper-icon-theme\n\nedit `/usr/share/icons/default/index.theme`\n\n```\n[Icon Theme]\nInherits=Paper\n```\n\nnote: the icon theme is also set when `.Xresources` file is read\nwhen lightdm (display manager) starts and sources `.xprofile`\n\n- https://wiki.archlinux.org/title/Cursor_themes\n- https://wiki.archlinux.org/index.php/Icons#Manually\n\n### set the wallpaper\n\nInstall `xwallpaper` package\\\n`xwallpaper` is spawned by XMonad\\\nThe wallpaper image is defined by `$BG_PRIMARY` env variable\\\neg. in `.xprofile`\n\n```bash\nexport BG_PRIMARY=$HOME/Pictures/dark_ocean.png\n```\n\n### HiDPI\n\nDPI is set in `.Xresources`\n\n```\nXft.dpi: 144\n```\n\nit will be loaded during display manager (ligthdm) starts and sources `.xprofile`\n\n```sh\n[[ -f \"$home/.Xresources\" ]] \u0026\u0026 xrdb -merge $home/.Xresources\n```\n\nsources:\n\n- https://wiki.archlinux.org/index.php/HiDPI#X_Resources\n- https://wiki.archlinux.org/index.php/LightDM#Environment_variables\n\nlarger font for linux console\n\n```shell\n$ sudo pacman -S terminus-font\n```\n\nadd in `/etc/vconsole.conf`\n\n```\nFONT=ter-v22b\nFONT_MAP=cp437\n```\n\nsource: https://wiki.archlinux.org/index.php/HiDPI#Linux_console\n\n## notes\n\nThe following notes are relevant to the installation of ArchLinux.\n\n### solve icon problem for apps installed through Flatpak\n\n```shell\ncd /var/lib/flatpak/exports/share/applications\n```\n\nrename the links to match this format: obs.desktop, vlc.desktop\n\n### journal\n\nTo prevent the journal to take 4Gb space of disk memory copy the\nconfiguration file `00-journal-size.conf` (from the `conf` dir in\nthis repo) into `/etc/systemd/journald.conf.d/` directory (create it)\n\n(the default is 4Gb)\n\nsource: https://wiki.archlinux.org/index.php/Systemd/Journal#Journal_size_limit\n\n### SSH agent\n\nInstall `gnome-keyring` and `libsecret`\n\nEnable the following systemd **user** unit (⚠ no `sudo`)\n\n```shell\nsystemctl --user enable gcr-ssh-agent.socket\n```\nSet the env var `SSH_AUTH_SOCK` to `/run/user/1000/gcr/ssh`\n(`.xprofile`/ fish config)\n\n→ https://wiki.archlinux.org/title/GNOME/Keyring\n\n### Firefox\n\nTo set the scrollbar width set the following property in\n`about:config`\n\n```\nwidget.non-native-theme.scrollbar.size.override 16\n```\n\nNOTE: the `widget.non-native-theme.enable` should be set to true\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoums%2Fdot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoums%2Fdot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoums%2Fdot/lists"}