Compare commits

...

19 Commits
main ... docker

Author SHA1 Message Date
f19969ec23 gl 2023-12-04 16:52:07 -05:00
378ed568a4 no chdir 2023-06-23 11:41:28 -04:00
a36ce155cb no chdir 2023-06-23 11:35:51 -04:00
spinach
c9ec9c4b1c added docker file and build steps 2023-06-23 11:34:18 -04:00
43a6ea96d7 testing action 2023-06-23 11:14:15 -04:00
7e81a18370 testing action 2023-06-23 11:02:59 -04:00
0b40dcc3cb testing action 2023-06-23 10:52:48 -04:00
a9a97dd864 testing action 2023-06-23 10:50:50 -04:00
7d4e022b30 testing action 2023-06-23 10:50:01 -04:00
41c480cd39 testing action 2023-06-23 10:48:42 -04:00
503ab02651 testing action 2023-06-23 10:47:50 -04:00
6ad6b01d07 testing action 2023-06-23 10:44:20 -04:00
1bc2ae97b2 testing action 2023-06-23 10:43:52 -04:00
7b40e4fce2 testing action 2023-06-22 18:13:42 -04:00
109ab431ff setting up for docker 2023-06-22 18:01:33 -04:00
f6f3673116 added task and testing workflows 2023-06-22 17:52:40 -04:00
4d4a3f7618 added task and testing workflows 2023-06-22 17:50:15 -04:00
c8348472dd added task and testing workflows 2023-06-22 17:48:38 -04:00
b991e054d4 setting up for docker 2023-06-22 17:07:23 -04:00
17 changed files with 114 additions and 36 deletions

View File

@ -0,0 +1,19 @@
name: Dotfiles Docker Container
run-name: ${{ gitea.actor }} is building new container
on:
push:
branches:
- docker
jobs:
push_to_registry:
name: Push docker image to local registry
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy
run: |
docker build -t git.keegandeppe.com/kdeppe/dotfiles:latest .
docker push git.keegandeppe.com/kdeppe/dotfiles

47
Dockerfile Normal file
View File

@ -0,0 +1,47 @@
FROM archlinux:latest
MAINTAINER Keegan Deppe
LABEL maintainer "Keegan Deppe noway@me.net"
ARG user=spinach
ARG group=wheel
ARG uid=1000
ARG dotfiles=dotfiles.git
ARG userspace=userspace.git
ARG vcsprovider=git.keegandeppe.com
ARG vcsowner=kdeppe
USER root
RUN \
pacman --noconfirm -Syu && \
pacman --noconfirm -S \
sudo \
ncurses \
ca-certificates \
libressl \
cmake \
ctags \
file \
gcc \
wget \
neovim \
git \
zsh \
docker \
docker-compose \
tmux \
picom \
make \
bat \
calcurse \
tmuxp \
rofi \
rofi-calc \
lua \
rust \
clang \
gopls \
python-lsp-server \
typescript-language-server \
lua-language-server \
rust-analyzer

18
Taskfile.yml Normal file
View File

@ -0,0 +1,18 @@
# https://taskfile.dev
version: '3'
tasks:
desktop:
desc: "setup defaults for arch based desktop"
cmds:
- scripts/install-profile desktop
thinkpad:
desc: "setup defaults for arch based laptop"
cmds:
- scripts/install-profile thinkpad
deploy:
cmds:
-

@ -1 +1 @@
Subproject commit 1ff331968225f5854d4790de73d2b8e2af545171
Subproject commit aa50bff9b5cf24bcda810c1d77b03a5c804ea400

View File

@ -42,11 +42,12 @@ floating_modifier $mod
# start a terminal
bindsym $mod+Return exec st
# lock the screen
bindsym $mod+q exec xset s activate
# suspend/hibernate computer
bindsym $mod+q exec systemctl suspend
bindsym $mod+Shift+q exec systemctl hibernate
# kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+Shift+x kill
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id rofi-launcher

