dots

Laptop & Desktop dotfiles
git clone https://git.pngu.org/dots
Log | Files | Refs | README

commit 1be38321f3f39060ffc306f4ca097a8bbb09ea7c
Author: Jack Sangdahl <jack@pngu.org>
Date:   Tue,  7 Jan 2025 12:28:51 +0100

Initial Artix (nord colourscheme) configuration

Diffstat:
A.config/alacritty/alacritty.toml | 19+++++++++++++++++++
A.config/alacritty/colours.toml | 50++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/alacritty/fonts.toml | 7+++++++
A.config/colours.css | 16++++++++++++++++
A.config/gtk-3.0/bookmarks | 4++++
A.config/gtk-3.0/settings.ini | 4++++
A.config/gtklock/config.ini | 3+++
A.config/gtklock/style.css | 9+++++++++
A.config/issue | 4++++
A.config/keyd.conf | 71+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/lsd/colors.yaml | 18++++++++++++++++++
A.config/lsd/config.yaml | 15+++++++++++++++
A.config/mako/config | 8++++++++
A.config/mimeapps.list | 7+++++++
A.config/neofetch/config.conf | 118+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/sway/config | 131+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/swaynag/config | 10++++++++++
A.config/user-dirs.dirs | 8++++++++
A.config/waybar/config.jsonc | 74++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/waybar/date.sh | 2++
A.config/waybar/style.css | 83+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/wofi/config | 5+++++
A.config/wofi/style.css | 29+++++++++++++++++++++++++++++
A.config/zathura/zathurarc | 29+++++++++++++++++++++++++++++
A.gitconfig | 21+++++++++++++++++++++
A.gitignore | 23+++++++++++++++++++++++
A.img/wallpaper/2062.png | 0
A.img/wallpaper/circuit.png | 0
A.img/wallpaper/cracked.png | 0
A.img/wallpaper/fish.png | 0
A.img/wallpaper/kittyboard.png | 0
A.img/wallpaper/mountain1.png | 0
A.img/wallpaper/mountain2.png | 0
A.img/wallpaper/mountain2_blur.png | 0
A.img/wallpaper/ocean.png | 0
A.img/wallpaper/sand_dunes.png | 0
A.img/wallpaper/sand_dunes_blur.png | 0
A.img/wallpaper/swirl.png | 0
A.pkglist.txt | 86+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.zshrc | 54++++++++++++++++++++++++++++++++++++++++++++++++++++++
40 files changed, 908 insertions(+), 0 deletions(-)

diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml @@ -0,0 +1,19 @@ +[general] +import = [ + "colours.toml", + "fonts.toml" +] + +[terminal.shell] +program = "/usr/bin/zsh" + +[selection] +save_to_clipboard = true + +[window] +decorations = "none" +dynamic_padding = true + +[window.padding] +x = 8 +y = 8 diff --git a/.config/alacritty/colours.toml b/.config/alacritty/colours.toml @@ -0,0 +1,50 @@ +[colors.normal] +black = "#3b4252" +blue = "#81a1c1" +cyan = "#88c0d0" +green = "#a3be8c" +magenta = "#b48ead" +red = "#bf616a" +white = "#e5e9f0" +yellow = "#ebcb8b" + +[colors.bright] +black = "#4c566a" +blue = "#81a1c1" +cyan = "#8fbcbb" +green = "#a3be8c" +magenta = "#b48ead" +red = "#bf616a" +white = "#eceff4" +yellow = "#ebcb8b" + +[colors.dim] +black = "#373e4d" +blue = "#68809a" +cyan = "#6d96a5" +green = "#809575" +magenta = "#8c738c" +red = "#94545d" +white = "#aeb3bb" +yellow = "#b29e75" + +[colors.cursor] +cursor = "#d8dee9" +text = "#2e3440" + +[colors.primary] +background = "#2a303c" +dim_foreground = "#a5abb6" +foreground = "#d8dee9" + +[colors.search.matches] +background = "#88c0d0" +foreground = "CellBackground" + +[colors.selection] +background = "#4c566a" +text = "CellForeground" + +[colors.vi_mode_cursor] +cursor = "#d8dee9" +text = "#2e3440" diff --git a/.config/alacritty/fonts.toml b/.config/alacritty/fonts.toml @@ -0,0 +1,7 @@ +[font] +size = 11 + +normal = { family = "JetBrainsMono NF", style = "SemiBold" } +bold = { family = "JetBrainsMono NF", style = "Bold" } +italic = { family = "JetBrainsMono NF", style = "Italic" } +bold_italic = { family = "JetBrainsMono NF", style = "Bold Italic" } diff --git a/.config/colours.css b/.config/colours.css @@ -0,0 +1,16 @@ +@define-color base00 #2E3440; +@define-color base01 #3B4252; +@define-color base02 #434C5E; +@define-color base03 #4C566A; +@define-color base04 #D8DEE9; +@define-color base05 #E5E9F0; +@define-color base06 #ECEFF4; +@define-color base07 #8FBCBB; +@define-color base08 #88C0D0; +@define-color base09 #81A1C1; +@define-color base0A #5E81AC; +@define-color base0B #BF616A; +@define-color base0C #D08770; +@define-color base0D #EBCB8B; +@define-color base0E #A3BE8C; +@define-color base0F #B48EAD; diff --git a/.config/gtk-3.0/bookmarks b/.config/gtk-3.0/bookmarks @@ -0,0 +1,4 @@ +file:///home/jack/git git +file:///home/jack/Documents Documents +file:///home/jack/Downloads Downloads +file:///home/jack/Pictures Pictures diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini @@ -0,0 +1,4 @@ +[Settings] +gtk-theme-name = nordic +gtk-cursor-theme-name = nordic_cursors +gtk-font-name = JetBrainsMono Nerd Font diff --git a/.config/gtklock/config.ini b/.config/gtklock/config.ini @@ -0,0 +1,3 @@ +[main] +gtk-theme=nordic +start-hidden=true diff --git a/.config/gtklock/style.css b/.config/gtklock/style.css @@ -0,0 +1,9 @@ +@import url("../colours.css"); +window { + background-image: url("/home/jack/.img/wallpaper/sand_dunes_blur.png"); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + font-family: "mononoki Nerd Font"; + color: @base09; +} diff --git a/.config/issue b/.config/issue @@ -0,0 +1,4 @@ +]P02E3440]P83BB4252]P7D8DEE9]PFE5E9F0]P1BF616A]P9BF616A]P2A3BE8C]PAA3BE8C]P3EBCB8B]PBEBCB8B]P488C0D0]PC88C0D0]P5B48EAD]PDB48EAD]P68FBCBB]PE8FBCBB]P02E3440]P83BB4252]P7D8DEE9]PFE5E9F0]P1BF616A]P9BF616A]P2A3BE8C]PAA3BE8C]P3EBCB8B]PBEBCB8B]P488C0D0]PC88C0D0]P5B48EAD]PDB48EAD]P68FBCBB]PE8FBCBB + +\n (\s \m \r) \t \d + diff --git a/.config/keyd.conf b/.config/keyd.conf @@ -0,0 +1,71 @@ +[ids] +k:05ac:0291 + +[global] +chord_timeout = 40 + +[main] + +# home row mods +a = overloadt(alt, a, 170) +s = overloadt(meta, s, 170) +d = overloadt(control, d, 170) +f = overloadt(shift, f, 170) +j = overloadt(shift, j, 170) +k = overloadt(control, k, 170) +l = overloadt(meta, l, 170) +; = overloadt(alt, ;, 170) + +# other +[ = backspace +leftmeta = esc +space = overloadt(lower, space, 170) +rightmeta = C-S-v + +# combos +w+e = = +e+r = { +r+t = \ +y+u = ' +u+i = [ +i+o = - +s+d = + +d+f = : +f+g = | +h+j = " +j+k = enter +k+l = _ + +[lower] +q = 1 +w = 2 +e = 3 +r = 4 +t = 5 +y = 6 +u = 7 +i = 8 +o = 9 +p = 0 + +a = ! +s = @ +d = # +f = $ +g = % +h = ^ +j = & +k = * +l = ( +; = ) + +z = volumedown +x = tab +c = capslock +v = C-backspace +b = ` +n = left +m = down +, = up +. = right +/ = volumeup diff --git a/.config/lsd/colors.yaml b/.config/lsd/colors.yaml @@ -0,0 +1,18 @@ +permission: + read: "#A3BE8C" + write: "#EBCB8B" + exec: "#BF616A" + no-access: "#4C566A" +size: + none: "#4C566A" + small: "#A3BE8C" + medium: "#EBCB8B" + large: "#D08770" +user: "#B48EAD" +date: + hour-old: "#88C0D0" + day-old: "#5E81AC" + older: "#81A1C1" +links: + valid: "#A3BE8C" + invalid: "#BF616A" diff --git a/.config/lsd/config.yaml b/.config/lsd/config.yaml @@ -0,0 +1,15 @@ +# lsd configuration + +blocks: + - permission + - size + - user + - date + - name + +color: + theme: custom + +date: '+%d %b %Y %H:%M' + +size: short diff --git a/.config/mako/config b/.config/mako/config @@ -0,0 +1,8 @@ +margin=20 +border-radius=7 +max-icon-size=48 +text-color=#D8DEE9 +border-color=#88c0d0 +default-timeout=10000 +font=mononoki Nerd Font +background-color=#3b4252 diff --git a/.config/mimeapps.list b/.config/mimeapps.list @@ -0,0 +1,7 @@ + +[Default Applications] +text/html=firefox.desktop +x-scheme-handler/http=firefox.desktop +x-scheme-handler/https=firefox.desktop +x-scheme-handler/about=firefox.desktop +x-scheme-handler/unknown=firefox.desktop diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf @@ -0,0 +1,118 @@ +print_info() { + info title + info underline + info "" distro + info "" model + info "" kernel + info "" uptime + info "" packages + info "" shell + info "" wm + info "" theme + info "" cpu + info "" gpu + info "" memory + info "" local_ip + info cols +} + +title_fqdn="off" + +# on: 'Arch Linux x86_64' +# off: 'Arch Linux' +os_arch="off" + +# on: '2 days, 10 hours, 3 mins' +# tiny: '2d 10h 3m' +# off: '2 days, 10 hours, 3 minutes' +uptime_shorthand="tiny" + +# on: '1801MiB / 7881MiB (22%)' +# off: '1801MiB / 7881MiB' +memory_percent="off" + +# kib '1020928KiB / 7117824KiB' +# mib '1042MiB / 6951MiB' +# gib: ' 0.98GiB / 6.79GiB' +memory_unit="gib" + +# on: '998 (pacman), 8 (flatpak), 4 (snap)' +# tiny: '908 (pacman, flatpak, snap)' +# off: '908' +package_managers="on" + +# on: 'i7-6500U (4) @ 3.1GHz' +# off: 'i7-6500U (4) @ 3.100GHz' +speed_shorthand="on" + +# --cpu_cores logical, physical, off +cpu_cores="off" + +# on: 'Numix, Adwaita' +# off: 'Numix [GTK2], Adwaita [GTK3]' +gtk_shorthand="off" + +# disk_show=('/' '/dev/sdb1'): +# 'Disk (/): 74G / 118G (66%)' +# 'Disk (/mnt/Videos): 823G / 893G (93%)' +disk_show=('/') + +music_player="auto" + +# colors=(distro) - Text is colored based on Distro colors. +# colors=(4 6 1 8 8 6) - Text is colored in the order above. +colors=(distro) + +# separator="->": 'Shell-> bash' +# separator=" =": 'WM = dwm' +separator=" " +underline_char="-" +block_range=(0 15) +color_blocks="on" +block_width=3 +block_height=1 +ol_offset="auto" +bar_char_elapsed="-" +bar_char_total="=" +bar_border="on" +bar_length=15 + +# neofetch --bar_colors 3 4 +# neofetch --bar_colors distro 5 +bar_color_elapsed="distro" +bar_color_total="distro" + +# bar: '[---=======]' +# infobar: 'info [---=======]' +# barinfo: '[---=======] info' +# off: 'info' +cpu_display="off" +memory_display="off" +battery_display="off" +disk_display="off" + +# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', +# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' +image_backend="ascii" + +# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' +# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' +image_source="auto" +ascii_distro="auto" + +# ascii_colors=(distro) - Ascii is colored based on Distro colors. +# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. +ascii_colors=(distro) + +# Values: 'on', 'off' +ascii_bold="on" + +# Default: '~/.cache/thumbnails/neofetch' +thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" + +# Values: 'normal', 'fit', 'fill' +# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F +crop_mode="fit" + +# Gap between image and text +gap=3 diff --git a/.config/sway/config b/.config/sway/config @@ -0,0 +1,131 @@ +# laptop +default_border pixel 3 +default_floating_border pixel 3 +gaps inner 9 + +# class border backgr. text flag child_border +client.focused #88C0D0 #88C0D0 #E5E9F0 #88C0D0 #88C0D0 +client.unfocused #3B4252 #3B4252 #E5E9F0 #3B4252 #3B4252 +client.urgent #BF616A #BF616A #E5E9F0 #BF616A #BF616A + +set $mod Mod4 +set $left h +set $down j +set $up k +set $right l + +output * bg $HOME/.img/wallpaper/fish.png fill + +input "1452:657:bcm5974" { + dwt enabled + tap enabled + natural_scroll disabled + middle_emulation enabled +} + +exec /usr/bin/pipewire & +exec /usr/bin/pipewire-pulse & +exec /usr/bin/wireplumber & +exec /usr/bin/mako + +exec_always { + gsettings set $gnome-schema gtk-theme 'nordic' + gsettings set $gnome-schema cursor-theme 'nordic_cursors' + gsettings set $gnome-schema font-name 'JetBrainsMono Nerd Font 10' +} + +### key bindings +# applications + +bindsym $mod+q kill +bindsym $mod+t exec alacritty +bindsym $mod+f exec firefox +bindsym $mod+r exec wofi +bindsym $mod+p exec grim -g "$(slurp)" - | wl-copy +bindsym $mod+Shift+p exec grim -g "$(slurp)" +bindsym $mod+Escape exec gtklock -d + +# audio +bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindsym XF86AudioPlay exec playerctl play-pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous + +# lighting +bindsym XF86MonBrightnessDown exec brightnessctl -q set 10%- +bindsym XF86MonBrightnessUp exec brightnessctl -q set +10% +bindsym XF86KbdBrightnessDown exec brightnessctl -q --device='smc::kbd_backlight' set 10%- +bindsym XF86KbdBrightnessUp exec brightnessctl -q --device='smc::kbd_backlight' set +10% + +# reload configuration file +bindsym $mod+Shift+c reload +# exit wayland session +bindsym $mod+Shift+e exec swaynag -m 'confirm exit?' -b 'exit' 'swaymsg exit' + +# change focused container +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# move focused window +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# drag floating windows: $mod + left mouse button +floating_modifier $mod normal + +# switch to workspace +bindsym $mod+1 workspace number 1 +bindsym $mod+2 workspace number 2 +bindsym $mod+3 workspace number 3 +bindsym $mod+4 workspace number 4 +bindsym $mod+5 workspace number 5 +bindsym $mod+6 workspace number 6 + +# move focused window to workspace +bindsym $mod+Shift+1 move container to workspace number 1 +bindsym $mod+Shift+2 move container to workspace number 2 +bindsym $mod+Shift+3 move container to workspace number 3 +bindsym $mod+Shift+4 move container to workspace number 4 +bindsym $mod+Shift+5 move container to workspace number 5 +bindsym $mod+Shift+6 move container to workspace number 6 + +# change whether windows open horizontally or +# vertically to currently open windows, respectively +bindsym $mod+b splith +bindsym $mod+v splitv + +# switch focused container between different layouts +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# make focused window fullscreen +bindsym $mod+Shift+f fullscreen + +# toggle focused window between floating and tiling +bindsym $mod+Shift+space floating toggle + +# switch focus between tiling and floating windows +bindsym $mod+space focus mode_toggle + +# scratchpad: bag for holding windows (like minimize) +# move focused window to scratchpad +bindsym $mod+n move scratchpad + +# cycle through windows in scratchpad +bindsym $mod+Shift+n scratchpad show + +# disable trackpad +bindsym $mod+m input type:touchpad events toggle enabled disabled + +bar { + swaybar_command waybar +} + +include /etc/sway/config.d/* diff --git a/.config/swaynag/config b/.config/swaynag/config @@ -0,0 +1,10 @@ +edge=bottom +font=JetBrainsMono Nerd Font 10 + +[error] +background=3B4252 +border=BF616A +button-background=3B4252 +text=BF616A +button-text=BF616A +border-bottom-size=0 diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs @@ -0,0 +1,8 @@ +XDG_DESKTOP_DIR="$HOME/" +XDG_DOCUMENTS_DIR="$HOME/Documents" +XDG_DOWNLOAD_DIR="$HOME/Downloads" +XDG_PICTURES_DIR="$HOME/Pictures" +XDG_TEMPLATES_DIR="$HOME/" +XDG_PUBLICSHARE_DIR="$HOME/" +XDG_MUSIC_DIR="$HOME/" +XDG_VIDEOS_DIR="$HOME/" diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc @@ -0,0 +1,74 @@ +{ + "battery": { + "format": "{icon} {capacity}%", + "format-charging": "\uf0e7 {capacity}%", + "format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"], + "states": { + "critical": 10, + "warning": 20, + }, + }, + "clock": { + "format": "\uf017 {:%H:%M}", + "tooltip-format": "<tt><small>{calendar}</small></tt>", + "calendar": { + "mode": "year", + "mode-mon-col": 3, + "weeks-pos": "right", + "format": { + "months": "<span color='#E5E9F0'><b>{}</b></span>", + "days": "<span color='#D8DEE9'><b>{}</b></span>", + "weeks": "<span color='#EBCB8B'><b>W{}</b></span>", + "weekdays": "<span color='#A3BE8C'><b>{}</b></span>", + "today": "<span color='#BF616A'><b><u>{}</u></b></span>", + }, + }, + }, + "custom/date": { + "exec": "$HOME/.config/waybar/date.sh", + "format": "\uf073 {}", + "interval": 60, + }, + "network": { + "interface": "wlan0", + "format": "\uf1eb {ipaddr}", + "format-disconnected": "\uf52f disconnected", + "tooltip-format": "\uf1eb {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n\uf093 {bandwidthUpBits} \uf019 {bandwidthDownBits}", + }, + "modules-center": ["sway/workspaces"], + "modules-left": ["network", "battery", "temperature"], + "modules-right": ["wireplumber", "custom/date", "clock"], + "position": "top", + "wireplumber": { + "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", + "format": "{icon} {volume}%", + "format-muted": "\uf026 muted", + "format-icons": { + "default": ["\uf027", "\uf028"], + "headphone": "\uf025", + }, + }, + "sway/workspaces": { + "all-outputs": true, + "disable-scroll": true, + "format": "{icon}", + "format-icons": { + "default": "\uf068", + }, + "persistent-workspaces": { + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + "6": [], + }, + }, + "temperature": { + "critical-threshold": 90, + "format": "\uf2c8 {temperatureC}\u00b0C", + "format-critical": "\uf071 {temperatureC}\u00b0C", + "hwmon-path": "/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input", + "interval": "5", + }, +} diff --git a/.config/waybar/date.sh b/.config/waybar/date.sh @@ -0,0 +1,2 @@ +#!/bin/sh +date +"%a %d" diff --git a/.config/waybar/style.css b/.config/waybar/style.css @@ -0,0 +1,83 @@ +@import url("../colours.css"); + +* { + font-family: "JetBrainsMono Nerd Font"; + font-size: 14px; + font-weight: 600; +} + +window#waybar { + background: transparent; +} + +tooltip { + background-color: @base03; + border-width: 3px; + border-color: @base0A; +} + +tooltip * { + color: @base05; + text-shadow: none; +} + +#workspaces button.focused { + color: @base08; +} +#workspaces button.urgent { + color: @base0B; +} +#workspaces button:hover { + color: @base0F; +} +#workspaces button { + padding: 0px 5px; + color: @white1; +} + +#network, +#battery, +#temperature, +#workspaces, +#wireplumber, +#custom-date, +#clock { + margin: 5px 5px 0px 5px; + border-radius: 60px; + padding: 2px 8px; + color: @base02; +} + +#workspaces { + background-color: @base00; +} +#clock { + background-color: @base0E; +} +#custom-date { + background-color: @base0D; +} +#network { + background-color: @base0A; +} +#temperature { + background-color: @base07; +} +#temperature.critical { + background-color: @base0B; +} +#wireplumber { + background-color: @base0C; +} +#wireplumber.muted { + background-color: @base0B; +} +#battery { + background-color: @base0F; +} +#battery.warning { + color: @base0D; +} +#battery.critical { + color: @base0B; +} diff --git a/.config/wofi/config b/.config/wofi/config @@ -0,0 +1,5 @@ +show=drun +width=500 +height=225 +prompt=search... +content_halign=center diff --git a/.config/wofi/style.css b/.config/wofi/style.css @@ -0,0 +1,29 @@ +window { + border: 3px solid #81A1C1; + background-color: #2E3440; + color: #D8DEE9; + font-family: "JetBrainsMono Nerd Font"; + font-size: 14px; +} + +#input { + margin: 5px; + border: 2px solid #81A1C1; + background-color: #81A1C1; + border-radius: 15px; +} + +#entry:selected { + background-color: #B48EAD; + border-radius: 15px; +} + +#text:selected { + background-color: #B48EAD; + color: #2E3440; + font-weight: normal; +} + +#outer-box, +#inner-box, +#text { margin: 6px; } diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc @@ -0,0 +1,29 @@ +set font "JetBrainsMono Nerd Font 10" +set default-bg "#2E3440" +set default-fg "#3B4252" +set statusbar-fg "#D8DEE9" +set statusbar-bg "#434C5E" +set index-bg "#2E3440" +set index-fg "#D8DEE9" +set index-active-bg "#5E81AC" +set index-active-fg "#D8DEE9" +set inputbar-bg "#2E3440" +set inputbar-fg "#80C0D0" +set notification-bg "#2E3440" +set notification-fg "#80C0D0" +set notification-error-bg "#2E3440" +set notification-error-fg "#BF616A" +set notification-warning-bg "#2E3440" +set notification-warning-fg "#EBCB8B" +set highlight-color "#D08770" +set highlight-active-color "#A3BE8C" +set completion-bg "#3B4252" +set completion-fg "#81A1C1" +set completion-highlight-fg "#80C0D0" +set completion-highlight-bg "#81A1C1" +set recolor-lightcolor "#2E3440" +set recolor-darkcolor "#D8DEE9" +set recolor "true" +set recolor-keephue "true" +set selection-clipboard clipboard +set first-page-column 1:1 diff --git a/.gitconfig b/.gitconfig @@ -0,0 +1,21 @@ +[user] + name = Jack Sangdahl + email = jack@pngu.org + signingkey = FC53C827D09C7050 +[core] + editor = nvim + pager = less -F -X +[commit] + gpgsign = true +[gpg] + program = /usr/bin/gpg +[advice] + skippedCherryPicks = false + forceDeleteBranch = false +[pager] + branch = false +[pull] + ff = only + rebase = merges +[format] + singOff = true diff --git a/.gitignore b/.gitignore @@ -0,0 +1,23 @@ +.cache +.cmake +.config/dconf +.config/*iscord +.config/Electron +.config/kicad +.config/nvim +.config/pulse +.config/typstfmt +.config/weechat +.gnupg +.local +.mozilla +.npm +.pki +.python_history +.ssh +Documents +Downloads +git +Pictures +.zcompdump +.zsh_history diff --git a/.img/wallpaper/2062.png b/.img/wallpaper/2062.png Binary files differ. diff --git a/.img/wallpaper/circuit.png b/.img/wallpaper/circuit.png Binary files differ. diff --git a/.img/wallpaper/cracked.png b/.img/wallpaper/cracked.png Binary files differ. diff --git a/.img/wallpaper/fish.png b/.img/wallpaper/fish.png Binary files differ. diff --git a/.img/wallpaper/kittyboard.png b/.img/wallpaper/kittyboard.png Binary files differ. diff --git a/.img/wallpaper/mountain1.png b/.img/wallpaper/mountain1.png Binary files differ. diff --git a/.img/wallpaper/mountain2.png b/.img/wallpaper/mountain2.png Binary files differ. diff --git a/.img/wallpaper/mountain2_blur.png b/.img/wallpaper/mountain2_blur.png Binary files differ. diff --git a/.img/wallpaper/ocean.png b/.img/wallpaper/ocean.png Binary files differ. diff --git a/.img/wallpaper/sand_dunes.png b/.img/wallpaper/sand_dunes.png Binary files differ. diff --git a/.img/wallpaper/sand_dunes_blur.png b/.img/wallpaper/sand_dunes_blur.png Binary files differ. diff --git a/.img/wallpaper/swirl.png b/.img/wallpaper/swirl.png Binary files differ. diff --git a/.pkglist.txt b/.pkglist.txt @@ -0,0 +1,86 @@ +alacritty +artix-archlinux-support +avrdude +base +base-devel +bat +brightnessctl +broadcom-wl-dkms +chrony +chrony-openrc +clang +cmake +connman +connman-openrc +cryptsetup +cryptsetup-openrc +dfu-programmer +dfu-util +discord +dosfstools +efibootmgr +elogind-openrc +firefox +fuse3 +fzf +git +grim +grub +gtklock +imv +intel-ucode +iwd +iwd-openrc +kicad +kicad-library +kicad-library-3d +linux +linux-firmware +linux-headers +linux-lts +linux-lts-headers +llvm +lsd +mako +man-db +neovim +ninja +nodejs +noto-fonts +noto-fonts-cjk +noto-fonts-emoji +npm +opendoas +openrc +openssh +openssh-openrc +pipewire +pipewire-jack +prettier +python-uv +ripgrep +slurp +starship +sway +swaybg +tesseract +thermald +thermald-openrc +tlp +tlp-openrc +tokei +typst +unzip +waybar +wayland +wl-clipboard +wofi +xorg-xwayland +yadm +zathura +zathura-pdf-mupdf +zfs-dkms +zoxide +zsh +zsh-autosuggestions +zsh-syntax-highlighting diff --git a/.zshrc b/.zshrc @@ -0,0 +1,54 @@ +#!/bin/zsh + +if [ ! -S ~/.ssh/ssh_auth_sock ]; then + eval "$(ssh-agent)" + ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock +fi +export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock +ssh-add -l > /dev/null || ssh-add + +if [ "$(tty)" = "/dev/tty1" ]; then + exec dbus-run-session sway +fi + +export HISTFILE=~/.zsh_history +export HISTSIZE=20000 +export SAVEHIST=20000 +export LANG=en_GB.UTF-8 +export GPG_TTY=$(tty) +export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#4C566A" +export BAT_THEME="Nord" + +path+=( +"$HOME/.local/bin" +"$HOME/.local/qmk_toolchains_linuxX64/bin" +"$path[@]") +export PATH + +setopt HIST_IGNORE_ALL_DUPS +setopt HIST_FIND_NO_DUPS + +bindkey -v +bindkey "^?" backward-delete-char +zstyle ':completion:*' completer _complete _ignored +zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' +zstyle :compinstall filename '~/.zshrc' +autoload -U compinit && compinit + +eval "$(starship init zsh)" +eval "$(zoxide init zsh)" + +alias l="lsd -la" +alias ls="lsd" +alias tree="lsd --tree" +alias cat="bat --paging=never" +alias vi="nvim" +alias cd="z" +alias sudo="doas" +alias cloc="tokei" +alias diff="diff --color=always" +alias fetch="clear && printf '\n' && pfetch && sleep 10" +alias glp="git log --pretty=format:'%ad (%h) by %an, %s' --date=iso" + +source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh