summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/X11/Xresources1
-rwxr-xr-x.config/X11/xinitrc35
-rwxr-xr-x.config/i3/after5
-rw-r--r--.config/i3/config4
-rwxr-xr-x.config/i3/extra/screenshot (renamed from .config/i3/custom/screenshot)0
-rw-r--r--.config/i3/init13
-rwxr-xr-x.config/polybar/launch (renamed from .config/polybar/launch.sh)0
-rw-r--r--.config/readline/inputrc1
8 files changed, 57 insertions, 2 deletions
diff --git a/.config/X11/Xresources b/.config/X11/Xresources
new file mode 100644
index 0000000..3f90eb3
--- /dev/null
+++ b/.config/X11/Xresources
@@ -0,0 +1 @@
+Xft.dpi: 108
diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc
new file mode 100755
index 0000000..c4b828a
--- /dev/null
+++ b/.config/X11/xinitrc
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+userresources=$XDG_CONFIG_HOME/X11/Xresources
+usermodmap=$XDG_CONFIG_HOME/X11/Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+ xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+ xmodmap $sysmodmap
+fi
+
+if [ -f "$userresources" ]; then
+ xrdb -merge "$userresources"
+fi
+
+if [ -f "$usermodmap" ]; then
+ xmodmap "$usermodmap"
+fi
+
+# start some nice programs
+
+if [ -d /etc/X11/xinit/xinitrc.d ] ; then
+ for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+source $HOME/.config/i3/init
diff --git a/.config/i3/after b/.config/i3/after
new file mode 100755
index 0000000..10edd01
--- /dev/null
+++ b/.config/i3/after
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+xset r rate 300 25 &
+gtk-launch piavpn &
+openrgb -p no-rgb &
diff --git a/.config/i3/config b/.config/i3/config
index e4f41e5..533c0c3 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -16,7 +16,7 @@ bindsym $mod+Return exec --no-startup-id alacritty
bindsym $mod+b exec --no-startup-id firefox
bindsym $mod+e exec --no-startup-id pcmanfm
bindsym $mod+f fullscreen toggle
-bindsym $mod+Shift+s exec --no-startup-id ~/.config/i3/custom/screenshot
+bindsym $mod+Shift+s exec --no-startup-id ~/.config/i3/extra/screenshot
bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -drun-display-format {name}
bindsym $alt+Tab exec --no-startup-id rofi -show window -show-icons -drun-display-format {name}
@@ -161,6 +161,6 @@ for_window [title="^Steam Keyboard$"] floating enable
##### Exec
-exec_always --no-startup-id $HOME/.config/polybar/launch.sh
+exec_always --no-startup-id $HOME/.config/polybar/launch
exec_always --no-startup-id picom --config $HOME/.config/picom/picom.conf -b
exec_always --no-startup-id setxkbmap -option grp:win_space_toggle us,dk
diff --git a/.config/i3/custom/screenshot b/.config/i3/extra/screenshot
index 9a443b1..9a443b1 100755
--- a/.config/i3/custom/screenshot
+++ b/.config/i3/extra/screenshot
diff --git a/.config/i3/init b/.config/i3/init
new file mode 100644
index 0000000..0d3d123
--- /dev/null
+++ b/.config/i3/init
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+greenclip daemon &
+playerctld daemon &
+nitrogen --restore &
+redshift -l 56:10 &
+pcmanfm -d &
+nm-applet &
+exec i3 & wmpid=$!
+
+sleep 5
+source $HOME/.config/i3/after
+wait $wmpid
diff --git a/.config/polybar/launch.sh b/.config/polybar/launch
index ff5065a..ff5065a 100755
--- a/.config/polybar/launch.sh
+++ b/.config/polybar/launch
diff --git a/.config/readline/inputrc b/.config/readline/inputrc
new file mode 100644
index 0000000..236bfdd
--- /dev/null
+++ b/.config/readline/inputrc
@@ -0,0 +1 @@
+set completion-ignore-case on