View File

@ -1,8 +1,8 @@
include base.conf
# binding workspaces
workspace 1 output DP-0
workspace 2 output DP-2
workspace 1 output DP-2
workspace 2 output DP-0
# poly bar
exec_always --no-startup-id polybar-launch.sh desktop-bar

View File

@ -49,7 +49,7 @@ height = 24pt
modules-left = xworkspaces focus-fast spotify spotify-len
;modules-left = xworkspaces spotify spotify-len
modules-center = weather-desktop
modules-right = pulseaudio memory cpu temperature wlan eth vpn dev-bat packages seafile calendar-sync bg-selector quotes date powermenu
modules-right = pulseaudio memory cpu temperature wlan eth vpn dev-bat seafile calendar-sync bg-selector quotes date powermenu
[bar/work-bar]
; desktop bar config

View File

@ -24,8 +24,11 @@ smart_gaps on
#font pango:DejaVu Sans Mono 8
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec_always pkill kanshi; exec kanshi
workspace 1 output DP-2
workspace 2 output DP-0
workspace 2 output DP-3
exec --no-startup-id dex --autostart --environment i3
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
@ -211,6 +214,6 @@ bindsym $mod+r mode "resize"
#exec --no-startup-id picom-launch.sh
# background
output "*" bg ~/.config/i3/wallpaper.jpg fill
# output "*" bg ~/.config/i3/wallpaper.jpg fill
# poly bar
exec_always --no-startup-id polybar-launch.sh desktop-bar
# exec_always --no-startup-id polybar-launch.sh desktop-bar

19
install
View File

@ -1,19 +0,0 @@
#!/usr/bin/env bash
set -e
echo "$0 has been deprecated!"
echo "Please install a specific profile via install-profile"
exit 0
# CONFIG="install.conf.yaml"
# DOTBOT_DIR="dotbot"
# DOTBOT_BIN="bin/dotbot"
# BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# cd "${BASEDIR}"
# git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
# git submodule update --init --recursive "${DOTBOT_DIR}"
# "${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"

@ -1 +1 @@
Subproject commit 328bcb32590e5057b09bd27a40bc2fb21385fbf3
Subproject commit 3f9e409669172ad662e82fca791f0ad16dce5edd

View File

@ -12,7 +12,11 @@ PROFILES_DIR="profiles"
DOTBOT_DIR="dotbot"
DOTBOT_BIN="bin/dotbot"
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [ -d "$HOME/.dotfiles" ] ; then
BASE_DIR="$HOME/.dotfiles"
else
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
fi
declare -a CONFIGS

View File

@ -12,7 +12,11 @@ PROFILES_DIR="profiles"
DOTBOT_DIR="dotbot"
DOTBOT_BIN="bin/dotbot"
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [ -d "$HOME/.dotfiles" ] ; then
BASE_DIR="$HOME/.dotfiles"
else
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
fi
cd "${BASE_DIR}"

@ -1 +1 @@
Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8
Subproject commit c3d4e576c9c86eac62884bd47c01f6faed043fc5

@ -1 +1 @@
Subproject commit 951d6957895b1887567b3ea7e548f9533daa3c83
Subproject commit 862440ae112603c8e2d202f6edb94eeaa1509120

View File

@ -27,6 +27,7 @@ fi
# fixing gopath and binaries
export GOPATH="$HOME/.local/share/go"
export PATH=$PATH:"$HOME"/.local/share/cargo/bin
# moving cargo cache dir
export CARGO_HOME="$HOME/.local/share/cargo"

@ -1 +1 @@
Subproject commit 86e4f4a84180da7f5b99c3db8043cb9d92cb9189
Subproject commit b1a0ab8086f061640948299b9ed90a6b0c61c143

@ -1 +1 @@
Subproject commit 451300eda243251b60d13da6d028b9ff4e8b92cb
Subproject commit 9a9abc5d13d94aa404c02d19b7184143d020ecb7