Compare commits
No commits in common. "main" and "dotfiles.sh" have entirely different histories.
main
...
dotfiles.s
38
.Xresources
Normal file
|
@ -0,0 +1,38 @@
|
|||
*background: #24273A
|
||||
*foreground: #CAD3F5
|
||||
|
||||
! black
|
||||
*color0: #494D64
|
||||
*color8: #5B6078
|
||||
|
||||
! red
|
||||
*color1: #ED8796
|
||||
*color9: #ED8796
|
||||
|
||||
! green
|
||||
*color2: #A6DA95
|
||||
*color10: #A6DA95
|
||||
|
||||
! yellow
|
||||
*color3: #EED49F
|
||||
*color11: #EED49F
|
||||
|
||||
! blue
|
||||
*color4: #8AADF4
|
||||
*color12: #8AADF4
|
||||
|
||||
! magenta
|
||||
*color5: #F5BDE6
|
||||
*color13: #F5BDE6
|
||||
|
||||
! cyan
|
||||
*color6: #8BD5CA
|
||||
*color14: #8BD5CA
|
||||
|
||||
! white
|
||||
*color7: #B8C0E0
|
||||
*color15: #A5ADCB
|
||||
|
||||
! Make Rofi use fish shell
|
||||
rofi.run-command: fish -c '{cmd}'
|
||||
rofi.run-list-command: 'fish -c functions'
|
3
.bash_logout
Normal file
|
@ -0,0 +1,3 @@
|
|||
#
|
||||
# ~/.bash_logout
|
||||
#
|
5
.bash_profile
Normal file
|
@ -0,0 +1,5 @@
|
|||
#
|
||||
# ~/.bash_profile
|
||||
#
|
||||
|
||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
13
.bashrc
Normal file
|
@ -0,0 +1,13 @@
|
|||
#
|
||||
# ~/.bashrc
|
||||
#
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
PS1='[\u@\h \W]\$ '
|
||||
|
||||
export EDITOR='nvim'
|
||||
export VISUAL="$EDITOR"
|
|
@ -1,6 +0,0 @@
|
|||
-----BEGIN PGP MESSAGE-----
|
||||
|
||||
jA0ECQMIAdvrnwZA6vH/0k4BbpJaxRE/WBrPHh/+FEz76PXX3zGkiu+ETcqKY10+
|
||||
RX68z4fcbzxK3nWltb8k7TPjjgLgUkoAYJD7wGVp/v7tijhWcfyH5/sS+lF80ao=
|
||||
=1IPu
|
||||
-----END PGP MESSAGE-----
|
|
@ -1,65 +0,0 @@
|
|||
{{- $passphrase := promptStringOnce . "passphrase" "passphrase" -}}
|
||||
{{- $colorscheme := "rose-pine" -}}
|
||||
{{- $gpgKey := promptStringOnce . "gpgKey" "gpgKey" -}}
|
||||
|
||||
{{- $osid := .chezmoi.os -}}
|
||||
{{- if hasKey .chezmoi.osRelease "id" -}}
|
||||
{{- $osid = printf "%s-%s" .chezmoi.os .chezmoi.osRelease.id -}}
|
||||
{{- end -}}
|
||||
|
||||
progress = true
|
||||
encryption = "gpg"
|
||||
|
||||
[diff]
|
||||
{{ if lookPath "delta" -}}
|
||||
command = "delta"
|
||||
args = ["--syntax-theme", {{ $colorscheme | quote }}, "--features", "mellow-barbet", "{{ "{{" }} .Destination {{ "}}" }}", "{{ "{{" }} .Target {{ "}}" }}"]
|
||||
pager = "delta"
|
||||
{{ end -}}
|
||||
exclude = ["scripts"]
|
||||
|
||||
[gpg]
|
||||
symmetric = true
|
||||
args = ["--batch", "--passphrase", {{ $passphrase | quote }}, "--no-symkey-cache", "--quiet"]
|
||||
|
||||
[git]
|
||||
autoPush = true
|
||||
|
||||
[hooks.read-source-state.pre]
|
||||
command = ".local/share/chezmoi/.install-bw.sh"
|
||||
|
||||
[data]
|
||||
gpgKey = {{ $gpgKey | quote }}
|
||||
passphrase = {{ $passphrase | quote }}
|
||||
osid = {{ $osid | quote }}
|
||||
{{ if eq $osid "linux-debian" -}}
|
||||
isServer = true
|
||||
{{ else }}
|
||||
isServer = false
|
||||
{{ end }}
|
||||
|
||||
[data.drapeau]
|
||||
colorscheme = {{ $colorscheme | quote }}
|
||||
rofi = "type-1"
|
||||
|
||||
# Defaults for when config is regenerated.
|
||||
[data.drapeau.colors]
|
||||
name = "catppuccin"
|
||||
flavor = "frappe"
|
||||
|
||||
base00 = "#303446" # base
|
||||
base01 = "#292c3c" # mantle
|
||||
base02 = "#414559" # surface0
|
||||
base03 = "#51576d" # surface1
|
||||
base04 = "#626880" # surface2
|
||||
base05 = "#c6d0f5" # text
|
||||
base06 = "#f2d5cf" # rosewater
|
||||
base07 = "#babbf1" # lavender
|
||||
base08 = "#e78284" # red
|
||||
base09 = "#ef9f76" # peach
|
||||
base0A = "#e5c890" # yellow
|
||||
base0B = "#a6d189" # green
|
||||
base0C = "#81c8be" # teal
|
||||
base0D = "#8caaee" # blue
|
||||
base0E = "#ca9ee6" # mauve
|
||||
base0F = "#eebebe" # flamingo
|
|
@ -1,18 +0,0 @@
|
|||
[packages.arch]
|
||||
archgirlie = [
|
||||
"lib32-gamemode",
|
||||
"lib32-vkd3d",
|
||||
"vkd3d",
|
||||
"vulkan-tools",
|
||||
"libva-nvidia-driver-git",
|
||||
"nvidia",
|
||||
"nvidia-settings",
|
||||
"xf86-video-nouveau",
|
||||
]
|
||||
archbaby = [
|
||||
"amd-ucode",
|
||||
"libva-mesa-driver",
|
||||
"vulkan-radeon",
|
||||
"xf86-video-amdgpu",
|
||||
"steamlink",
|
||||
]
|
|
@ -1,2 +0,0 @@
|
|||
[packages.gh]
|
||||
install = ["dlvhdr/gh-dash"]
|
|
@ -1,34 +0,0 @@
|
|||
[".config/amfora/themes/catppuccin-frappe"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/amfora/refs/heads/main/themes/frappe.toml"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/amfora/themes/catppuccin-latte"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/amfora/refs/heads/main/themes/latte.toml"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/amfora/themes/catppuccin-macchiato"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/amfora/refs/heads/main/themes/macchiato.toml"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/amfora/themes/catppuccin-mocha"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/amfora/refs/heads/main/themes/mocha.toml"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/amfora/themes/rose-pine"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/rose-pine/amfora/refs/heads/main/themes/rose-pine.toml"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/amfora/themes/rose-pine-dawn"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/rose-pine/amfora/refs/heads/main/themes/rose-pine-dawn.toml"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/amfora/themes/rose-pine-moon"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/rose-pine/amfora/refs/heads/main/themes/rose-pine-moon.toml"
|
||||
refreshPeriod = "672h"
|
|
@ -1,21 +0,0 @@
|
|||
{{- if eq .osid "linux-arch" -}}
|
||||
[".config/awesome/lib/bling"]
|
||||
type = "git-repo"
|
||||
url = "https://github.com/BlingCorp/bling.git"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/awesome/lib/catppuccin"]
|
||||
type = "git-repo"
|
||||
url = "https://github.com/catppuccin/lua.git"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/awesome/lib/layout-machi"]
|
||||
type = "git-repo"
|
||||
url = "https://github.com/xinhaoyuan/layout-machi.git"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/awesome/lib/rubato"]
|
||||
type = "git-repo"
|
||||
url = "https://github.com/andOrlando/rubato.git"
|
||||
refreshPeriod = "672h"
|
||||
{{- end -}}
|
|
@ -1,34 +0,0 @@
|
|||
[".config/bat/themes/catppuccin-latte.tmTheme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/bat/main/themes/Catppuccin%20Latte.tmTheme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/bat/themes/catppuccin-frappe.tmTheme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/bat/main/themes/Catppuccin%20Frappe.tmTheme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/bat/themes/catppuccin-macchiato.tmTheme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/bat/main/themes/Catppuccin%20Macchiato.tmTheme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/bat/themes/catppuccin-mocha.tmTheme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/bat/main/themes/Catppuccin%20Mocha.tmTheme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/bat/themes/rose-pine-dawn.tmTheme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/rose-pine/tm-theme/main/dist/themes/rose-pine-dawn.tmTheme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/bat/themes/rose-pine-moon.tmTheme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/rose-pine/tm-theme/main/dist/themes/rose-pine-moon.tmTheme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/bat/themes/rose-pine.tmTheme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/rose-pine/tm-theme/main/dist/themes/rose-pine.tmTheme"
|
||||
refreshPeriod = "672h"
|
|
@ -1,34 +0,0 @@
|
|||
[".config/btop/themes/catppuccin-frappe.theme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/btop/main/themes/catppuccin_frappe.theme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/btop/themes/catppuccin-latte.theme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/btop/main/themes/catppuccin_latte.theme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/btop/themes/catppuccin-macchiato.theme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/btop/main/themes/catppuccin_macchiato.theme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/btop/themes/catppuccin-mocha.theme"]
|
||||
type = "file"
|
||||
url = "https://github.com/catppuccin/btop/blob/main/themes/catppuccin_mocha.theme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/btop/themes/rose-pine-dawn.theme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/rose-pine/btop/main/rose-pine-dawn.theme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/btop/themes/rose-pine-moon.theme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/rose-pine/btop/main/rose-pine-moon.theme"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/btop/themes/rose-pine.theme"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/rose-pine/btop/main/rose-pine.theme"
|
||||
refreshPeriod = "672h"
|
|
@ -1,19 +0,0 @@
|
|||
[".config/glow/themes/catppuccin-frappe.json"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/glamour/main/themes/catppuccin-frappe.json"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/glow/themes/catppuccin-latte.json"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/glamour/main/themes/catppuccin-latte.json"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/glow/themes/catppuccin-macchiato.json"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/glamour/main/themes/catppuccin-macchiato.json"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/glow/themes/catppuccin-mocha.json"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/glamour/main/themes/catppuccin-mocha.json"
|
||||
refreshPeriod = "672h"
|
|
@ -1,21 +0,0 @@
|
|||
{{- if (not .isServer) -}}
|
||||
[".config/lazygit/catppuccin/frappe.yml"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/lazygit/main/themes-mergable/frappe/pink.yml"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/lazygit/catppuccin/latte.yml"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/lazygit/main/themes-mergable/latte/pink.yml"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/lazygit/catppuccin/macchiato.yml"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/lazygit/main/themes-mergable/macchiato/pink.yml"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/lazygit/catppuccin/mocha.yml"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/lazygit/main/themes-mergable/mocha/pink.yml"
|
||||
refreshPeriod = "672h"
|
||||
{{- end -}}
|
|
@ -1,21 +0,0 @@
|
|||
{{- if (and (not .isServer) (eq .chezmoi.os "linux")) -}}
|
||||
[".config/qt5ct/colors/Catppuccin-Frappe.conf"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/qt5ct/main/themes/Catppuccin-Frappe.conf"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/qt5ct/colors/Catppuccin-Latte.conf"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/qt5ct/main/themes/Catppuccin-Latte.conf"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/qt5ct/colors/Catppuccin-Macchiato.conf"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/qt5ct/main/themes/Catppuccin-Macchiato.conf"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/qt5ct/colors/Catppuccin-Mocha.conf"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/qt5ct/main/themes/Catppuccin-Mocha.conf"
|
||||
refreshPeriod = "672h"
|
||||
{{- end -}}
|
|
@ -1,36 +0,0 @@
|
|||
{{- if (and (not .isServer) (eq .chezmoi.os "linux")) -}}
|
||||
[".config/zathura/catppuccin-frappe"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/zathura/main/src/catppuccin-frappe"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/zathura/catppuccin-latte"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/zathura/main/src/catppuccin-latte"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/zathura/catppuccin-macchiato"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/zathura/main/src/catppuccin-macchiato"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/zathura/catppuccin-mocha"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/zathura/main/src/catppuccin-mocha"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/zathura/rose-pine"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/edunfelt/zathura/main/rose-pine"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/zathura/rose-pine-dawn"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/edunfelt/zathura/main/rose-pine-dawn"
|
||||
refreshPeriod = "672h"
|
||||
|
||||
[".config/zathura/rose-pine-moon"]
|
||||
type = "file"
|
||||
url = "https://raw.githubusercontent.com/edunfelt/zathura/main/rose-pine-moon"
|
||||
refreshPeriod = "672h"
|
||||
{{- end -}}
|
|
@ -1,67 +0,0 @@
|
|||
README.md
|
||||
tags*
|
||||
**/*.src.ini
|
||||
|
||||
{{- if ne .chezmoi.hostname "archbaby" }}
|
||||
.config/fish/functions/batt.fish
|
||||
{{- end }}
|
||||
|
||||
{{- if .isServer }}
|
||||
.config/awesome
|
||||
.config/cava
|
||||
.config/composer
|
||||
.config/dunst
|
||||
.config/fehbg
|
||||
.config/firefox
|
||||
.config/fish/conf.d/30-gtk.fish
|
||||
.config/fish/conf.d/30-qt.fish
|
||||
.config/gtk-3.0
|
||||
.config/gtk-4.0
|
||||
.config/i3
|
||||
.config/mpd
|
||||
.config/ncmpcpp
|
||||
.config/openrazer
|
||||
.config/picom
|
||||
.config/polybar
|
||||
.config/razercommander
|
||||
.config/rofi
|
||||
.config/wezterm
|
||||
.config/X11
|
||||
.config/zathura
|
||||
.icons
|
||||
{{- end }}
|
||||
|
||||
{{- if ne .osid "darwin" }}
|
||||
.config/packages/Brewfile
|
||||
{{- end }}
|
||||
|
||||
{{- if ne .chezmoi.os "linux" }}
|
||||
.config/fish/conf.d/30-gtk.fish
|
||||
.config/fish/conf.d/30-qt.fish
|
||||
.config/gtk-3.0
|
||||
.config/gtk-4.0
|
||||
.config/mpd
|
||||
.config/ncmpcpp
|
||||
.config/openrazer
|
||||
.config/razercommander
|
||||
.config/zathura
|
||||
.icons
|
||||
{{- end }}
|
||||
|
||||
{{- if ne .osid "linux-arch" }}
|
||||
.config/awesome
|
||||
.config/copyq
|
||||
.config/dunst
|
||||
.config/fehbg
|
||||
.config/i3
|
||||
.config/packages/arch*
|
||||
.config/pacman
|
||||
.config/picom
|
||||
.config/polybar
|
||||
.config/rofi
|
||||
.config/yay
|
||||
.config/xrandr
|
||||
.local/bin/update-package-list
|
||||
.xprofile
|
||||
.Xresources
|
||||
{{- end }}
|
|
@ -1,2 +0,0 @@
|
|||
.bash_logout
|
||||
.bash_profile
|
|
@ -1,55 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
import os
|
||||
import toml
|
||||
|
||||
|
||||
def main():
|
||||
# Chech if config file exists
|
||||
chezmoi_config_dir = os.path.join(os.environ["HOME"], ".config", "chezmoi")
|
||||
if os.path.exists(os.path.join(chezmoi_config_dir, "chezmoi.toml")):
|
||||
chezmoi_config_file = os.path.join(chezmoi_config_dir, "chezmoi.toml")
|
||||
else:
|
||||
return "=== ERROR: No chezmoi.toml found ==="
|
||||
|
||||
# Load config file into memory
|
||||
chezmoi_config_dict = toml.load(chezmoi_config_file)
|
||||
|
||||
# Extract drapeau data
|
||||
if "drapeau" not in chezmoi_config_dict["data"]:
|
||||
chezmoi_config_dict["data"]["drapeau"] = {}
|
||||
|
||||
# Get colorscheme
|
||||
if "colorscheme" in chezmoi_config_dict["data"]["drapeau"]:
|
||||
drapeau_color_scheme = chezmoi_config_dict["data"]["drapeau"]["colorscheme"]
|
||||
else:
|
||||
drapeau_color_scheme = "default"
|
||||
chezmoi_config_dict["data"]["drapeau"]["colorscheme"] = drapeau_color_scheme
|
||||
|
||||
# Find colorscheme files
|
||||
# Produce dict of {"name": "path"} for all schemes
|
||||
drapeau_config_dir = os.path.join(os.environ["HOME"], ".config", "drapeau")
|
||||
if os.path.exists(drapeau_config_dir):
|
||||
drapeau_color_scheme_files = {
|
||||
".".join(scheme.split(".")[:-1]): os.path.join(drapeau_config_dir, scheme)
|
||||
for scheme in os.listdir(drapeau_config_dir)
|
||||
if os.path.isfile(os.path.join(drapeau_config_dir, scheme))
|
||||
}
|
||||
else:
|
||||
drapeau_color_scheme_files = {}
|
||||
|
||||
# Extract colorscheme data from desired scheme
|
||||
drapeau_color_scheme_dict = toml.load(
|
||||
drapeau_color_scheme_files[drapeau_color_scheme]
|
||||
)
|
||||
|
||||
# Add colorscheme to chezmoi config data
|
||||
chezmoi_config_dict["data"]["drapeau"]["colors"] = drapeau_color_scheme_dict
|
||||
|
||||
# Write out modified dict to chezmoi config file
|
||||
with open(chezmoi_config_file, "w") as f:
|
||||
toml.dump(chezmoi_config_dict, f)
|
||||
|
||||
return "=== SUCCESS ==="
|
||||
|
||||
|
||||
main()
|
|
@ -1,13 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
type bw >/dev/null 2>&1 || exit
|
||||
|
||||
pass={{ joinPath .chezmoi.sourceDir ".bw-password.asc" | include | decrypt }}
|
||||
|
||||
if ! bw login --check; then
|
||||
BW_SESSION=$(bw login "bitwarden@punkfairie.net" "$pass" --raw)
|
||||
else
|
||||
BW_SESSION=$(bw unlock "$pass" --raw)
|
||||
fi
|
||||
|
||||
export BW_SESSION
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if command -v pacman-key &>/dev/null; then
|
||||
sudo pacman-key --init
|
||||
sudo pacman-key --populate archlinux
|
||||
fi
|
|
@ -1,12 +0,0 @@
|
|||
{{- if (and (eq .osid "linux-arch") (not (lookPath "yay"))) -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo pacman -S --needed git base-devel
|
||||
git clone https://aur.archlinux.org/yay-bin.git
|
||||
cd yay-bin
|
||||
makepkg -si
|
||||
cd ..
|
||||
rm -rf yay-bin
|
||||
|
||||
yay -Syu
|
||||
{{- end -}}
|
|
@ -1,8 +0,0 @@
|
|||
{{- if eq .osid "linux-arch" -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
|
||||
sudo pacman-key --lsign-key 3056513887B78AEB
|
||||
sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'
|
||||
sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
|
||||
{{- end -}}
|
|
@ -1,7 +0,0 @@
|
|||
{{- if eq .osid "linux-arch" -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# {{ include "dot_config/pacman/pacman.conf.tmpl" | sha256sum }}
|
||||
|
||||
sudo cp -v "$HOME/.config/pacman/pacman.conf" "/etc/pacman.conf"
|
||||
{{ end -}}
|
|
@ -1,146 +0,0 @@
|
|||
format = """
|
||||
$username \
|
||||
$directory \
|
||||
$git_branch \
|
||||
$git_status \
|
||||
$fill \
|
||||
$c \
|
||||
$elixir \
|
||||
$elm \
|
||||
$golang \
|
||||
$haskell \
|
||||
$java \
|
||||
$julia \
|
||||
$nodejs \
|
||||
$nim \
|
||||
$rust \
|
||||
$scala \
|
||||
$python \
|
||||
$time\n \
|
||||
[](fg:iris) \
|
||||
"""
|
||||
|
||||
palette = "rose-pine"
|
||||
|
||||
[palettes.rose-pine]
|
||||
overlay = '#26233a'
|
||||
love = '#eb6f92'
|
||||
gold = '#f6c177'
|
||||
rose = '#ebbcba'
|
||||
pine = '#31748f'
|
||||
foam = '#9ccfd8'
|
||||
iris = '#c4a7e7'
|
||||
|
||||
[directory]
|
||||
format = "[](fg:overlay)[ $path ]($style)[](fg:overlay)"
|
||||
style = "bg:overlay fg:pine"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
[directory.substitutions]
|
||||
Documents = ""
|
||||
Downloads = " "
|
||||
Music = " "
|
||||
Pictures = " "
|
||||
|
||||
[fill]
|
||||
style = "fg:overlay"
|
||||
symbol = " "
|
||||
|
||||
[git_branch]
|
||||
format = "[](fg:overlay)[ $symbol $branch ]($style)[](fg:overlay)"
|
||||
style = "bg:overlay fg:foam"
|
||||
symbol = ""
|
||||
|
||||
[git_status]
|
||||
style = "bg:overlay fg:love"
|
||||
format = '[](fg:overlay)[$all_status$ahead_behind]($style)[](fg:overlay)'
|
||||
disabled = true
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
format = "[](fg:overlay)[ $time ]($style)[](fg:overlay)"
|
||||
style = "bg:overlay fg:rose"
|
||||
time_format = "%I:%M%P"
|
||||
use_12hr = true
|
||||
|
||||
[username]
|
||||
disabled = false
|
||||
format = "[](fg:overlay)[ $user ]($style)[](fg:overlay)"
|
||||
show_always = true
|
||||
style_root = "bg:overlay fg:iris"
|
||||
style_user = "bg:overlay fg:iris"
|
||||
|
||||
# Languages
|
||||
|
||||
[c]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[elixir]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[elm]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[golang]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[haskell]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[java]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[julia]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[nodejs]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[nim]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[rust]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = ""
|
||||
|
||||
[scala]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[python]
|
||||
style = "bg:overlay fg:pine"
|
||||
format = "[](fg:overlay)[$symbol$version]($style)[](fg:overlay) "
|
||||
disabled = false
|
||||
symbol = ' '
|
2
.config/.fehbg
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
feh --no-fehbg --bg-fill '/home/marley/data/photos/wallpaper/city.png'
|
5
.config/awesome/.luarc.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
||||
"diagnostics.globals": ["awesome", "client", "button", "dbus", "drawable", "drawin", "key", "keygrabber", "mousegrabber", "root", "selection", "tag", "window", "table.unpack", "unpack", "math.atan2", "jit", "pack", "mouse", "screen", "nlog", "log", "context"],
|
||||
"workspace.library": ["/usr/share/awesome/lib/", "/usr/share/lua/5.4/"]
|
||||
}
|
|
@ -19,14 +19,11 @@ M.apps.start_editor = M.apps.terminal .. "-e" .. M.apps.editor
|
|||
M.apps.music_player = M.apps.terminal .. "--class music -e ncmpcpp"
|
||||
|
||||
M.theme = {
|
||||
flavor = {{ .drapeau.colors.flavor | quote }},
|
||||
flavor = "macchiato",
|
||||
accent1 = "pink",
|
||||
accent2 = "rosewater",
|
||||
{{- if eq .chezmoi.hostname "archgirlie" -}}
|
||||
-- wallpaper = config_dir .. "themes/catppuccin/buttons.png",
|
||||
wallpaper = "~/data/photos/wallpaper/city.png",
|
||||
{{ else }}
|
||||
wallpaper = config_dir .. "themes/catppuccin/buttons.png",
|
||||
{{- end }}
|
||||
pfp = config_dir .. "themes/catppuccin/assets/pfp.jpg",
|
||||
icon_theme = "Papirus",
|
||||
font = {
|
1
.config/awesome/lib/bling
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 1f6bd0d5ef150a1801d20c69437ceff61d65fac5
|
1
.config/awesome/lib/catppuccin
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 1af8166d2afdf0622d0a3d38d7b40d3958ab138d
|
1
.config/awesome/lib/layout-machi
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 497d076903e6f5375c0456593f24adcca3db07e6
|
1
.config/awesome/lib/rubato
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 8a3737b7af4c9dc40c53d700118333d36541d4d3
|
|
@ -47,17 +47,11 @@ ruled.client.connect_signal("request::rules", function()
|
|||
rule = { instance = "bf1.exe" },
|
||||
properties = { shape = helpers.ui.rrect(0), fullscreen = true, tag = "", switchtotag = true },
|
||||
})
|
||||
|
||||
ruled.client.append_rule({
|
||||
rule = { instance = "wine" },
|
||||
properties = { shape = helpers.ui.rrect(0), titlebars_enabled = false },
|
||||
})
|
||||
|
||||
ruled.client.append_rule({
|
||||
rule = { class = "steam_app_489830" },
|
||||
properties = { fullscreen = true },
|
||||
})
|
||||
|
||||
ruled.client.append_rule({
|
||||
rule_any = {
|
||||
floating = true,
|
||||
|
@ -76,9 +70,6 @@ ruled.client.connect_signal("request::rules", function()
|
|||
instance = {
|
||||
"xfce",
|
||||
},
|
||||
name = {
|
||||
"E:D Market Connector",
|
||||
},
|
||||
},
|
||||
properties = {
|
||||
floating = true,
|
|
@ -22,5 +22,5 @@ require("signals")
|
|||
require("ui")
|
||||
|
||||
-- Autostart --
|
||||
awful.spawn.with_shell("picom --config ~/.config/picom/awesomewm")
|
||||
awful.spawn.with_shell("~/.config/fehbg/awesomewm")
|
||||
awful.spawn.with_shell("picom")
|
||||
awful.spawn.with_shell("~/.config/.fehbg")
|
Before Width: | Height: | Size: 395 KiB After Width: | Height: | Size: 395 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 440 B After Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 193 B After Width: | Height: | Size: 193 B |
|
@ -76,7 +76,7 @@ theme.fg_urgent = theme.color.text
|
|||
theme.fg_minimize = theme.color.text
|
||||
|
||||
theme.useless_gap = dpi(10)
|
||||
theme.border_width = dpi(3)
|
||||
theme.border_width = dpi(1)
|
||||
theme.border_normal = theme.color.surface0
|
||||
theme.border_focus = theme.color.accent1
|
||||
theme.border_marked = theme.color.maroon
|
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 921 B After Width: | Height: | Size: 921 B |
Before Width: | Height: | Size: 966 B After Width: | Height: | Size: 966 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 519 B After Width: | Height: | Size: 519 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 607 B |