summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:16:02 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:16:02 -0700
commit40f81d08239763c2b5c05af63f17e3fd098d978d (patch)
treeb4475da076490a5fadc69904ad26bcf4ac46b9fc /dotfiles
init
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.Xresources1
-rw-r--r--dotfiles/.bashrc18
-rw-r--r--dotfiles/.gitconfig3
-rw-r--r--dotfiles/.vimrc5
-rwxr-xr-xdotfiles/.xinitrc28
5 files changed, 55 insertions, 0 deletions
diff --git a/dotfiles/.Xresources b/dotfiles/.Xresources
new file mode 100644
index 0000000..2c922c7
--- /dev/null
+++ b/dotfiles/.Xresources
@@ -0,0 +1 @@
+Xft.dpi: 110
diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc
new file mode 100644
index 0000000..d3b0123
--- /dev/null
+++ b/dotfiles/.bashrc
@@ -0,0 +1,18 @@
+alias r='ranger'
+alias ls='ls --color=auto'
+alias grep='grep --color=auto'
+alias ip='ip --color=auto'
+alias bedtime='xset s off; xset -dpms'
+alias copy='xclip -selection clipboard'
+alias ssh-mount='sshfs iron:/wdraidz/ ~/wdraidz/'
+alias ssh-unmount='fusermount3 -u ~/wdraidz'
+
+# plain umount works on freebsd
+# alias ssh-unmount='umount ~/wdraidz'
+
+# perhaps unnecessary
+# export SHELL=bash
+export EDITOR=vim
+export PATH=~/bin:$PATH
+
+PS1='[\[\e[94;1m\]\u\[\e[0;94m\]@\[\e[94m\]\h\[\e[0m\]] \[\e[92m\]\w\n\[\e[0m\]> '
diff --git a/dotfiles/.gitconfig b/dotfiles/.gitconfig
new file mode 100644
index 0000000..16871ab
--- /dev/null
+++ b/dotfiles/.gitconfig
@@ -0,0 +1,3 @@
+[user]
+ name = pants
+ email = niklasjo2004@gmail.com
diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc
new file mode 100644
index 0000000..d5abed8
--- /dev/null
+++ b/dotfiles/.vimrc
@@ -0,0 +1,5 @@
+set ts=2 sts=2 sw=2
+syntax on
+filetype indent on
+set ruler
+set expandtab
diff --git a/dotfiles/.xinitrc b/dotfiles/.xinitrc
new file mode 100755
index 0000000..46c1ada
--- /dev/null
+++ b/dotfiles/.xinitrc
@@ -0,0 +1,28 @@
+#!/bin/sh
+export XCURSOR_SIZE=32
+export XCURSOR_THEME=Bibata-Modern-Classic
+export GTK_THEME=Nordic
+export GTK_IM_MODULE=ibus
+export XMODIFIERS=@im=ibus
+export QT_IM_MODULE=ibus
+xrandr --output DisplayPort-0 --mode 3440x1440 --rate 100 --pos 0x0 --output DisplayPort-1 --mode 3440x1440 --rate 144 --pos 0x1440
+xrdb -merge ~/.Xresources
+
+# run stuff that outputs a bunch in a subshell, and redirect everything
+(
+openrgb --mode direct --color 000000&
+xset r rate 200 40&
+cd ~/repos/bag && feh --no-fehbg --bg-fill $(ls | shuf -n 2)&
+syncthing --no-browser&
+pipewire&
+redshift&
+solaar --window=hide&
+dwmblocks&
+dunst&
+picom&
+mpd && mpd-monitor&
+) > /dev/null 2>&1
+
+#ibus-daemon&
+
+exec dbus-run-session dwm