diff options
author | Sam Chudnick <sam@chudnick.com> | 2021-11-07 06:35:53 -0500 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2021-11-07 06:35:53 -0500 |
commit | 5868b14fbbc77daf00a4b3bd95518d00905ab34d (patch) | |
tree | 81cd503f2f9ac2c0d843fe1f072ca0e404de22fa /.config/i3 | |
parent | 82df70eff06e7b44ee84283070d7f801f7fc1d92 (diff) |
Added i3 and i3blocks configuration files
Diffstat (limited to '.config/i3')
-rw-r--r-- | .config/i3/config | 169 |
1 files changed, 169 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 | |||
4 | set $mod Mod4 | ||
5 | font pango:dejavusansmono 10 | ||
6 | floating_modifier $mod | ||
7 | default_border pixel 3 | ||
8 | hide_edge_borders smart | ||
9 | mouse_warping none | ||
10 | |||
11 | #------------------------------Key-Bindings------------------------------------------------ | ||
12 | bindsym $mod+shift+q kill | ||
13 | |||
14 | # Window Toggles | ||
15 | bindsym $mod+Shift+space floating toggle | ||
16 | bindsym $mod+shift+f fullscreen toggle | ||
17 | |||
18 | # Set Orientation | ||
19 | bindsym $mod+v split vertical | ||
20 | bindsym $mod+s split horizontal | ||
21 | |||
22 | # Change Focus | ||
23 | bindsym $mod+h focus left | ||
24 | bindsym $mod+j focus down | ||
25 | bindsym $mod+k focus up | ||
26 | bindsym $mod+l focus right | ||
27 | |||
28 | # Move Workspace | ||
29 | bindsym $mod+shift+h move left | ||
30 | bindsym $mod+shift+j move down | ||
31 | bindsym $mod+shift+k move up | ||
32 | bindsym $mod+shift+l move right | ||
33 | |||
34 | # Resize Windows | ||
35 | bindsym $mod+y resize shrink width 10px | ||
36 | bindsym $mod+u resize grow height 10px | ||
37 | bindsym $mod+i resize shrink height 10px | ||
38 | bindsym $mod+o resize grow width 10px | ||
39 | |||
40 | # Relaod/Restart/Exit i3 | ||
41 | bindsym $mod+BackSpace reload | ||
42 | bindsym $mod+Shift+BackSpace restart | ||
43 | bindsym $mod+Shift+Escape exec urxvt -e exiti3 | ||
44 | |||
45 | #------------------------------Window-Specifics-------------------------------------------- | ||
46 | |||
47 | # steam | ||
48 | for_window [instance="Steam"] move to workspace 1 | ||
49 | |||
50 | # keepassxc | ||
51 | for_window [instance="keepassxc"] move to workspace 9 | ||
52 | |||
53 | # cmus | ||
54 | for_window [instance="cmus"] move to workspace 10 | ||
55 | |||
56 | #------------------------------Workspaces-------------------------------------------------- | ||
57 | |||
58 | # Declare workspace variables | ||
59 | set $ws1 "1" | ||
60 | set $ws2 "2" | ||
61 | set $ws3 "3" | ||
62 | set $ws4 "4" | ||
63 | set $ws5 "5" | ||
64 | set $ws6 "6" | ||
65 | set $ws7 "7" | ||
66 | set $ws8 "8" | ||
67 | set $ws9 "9" | ||
68 | set $ws10 "10" | ||
69 | |||
70 | # Switch to workspace | ||
71 | bindsym $mod+1 workspace $ws1 | ||
72 | bindsym $mod+2 workspace $ws2 | ||
73 | bindsym $mod+3 workspace $ws3 | ||
74 | bindsym $mod+4 workspace $ws4 | ||
75 | bindsym $mod+5 workspace $ws5 | ||
76 | bindsym $mod+6 workspace $ws6 | ||
77 | bindsym $mod+7 workspace $ws7 | ||
78 | bindsym $mod+8 workspace $ws8 | ||
79 | bindsym $mod+9 workspace $ws9 | ||
80 | bindsym $mod+0 workspace $ws10 | ||
81 | |||
82 | # Move containers to workspaces | ||
83 | bindsym $mod+Shift+1 move container to workspace $ws1 | ||
84 | bindsym $mod+Shift+2 move container to workspace $ws2 | ||
85 | bindsym $mod+Shift+3 move container to workspace $ws3 | ||
86 | bindsym $mod+Shift+4 move container to workspace $ws4 | ||
87 | bindsym $mod+Shift+5 move container to workspace $ws5 | ||
88 | bindsym $mod+Shift+6 move container to workspace $ws6 | ||
89 | bindsym $mod+Shift+7 move container to workspace $ws7 | ||
90 | bindsym $mod+Shift+8 move container to workspace $ws8 | ||
91 | bindsym $mod+Shift+9 move container to workspace $ws9 | ||
92 | bindsym $mod+Shift+0 move container to workspace $ws10 | ||
93 | |||
94 | #------------------------------Colors-and-Bar---------------------------------------------- | ||
95 | |||
96 | set $black #000000 | ||
97 | set $white #FFFFFF | ||
98 | |||
99 | # Dark Blood Variables | ||
100 | set $db_base #0A0608 | ||
101 | set $db_fg #B9B9B9 | ||
102 | set $db_text #B9B9B9 | ||
103 | set $db_bg #232323 | ||
104 | set $db_sel_fg #FF9EA7 | ||
105 | set $db_sel_bg #3D1317 | ||
106 | set $db_hlght #3D1317 | ||
107 | |||
108 | # Dark Cold Variables | ||
109 | set $dc_base #060A0F | ||
110 | set $dc_fg #6EBEFE | ||
111 | set $dc_text #6EBEFE | ||
112 | set $dc_bg #232323 | ||
113 | set $dc_sel_fg #FFFFFF | ||
114 | set $dc_sel_bg #0D377C | ||
115 | set $dc_hlght #0D377C | ||
116 | |||
117 | # Dark Mint Variables | ||
118 | set $dm_base #060A08 | ||
119 | set $dm_fg #78B97E | ||
120 | set $dm_text #78B97E | ||
121 | set $dm_bg #232323 | ||
122 | set $dm_sel_fg #9EFFA7 | ||
123 | set $dm_sel_bg #133D17 | ||
124 | set $dm_hlght #133D17 | ||
125 | |||
126 | # Dark Fire Variables | ||
127 | set $df_base #0F0606 | ||
128 | set $df_fg #FEFEFE | ||
129 | set $df_text #FEFEFE | ||
130 | set $df_bg #232323 | ||
131 | set $df_sel_fg #FFFFFF | ||
132 | set $df_sel_bg #7C0D0D | ||
133 | set $df_hlght #7C0D0D | ||
134 | |||
135 | # Arc-Dark Variables | ||
136 | set $ad_base #404552 | ||
137 | set $ad_fg #d3dae3 | ||
138 | set $ad_text #d3dae3 | ||
139 | set $ad_bg #383c4a | ||
140 | set $ad_sel_fg #ffffff | ||
141 | set $ad_sel_bg #5294e2 | ||
142 | set $ad_hlght #5294e2 | ||
143 | |||
144 | # Start Color | ||
145 | set $client.fi client.focused_inactive | ||
146 | # class border background text indicator child_border | ||
147 | client.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 | ||
149 | client.unfocused $df_hlght $df_sel_fg $df_text $df_base $df_base | ||
150 | client.background $df_base | ||
151 | |||
152 | # Bar | ||
153 | bar { | ||
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 | ||