aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphilw <dscr@duck.com>2024-03-19 21:08:41 +0100
committerphilw <dscr@duck.com>2024-03-19 21:08:41 +0100
commit5788f66da53205d5290c64ff97f3c817889d6bc0 (patch)
tree9ef9c4f123cc6a7bcd3273b5d90c610af8d61067
parent51573d35e989d45f047b0b34fd9293be459d346b (diff)
downloaddotfiles-5788f66da53205d5290c64ff97f3c817889d6bc0.tar.gz
dotfiles-5788f66da53205d5290c64ff97f3c817889d6bc0.zip
update dotfiles
-rw-r--r--shell/dash/.profile1
-rw-r--r--shell/zsh/.zprofile0
-rw-r--r--shell/zsh/.zshrc3
-rw-r--r--x/.Xresources20
-rw-r--r--x/.xinitrc5
-rw-r--r--x/.xprofile2
6 files changed, 8 insertions, 23 deletions
diff --git a/shell/dash/.profile b/shell/dash/.profile
new file mode 100644
index 0000000..c2f3182
--- /dev/null
+++ b/shell/dash/.profile
@@ -0,0 +1 @@
. "$HOME/.cargo/env"
diff --git a/shell/zsh/.zprofile b/shell/zsh/.zprofile
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/shell/zsh/.zprofile
diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc
index 11170c6..354ac70 100644
--- a/shell/zsh/.zshrc
+++ b/shell/zsh/.zshrc
@@ -1,3 +1,4 @@
1stty susp "^P"
1parse_git_branch() { 2parse_git_branch() {
2 local branch="" 3 local branch=""
3 branch=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') 4 branch=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
@@ -72,7 +73,7 @@ alias g="grep"
72alias g="rg" 73alias g="rg"
73alias zl="zellij" 74alias zl="zellij"
74alias h="htop" 75alias h="htop"
75alias n="neofetch" 76alias n="neofetch --off"
76alias poweroff="doas /usr/bin/poweroff" 77alias poweroff="doas /usr/bin/poweroff"
77alias reboot="doas /usr/bin/reboot" 78alias reboot="doas /usr/bin/reboot"
78 79
diff --git a/x/.Xresources b/x/.Xresources
index 1f301c5..60dd175 100644
--- a/x/.Xresources
+++ b/x/.Xresources
@@ -6,23 +6,3 @@ st.borderpx: 0
6dwm.borderpx: 0 6dwm.borderpx: 0
7dwm.showbar: 0 7dwm.showbar: 0
8dwm.font: FiraCode-12; 8dwm.font: FiraCode-12;
9
10 *.color0: #1d2021
11 *.color1: #cc241d
12 *.color2: #98971a
13 *.color3: #d79921
14 *.color4: #458588
15 *.color5: #b16286
16 *.color6: #689d6a
17 *.color7: #a89984
18 *.color8: #928374
19 *.color9: #fb4934
20 *.color10: #b8bb26
21 *.color11: #fabd2f
22 *.color12: #83a598
23 *.color13: #d3869b
24 *.color14: #8ec07c
25 *.color15: #ebdbb2
26 *.background: #282828
27 *.foreground: white
28 *.cursorColor: white
diff --git a/x/.xinitrc b/x/.xinitrc
index 78a943a..a5aeb1f 100644
--- a/x/.xinitrc
+++ b/x/.xinitrc
@@ -30,4 +30,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
30 done 30 done
31 unset f 31 unset f
32fi 32fi
33exec dbus-run-session dwm 33/usr/local/bin/pipewire-start.sh &
34dbus-update-activation-environment --all
35xsetroot -name " " &
36ssh-agent dwm
diff --git a/x/.xprofile b/x/.xprofile
index 6f80fbd..745769a 100644
--- a/x/.xprofile
+++ b/x/.xprofile
@@ -1,6 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2 2
3autostart="lxpolkit mpd" 3autostart="lxqt-policykit-agent mpd"
4 4
5for program in $autostart; do 5for program in $autostart; do
6 pidof -sx "$program" || "$program" & 6 pidof -sx "$program" || "$program" &