Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Per user IDE config
.vscode

# need to be removed as it normally created by gtk/nwg-look
gtk/.gtkrc-2.0
# file for personal packages to install
scripts/**/**personals**.json

gtk/.icons/default/index.theme
# binary build folder
**build/

scripts/arch/personals-pkg.json
# pycache
**/__pycache__/**
86 changes: 85 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,90 @@
# CHANGELOG

## Each line correspeond to a pull request to the master branch (no date -> not yet merged/created : still in dev branch)
## Feb 22 Update

- minor update to starhip and add cmake

## Feb 20 Update

- backport windows rule from linux
- update the readme

## Feb 19 Update

- Backport some changes for polybar from linux to bsd
- fix the sound keybind for freebsd for i3
- add paximer for freebsd for the fix of the keybind sound
- remove the gtk and qt folders as i will found a better to save the theming that work better with stow and that is more flexible.
- removed obselete installer
- removed obselete tools
- update config for qtile for freebsd and temporaly remove the extras plugins since it is not available on freebsd ports (will look for a alternative or do a path or ports)
- remove tbd part of readme, as it is was not used for the bsd branch
- bsckport changes from linux :
- Modify the the whole scripts folder with new subfolders :
- data (for the packages list)
- assets for file in /usr/share/
- utils : wheres tools/utils scripts are located
- update the installer with qtile dotfiles
- remove gnome setting and MATE dump text file (will found a better and more modular way later)

## Backup du jour - 3 feb

- .profile mis a jour
- ajout du mate
- dump du dconf de gnome

## 2026/01/20 (bsd-branch) - 17:00

- Remove docker file since docker is not native to BSD
- Updated the readme with wip info and remove info about docker
- Move some themes/colors-schemes files to its own folder : themes
- Removed unused Kvantum folder
- Removed unused XSettings folder
- Updated fish_config and remove migration file
- Updated the starship config with more info and better detection
- Added a new script to dotfiles
- Added a new install tools script (WIP)
- Added a new xgui4-os-dotfiles-version tool to get information

## 2026/01/19 (bsd-branch) - 15:30

- Update Fastfetch with information about the dotfiles
- Updated the VERSION file for better display

## BSD-Patch (bsd-branch) - January 19 - 15:00

- Removed others Linux-related file
- Removed Hyprland related file since it is not ready on FreeBSD
- Added the start of Kvantum support
- Update the list for FreeBSD
- Fix BSD support for Fastfetch
- more fix for freebsd
- new fastfetch image
- better bash
- reworked polybar and i3 default for a mate + i3 session
- new i3 + picom config for standalone i3
- new i3 border

## BSD-Patch (bsd-branch) - January 13 - 11:05

- Other QT patch + i3 patch
- Added KWAllet + kde polkit to i3

## BSD-Patch (bsd-branch) - January 13 - 10:30

- Removed obselete `bsd.dockerfile`
- Updated the Readme file
- Removed old obselete info in Changelog
- Added more patch for i3 for GhostBSD
- Added important software in the .json file
- Added env variable for BSD in .profile
- Removed libinput-gestures and autiliting for i3 since BSD do not support it
- Removed Arch related files from the installer since this branh is not compatible with GNU/Linux
- Updated the installer to add a placeholder message, i plan to add a mechanism to change the branch

## BSD-Patch (bsd-branch) - January 12

- Modified and fix Polybar and i3 for GhostBSD

## BSD-Tested - January 11

Expand Down
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Xgui4 OS Dotfiles
# Xgui4 OS Dotfiles For BSD

> [!NOTE]
> This branch is my personal config who change often for stability the xgui4-os/.dotfiles is prefered or a other dotfiles made for daily use.
> This branch is my personal config with FreeBSD Patches which might not work correcly on Linux distribution

My dotfiles of my GNU/Linux System, including HyprArch (my hyprland setup) and i3wm and qtile config and terminal config and a work in progress installer.

Expand All @@ -27,12 +27,4 @@ My dotfiles of my GNU/Linux System, including HyprArch (my hyprland setup) and i

git pull

```

### How to Test/Debug

1. Install Docker
2. Run `docker buildn -t install.sh .`
3. Run `docker run -it install.sh .`
4. Run `docker commit <container_id> my-debug-image`
5. Run `docker run -it my-debug-image /bin/bash`
```
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BSD-Tested - January 11
Xgui4 OS Feb 22 Update (bsd-branch)
12 changes: 1 addition & 11 deletions bash/.bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,5 @@
[[ -f ~/.bashrc ]] && . ~/.bashrc

if [ "$XDG_SESSION_TYPE" = "x11" ]; then
export MOZ_USE_XINPUT2=1
export QT_QPA_PLATFORMTHEME=qt5ct
export XDG_MENU_PREFIX=arch
export QT_QPA_PLATFORM=xcb
export env QT_QPA_PLATFORMTHEME=qt6ct
fi

# Install Ruby Gems to ~/gems
export GEM_HOME="$HOME/gems"
export PATH="$HOME/gems/bin:$PATH"
export PATH="$PATH:/usr/local/bin/"
export PATH="$HOME/.local/share/gem/ruby/3.0.0/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
8 changes: 6 additions & 2 deletions bash/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '

eval "$(oh-my-posh init bash)"

alias fastfetch-image='fastfetch -c ~/.config/fastfetch/config-image.jsonc'
alias i-use-arch-btw='fastfetch -c ~/.config/fastfetch/config-image.jsonc --logo arch'
alias wkill='hyprctl kill'
alias neofetch='fastfetch -c neofetch'

current_tty=$(tty)

if [[ $current_tty == /dev/pts* ]] then
eval "$(starship init bash)"
fi
42 changes: 42 additions & 0 deletions bash/.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#
# .profile - Bourne Shell startup script for login shells
#
# see also sh(1), environ(7).
#

if [ "$XDG_SESSION_TYPE" = "x11" ]; then
export env QT_QPA_PLATFORMTHEME=qt6ct
fi

# These are normally set through /etc/login.conf. You may override them here
# if wanted.
# PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH

# Setting TERM is normally done through /etc/ttys. Do only override
# if you're sure that you'll never log in via telnet or xterm or a
# serial line.
# TERM=xterm; export TERM

VISUAL=code-oss; export VISUAL
EDITOR=nano; export EDITOR
PAGER=less; export PAGER

# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV

# Let sh(1) know it's at home, despite /home being a symlink.
if [ "$PWD" != "$HOME" ] && [ "$PWD" -ef "$HOME" ] ; then cd ; fi

# Query terminal size; useful for serial lines.
if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi

# Display a random cookie on each login.
if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi

# Set default locale
CHARSET=UTF-8; export CHARSET
LANG=fr_CA.UTF-8; export LANG

export WLR_NO_HARDWARE_CURSORS=1
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
17 changes: 0 additions & 17 deletions bsd.dockerfile

This file was deleted.

20 changes: 0 additions & 20 deletions dockerfile

This file was deleted.

37 changes: 22 additions & 15 deletions fastfetch/.config/fastfetch/config-image.jsonc
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "kitty-icat",
"source" : "~/.config/fastfetch/fastfetch.png",
"width" : 30,
"height" : 20,
"width" : 40,
"height" : 30
},
"display":
{
Expand All @@ -13,7 +14,7 @@
"break",
{
"type": "title",
"keyWidth": 10,
"keyWidth": 10
},
{
"type":"host",
Expand All @@ -23,62 +24,68 @@
{
"type": "os",
"key": " OS:",
"keyColor": "magenta",
"keyColor": "magenta"
},
{
"type": "kernel",
"key": " Kernel:",
"keyColor": "blue",
"keyColor": "blue"
},
{
"type": "packages",
"key": " Packages:",
"keyColor": "light_blue",
"keyColor": "light_blue"
},
{
"type": "shell",
"key": " Shell:",
"keyColor": "green",
"keyColor": "green"
},
{
"type": "terminal",
"key": " Terminal:",
"keyColor": "yellow",
"keyColor": "yellow"
},
{
"type": "wm",
"key": " Window Manager:",
"keyColor": "38;2;252;148;3",
"keyColor": "38;2;252;148;3"
},
{
"type": "command",
"key": "󰟪 Dotfiles",
"text": "cat ~/.dotfiles/VERSION",
"keyColor": "38;2;252;148;3"
},
{
"type": "Theme",
"key":"󱠓Themes:",
"keyColor": "38;2;252;148;3",
"keyColor": "38;2;252;148;3"
},
{
"type": "de",
"key": " Desktop Environnement:",
"keyColor": "38;2;252;148;3",
"keyColor": "38;2;252;148;3"
},
{
"type": "cursor",
"key": "󰇀Cursor:",
"keyColor": "red",
"keyColor": "red"
},
{
"type": "terminalfont",
"key": " Terminal Font:",
"keyColor": "magenta",
"keyColor": "magenta"
},
{
"type": "uptime",
"key": " Uptime:",
"keyColor": "blue",
"keyColor": "blue"
},
{
"type": "media",
"key": "󰝚 Media:",
"keyColor": "light_blue",
"keyColor": "light_blue"
},
{
"type": "cpu",
Expand Down
Loading