i moved everything into packages

This commit is contained in:
frosty 2024-05-19 02:23:03 -04:00
parent 1ffdd7116e
commit e2a0b30541
65 changed files with 55 additions and 182 deletions

View file

@ -1,6 +0,0 @@
#!/bin/sh
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/X11/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/X11/xprofile"
[ -f "$HOME/.xprofile" ] && . "$HOME/.xprofile"
exec dbus-launch dwm

View file

@ -1,146 +0,0 @@
#-------------------------------------
# Backgrounds
# Background 1: Panel
rounded = 0
border_width = 0
background_color = #1a1a1a 100
background_color_hover = #000000 100
# Background 2: Default task, Iconified task
rounded = 0
border_width = 0
background_color = #333333 100
background_color_hover = #404040 100
# Background 3: Active task
rounded = 0
border_width = 0
background_color = #3e6237 100
background_color_hover = #497240 100
# Background 4: Urgent task
rounded = 0
border_width = 0
background_color = #422e6b 100
background_color_hover = #cc7700 100
# Background 5: Tooltip
rounded = 0
border_width = 1
background_color = #222222 100
border_color = #5a5a5a 100
#-------------------------------------
# Panel
panel_items = LTSC
panel_size = 100% 32
panel_margin = 0 0
panel_padding = 0 0 2
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_position = bottom center horizontal
panel_layer = top
panel_monitor = all
panel_shrink = 0
autohide = 0
strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 1
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 100 0 10
mouse_pressed_icon_asb = 100 0 0
#-------------------------------------
# Taskbar
taskbar_mode = single_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 0 0 0
taskbar_background_id = 0
taskbar_active_background_id = 0
taskbar_name = 0
taskbar_hide_inactive_tasks = 0
taskbar_hide_different_monitor = 0
taskbar_hide_different_desktop = 0
taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 4 2
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #e3e3e3 100
taskbar_name_active_font_color = #ffffff 100
taskbar_distribute_size = 0
taskbar_sort_order = none
task_align = left
#-------------------------------------
# Task
task_text = 1
task_icon = 0
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 175 35
task_padding = 4 2 4
task_tooltip = 1
task_thumbnail = 1
task_thumbnail_size = 210
task_font_color = #ffffff 100
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 2
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify
#-------------------------------------
# System tray (notification area)
systray_padding = 0 4 2
systray_background_id = 0
systray_sort = ascending
systray_icon_size = 24
systray_icon_asb = 100 0 0
systray_monitor = primary
systray_name_filter =
#-------------------------------------
# Launcher
launcher_padding = 4 4 4
launcher_background_id = 0
launcher_icon_background_id = 0
launcher_icon_size = 24
launcher_icon_asb = 100 0 0
launcher_icon_theme_override = 0
startup_notifications = 1
launcher_tooltip = 1
launcher_item_app = terminal.desktop
launcher_item_app = file.desktop
launcher_item_app = browser.desktop
launcher_item_app = editor.desktop
#-------------------------------------
# Clock
time1_format = %H:%M
time2_format = %A %d %B
time1_timezone =
time2_timezone =
clock_font_color = #ffffff 100
clock_padding = 2 0
clock_background_id = 0
clock_tooltip =
clock_tooltip_timezone =
clock_lclick_command =
clock_rclick_command = orage
clock_mclick_command =
clock_uwheel_command =
clock_dwheel_command =
#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_padding = 4 4
tooltip_background_id = 5
tooltip_font_color = #dddddd 100

16
.gitmodules vendored
View file

@ -1,12 +1,12 @@
[submodule ".local/share/themes/icecubes"] [submodule "openbox/.local/share/themes/icecubes"]
path = .local/share/themes/icecubes path = openbox/.local/share/themes/icecubes
url = https://gitlab.com/frostalicious/icecubes url = https://gitlab.com/frostalicious/icecubes
[submodule ".local/share/zsh/plugins/zsh-autosuggestions"] [submodule "zsh/.local/share/zsh/plugins/zsh-autosuggestions"]
path = .local/share/zsh/plugins/zsh-autosuggestions path = zsh/.local/share/zsh/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions url = https://github.com/zsh-users/zsh-autosuggestions
[submodule ".local/share/zsh/plugins/zsh-completions"] [submodule "zsh/.local/share/zsh/plugins/zsh-completions"]
path = .local/share/zsh/plugins/zsh-completions path = zsh/.local/share/zsh/plugins/zsh-completions
url = https://github.com/zsh-users/zsh-completions url = https://github.com/zsh-users/zsh-completions
[submodule ".local/share/zsh/plugins/zsh-syntax-highlighting"] [submodule "zsh/.local/share/zsh/plugins/zsh-syntax-highlighting"]
path = .local/share/zsh/plugins/zsh-syntax-highlighting path = zsh/.local/share/zsh/plugins/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting url = https://github.com/zsh-users/zsh-syntax-highlighting

View file

@ -1,9 +0,0 @@
\.git
\.gitignore
\.gitmodules
^/README.*
^/LICENSE.*
^/COPYING
^/Makefile

