aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2021-11-17 17:06:49 +1100
committerNicholas Tay <nick@windblume.net>2021-11-17 17:06:49 +1100
commitd794ea6f9d49c310eaab5bed6746bb47d1e4b70c (patch)
tree3bc4fbdf430a9c561bb99122c6563add92c8fda2
parenta64291b65b93c6034cae6e75ccb5c16f3038800a (diff)
downloaddotlite-d794ea6f9d49c310eaab5bed6746bb47d1e4b70c.tar.gz
dotlite-d794ea6f9d49c310eaab5bed6746bb47d1e4b70c.tar.bz2
dotlite-d794ea6f9d49c310eaab5bed6746bb47d1e4b70c.zip
Add xresources and repeat rate stuff into i3
-rw-r--r--.Xresources59
-rw-r--r--.config/i3/config6
-rwxr-xr-x.xinitrc2
3 files changed, 64 insertions, 3 deletions
diff --git a/.Xresources b/.Xresources
new file mode 100644
index 0000000..c556cca
--- /dev/null
+++ b/.Xresources
@@ -0,0 +1,59 @@
+XTerm*faceName: xft:mono
+XTerm*faceSize: 12
+XTerm*renderFont: true
+XTerm*termName: xterm-256color
+XTerm*locale: true
+XTerm*utf8: 1
+XTerm*eightBitInput: false
+XTerm*eightBitControl: false
+XTerm*eightBitOutput: true
+XTerm*scrollBar: false
+XTerm*translations: #override \
+Super <Key> minus: smaller-vt-font() \n\
+Super <Key> plus: larger-vt-font() \n\
+
+URxvt.depth: 32
+URxvt.background: #050505
+URxvt.scrollBar: false
+URxvt.letterSpace: -1
+URxvt.iso14755: false
+URxvt.iso14755_52: false
+URxvt.font: xft:mono:size=12
+
+
+! special
+*.foreground: #ffffff
+*.background: #000000
+*.cursorColor: #ffffff
+
+! black
+*.color0: #2e3436
+*.color8: #555753
+
+! red
+*.color1: #a31604
+*.color9: #c60001
+
+! green
+*.color2: #447241
+*.color10: #27a343
+
+! yellow
+*.color3: #c1951a
+*.color11: #d5a30e
+
+! blue
+*.color4: #425387
+*.color12: #4a5a8d
+
+! magenta
+*.color5: #965d98
+*.color13: #893c8c
+
+! cyan
+*.color6: #06989a
+*.color14: #12bccb
+
+! white
+*.color7: #d3d7cf
+*.color15: #eeeeec
diff --git a/.config/i3/config b/.config/i3/config
index c343c3d..60f3586 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -15,10 +15,14 @@ for_window [instance="gnome-calculator"] floating enable
for_window [class="^.*"] border pixel 2
new_window 1pixel
+exec_always --no-startup-id xrdb -merge $HOME/.Xresources
+exec_always --no-startup-id xset r rate 200 50
+exec_always --no-startup-id setxkbmap -option caps:escape
+
set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3statusn
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Bindings
diff --git a/.xinitrc b/.xinitrc
index e91d8ea..cf78dc0 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,5 +1,3 @@
#!/bin/sh
-xset r rate 200 50
-setxkbmap -option caps:escape
exec i3