summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2021-11-07 06:35:53 -0500
committerSam Chudnick <sam@chudnick.com>2021-11-07 06:35:53 -0500
commit5868b14fbbc77daf00a4b3bd95518d00905ab34d (patch)
tree81cd503f2f9ac2c0d843fe1f072ca0e404de22fa
parent82df70eff06e7b44ee84283070d7f801f7fc1d92 (diff)
Added i3 and i3blocks configuration files
-rw-r--r--.config/i3/config169
-rw-r--r--.config/i3blocks/config57
2 files changed, 226 insertions, 0 deletions
diff --git a/.config/i3/config b/.config/i3/config
new file mode 100644
index 0000000..3ad5f62
--- /dev/null
+++ b/.config/i3/config
@@ -0,0 +1,169 @@
1# i3 config file
2#------------------------------i3-settings-------------------------------------------------
3
4set $mod Mod4
5font pango:dejavusansmono 10
6floating_modifier $mod
7default_border pixel 3
8hide_edge_borders smart
9mouse_warping none
10
11#------------------------------Key-Bindings------------------------------------------------
12bindsym $mod+shift+q kill
13
14# Window Toggles
15bindsym $mod+Shift+space floating toggle
16bindsym $mod+shift+f fullscreen toggle
17
18# Set Orientation
19bindsym $mod+v split vertical
20bindsym $mod+s split horizontal
21
22# Change Focus
23bindsym $mod+h focus left
24bindsym $mod+j focus down
25bindsym $mod+k focus up
26bindsym $mod+l focus right
27
28# Move Workspace
29bindsym $mod+shift+h move left
30bindsym $mod+shift+j move down
31bindsym $mod+shift+k move up
32bindsym $mod+shift+l move right
33
34# Resize Windows
35bindsym $mod+y resize shrink width 10px
36bindsym $mod+u resize grow height 10px
37bindsym $mod+i resize shrink height 10px
38bindsym $mod+o resize grow width 10px
39
40# Relaod/Restart/Exit i3
41bindsym $mod+BackSpace reload
42bindsym $mod+Shift+BackSpace restart
43bindsym $mod+Shift+Escape exec urxvt -e exiti3
44
45#------------------------------Window-Specifics--------------------------------------------
46
47# steam
48for_window [instance="Steam"] move to workspace 1
49
50# keepassxc
51for_window [instance="keepassxc"] move to workspace 9
52
53# cmus
54for_window [instance="cmus"] move to workspace 10
55
56#------------------------------Workspaces--------------------------------------------------
57
58# Declare workspace variables
59set $ws1 "1"
60set $ws2 "2"
61set $ws3 "3"
62set $ws4 "4"
63set $ws5 "5"
64set $ws6 "6"
65set $ws7 "7"
66set $ws8 "8"
67set $ws9 "9"
68set $ws10 "10"
69
70# Switch to workspace
71bindsym $mod+1 workspace $ws1
72bindsym $mod+2 workspace $ws2
73bindsym $mod+3 workspace $ws3
74bindsym $mod+4 workspace $ws4
75bindsym $mod+5 workspace $ws5
76bindsym $mod+6 workspace $ws6
77bindsym $mod+7 workspace $ws7
78bindsym $mod+8 workspace $ws8
79bindsym $mod+9 workspace $ws9
80bindsym $mod+0 workspace $ws10
81
82# Move containers to workspaces
83bindsym $mod+Shift+1 move container to workspace $ws1
84bindsym $mod+Shift+2 move container to workspace $ws2
85bindsym $mod+Shift+3 move container to workspace $ws3
86bindsym $mod+Shift+4 move container to workspace $ws4
87bindsym $mod+Shift+5 move container to workspace $ws5
88bindsym $mod+Shift+6 move container to workspace $ws6
89bindsym $mod+Shift+7 move container to workspace $ws7
90bindsym $mod+Shift+8 move container to workspace $ws8
91bindsym $mod+Shift+9 move container to workspace $ws9
92bindsym $mod+Shift+0 move container to workspace $ws10
93
94#------------------------------Colors-and-Bar----------------------------------------------
95
96set $black #000000
97set $white #FFFFFF
98
99# Dark Blood Variables
100set $db_base #0A0608
101set $db_fg #B9B9B9
102set $db_text #B9B9B9
103set $db_bg #232323
104set $db_sel_fg #FF9EA7
105set $db_sel_bg #3D1317
106set $db_hlght #3D1317
107
108# Dark Cold Variables
109set $dc_base #060A0F
110set $dc_fg #6EBEFE
111set $dc_text #6EBEFE
112set $dc_bg #232323
113set $dc_sel_fg #FFFFFF
114set $dc_sel_bg #0D377C
115set $dc_hlght #0D377C
116
117# Dark Mint Variables
118set $dm_base #060A08
119set $dm_fg #78B97E
120set $dm_text #78B97E
121set $dm_bg #232323
122set $dm_sel_fg #9EFFA7
123set $dm_sel_bg #133D17
124set $dm_hlght #133D17
125
126# Dark Fire Variables
127set $df_base #0F0606
128set $df_fg #FEFEFE
129set $df_text #FEFEFE
130set $df_bg #232323
131set $df_sel_fg #FFFFFF
132set $df_sel_bg #7C0D0D
133set $df_hlght #7C0D0D
134
135# Arc-Dark Variables
136set $ad_base #404552
137set $ad_fg #d3dae3
138set $ad_text #d3dae3
139set $ad_bg #383c4a
140set $ad_sel_fg #ffffff
141set $ad_sel_bg #5294e2
142set $ad_hlght #5294e2
143
144# Start Color
145set $client.fi client.focused_inactive
146# class border background text indicator child_border
147client.focused $df_hlght $df_sel_fg $df_text $df_hlght $df_hlght
148$client.fi $df_hlght $df_sel_fg $df_text $df_base $df_base
149client.unfocused $df_hlght $df_sel_fg $df_text $df_base $df_base
150client.background $df_base
151
152# Bar
153bar {
154 i3bar_command i3bar --transparency
155 position top
156 colors {
157 background $df_base
158 statusline $df_text
159 separator $df_hlght
160 # class border background text
161 focused_workspace $df_hlght $df_sel_bg $df_sel_fg
162 active_workspace $df_hlght $df_base $df_text
163 inactive_workspace $df_hlght $df_base $df_text
164 urgent_workspace $df_hlght $df_sel_bg $df_sel_fg
165 binding_mode $df_hlght $df_sel_bg $df_sel_fg
166 }
167 status_command i3blocks
168}
169# End Color
diff --git a/.config/i3blocks/config b/.config/i3blocks/config
new file mode 100644
index 0000000..b421aab
--- /dev/null
+++ b/.config/i3blocks/config
@@ -0,0 +1,57 @@
1# i3blocks config file
2
3#CMUS
4[cmus]
5label=🎶
6command=~/.local/bin/statusbar/cmus
7interval=5
8signal=12
9
10#Calcurse
11#[calcurse]
12#label=📆
13#command=~/.local/bin/statusbar/calcurse
14#interval=30
15
16#CPU Usage
17[cpu]
18label=💻
19command=~/.local/bin/statusbar/cpu
20interval=2
21
22# GPU
23[gpu]
24label=🎮
25command=~/.local/bin/statusbar/gpu
26interval=2
27
28#Volume
29[volume]
30command=~/.local/bin/statusbar/volume
31interval=once
32signal=10
33
34# Memory usage
35[memory]
36label=🧠
37command=~/.local/bin/statusbar/memory
38interval=10
39
40# Disk usage
41[storage]
42label=💾
43command=~/.local/bin/statusbar/storage
44interval=1800
45
46#IPv4 Address
47[ipv4]
48label=🌎
49command=~/.local/bin/statusbar/ipv4
50interval=once
51
52# Date Time
53[time]
54label=⏰
55command=~/.local/bin/statusbar/time
56interval=1
57