View file

@ -1,4 +0,0 @@
stow:
stow --verbose --target=${HOME} --restow .
delete:
stow --verbose --target=${HOME} --delete .

View file

@ -1,6 +1,14 @@
# dotfiles # dotfiles
Collection of system configurations across multiple machines This is my collection of configuration and setup data for all of my Linux machines. The distributions I primarily use are Artix Linux and Debian.
## What to Expect
### Environments
- [dwm](https://dwm.suckless.org/)
- [Openbox](http://openbox.org/wiki/Main_Page)
- shells ([Bash](https://www.gnu.org/software/bash/) and [Zsh](https://www.zsh.org/))
## Installation ## Installation
@ -8,14 +16,17 @@ Collection of system configurations across multiple machines
$ cd ~ $ cd ~
$ git clone https://gitlab.com/frostalicious/dotfiles .dotfiles $ git clone https://gitlab.com/frostalicious/dotfiles .dotfiles
$ cd .dotfiles $ cd .dotfiles
$ make stow $ stow --verbose --target=${HOME} --restow PACKAGES
``` ```
At the very least, no matter the environment, I would install the `bin`, `git`, `shell`, and either `bash` or `zsh`.
## Other Repositories ## Other Repositories
There are some other dotfiles repositories I cross-referenced when putting my system together, here is a list below: There are some other dotfiles repositories I cross-referenced when putting my system together, here is a list below:
* [Derek Taylor](https://gitlab.com/dwt1/dotfiles) * [DistroTube](https://gitlab.com/dwt1/dotfiles)
* [Luke Smith](https://github.com/LukeSmithxyz/voidrice) * [Luke Smith](https://github.com/LukeSmithxyz/voidrice)
* [Un1q32](https://github.com/Un1q32/dotfiles) * [Un1q32](https://github.com/Un1q32/dotfiles)
* [David Zuber](https://github.com/storax/dotfiles)
* [Gl00ria](https://github.com/Gl00ria/dotfiles) * [Gl00ria](https://github.com/Gl00ria/dotfiles)

View file

@ -1,2 +1,4 @@
# shellcheck disable=SC1091
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment" [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment"
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc" [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"

View file

@ -1,13 +1,11 @@
shopt -s autocd PS1='%F{blue}%~ %(?.%F{green}.%F{red})%#%f '
shopt -s nocaseglob
shopt -s histverify
PS1='\[\033[34m\]\w $(if [ "$?" -eq 0 ]; then printf "\033[32m"; else printf "\033[31m"; fi)\$ \[\033[0m\]'
# shellcheck disable=SC1091
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases" [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases"
if [ -d "${XDG_CONFIG_HOME:-$HOME/.config}/shell/functions" ]; then if [ -d "${XDG_CONFIG_HOME:-$HOME/.config}/shell/functions" ]; then
for func in "${XDG_CONFIG_HOME:-$HOME/.config}"/shell/functions/*; do for func in "${XDG_CONFIG_HOME:-$HOME/.config}"/shell/functions/*; do
# shellcheck disable=SC1090
. "$func" . "$func"
done done
unset func unset func

9
dwm/.config/X11/xinitrc Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/X11/xprofile" ]; then
. "${XDG_CONFIG_HOME:-$HOME/.config}/X11/xprofile"
elif [ -f "$HOME/.xprofile" ]; then
. "$HOME/.xprofile"
fi
exec dbus-launch dwm

View file

@ -0,0 +1,16 @@
[General]
buttons=@Variant(\0\0\0\x7f\0\0\0\vQList<int>\0\0\0\0\x5\0\0\0\0\0\0\0\x3\0\0\0\x4\0\0\0\x12\0\0\0\xf)
checkForUpdates=false
contrastOpacity=178
contrastUiColor=#1a1a1a
copyPathAfterSave=false
disabledTrayIcon=false
drawColor=#ffffff
saveAfterCopy=true
savePath=/home/frosty/pictures/screenshots
showDesktopNotification=false
showHelp=false
showSidePanelButton=false
showStartupLaunchMessage=false
uiColor=#aaaaaa
userColors=#ff0000, #000000, #ffffff

View file

@ -1,2 +1,2 @@
# shellcheck disable=SC1091
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment" [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment"
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"

View file

@ -6,10 +6,12 @@ setopt histreduceblanks
PS1='%F{blue}%~ %(?.%F{green}.%F{red})%#%f ' PS1='%F{blue}%~ %(?.%F{green}.%F{red})%#%f '
# shellcheck disable=SC1091
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases" [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases"
if [ -d "${XDG_CONFIG_HOME:-$HOME/.config}/shell/functions" ]; then if [ -d "${XDG_CONFIG_HOME:-$HOME/.config}/shell/functions" ]; then
for func in "${XDG_CONFIG_HOME:-$HOME/.config}"/shell/functions/*; do for func in "${XDG_CONFIG_HOME:-$HOME/.config}"/shell/functions/*; do
# shellcheck disable=SC1090
. "$func" . "$func"
done done
unset func unset func