summaryrefslogtreecommitdiff
path: root/.config/i3/config
blob: 3ad5f625cb01dff957b697973aba81c68cf0b28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# i3 config file 
#------------------------------i3-settings-------------------------------------------------

set $mod Mod4
font pango:dejavusansmono 10
floating_modifier $mod						
default_border pixel 3
hide_edge_borders smart
mouse_warping none

#------------------------------Key-Bindings------------------------------------------------
bindsym $mod+shift+q kill

# Window Toggles
bindsym $mod+Shift+space floating toggle
bindsym $mod+shift+f fullscreen toggle

# Set Orientation
bindsym $mod+v split vertical
bindsym $mod+s split horizontal

# Change Focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right

# Move Workspace
bindsym $mod+shift+h move left
bindsym $mod+shift+j move down
bindsym $mod+shift+k move up
bindsym $mod+shift+l move right

# Resize Windows
bindsym $mod+y resize shrink width 10px
bindsym $mod+u resize grow height 10px
bindsym $mod+i resize shrink height 10px
bindsym $mod+o resize grow width 10px

# Relaod/Restart/Exit i3
bindsym $mod+BackSpace reload
bindsym $mod+Shift+BackSpace restart
bindsym $mod+Shift+Escape exec urxvt -e exiti3

#------------------------------Window-Specifics--------------------------------------------

# steam
for_window [instance="Steam"] move to workspace 1

# keepassxc
for_window [instance="keepassxc"] move to workspace 9

# cmus
for_window [instance="cmus"] move to workspace 10

#------------------------------Workspaces--------------------------------------------------

# Declare workspace variables
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"

# Switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10

# Move containers to workspaces
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10

#------------------------------Colors-and-Bar----------------------------------------------

set $black		#000000
set $white		#FFFFFF

# Dark Blood Variables
set $db_base 	#0A0608
set $db_fg	 	#B9B9B9
set $db_text	#B9B9B9
set $db_bg		#232323
set $db_sel_fg	#FF9EA7	
set $db_sel_bg 	#3D1317
set $db_hlght	#3D1317

# Dark Cold Variables
set $dc_base	#060A0F
set $dc_fg		#6EBEFE
set $dc_text	#6EBEFE
set $dc_bg		#232323
set $dc_sel_fg	#FFFFFF
set $dc_sel_bg	#0D377C
set $dc_hlght	#0D377C

# Dark Mint Variables
set $dm_base	#060A08
set $dm_fg		#78B97E
set $dm_text	#78B97E
set $dm_bg		#232323
set $dm_sel_fg	#9EFFA7
set $dm_sel_bg	#133D17
set $dm_hlght	#133D17

# Dark Fire Variables
set $df_base	#0F0606
set $df_fg		#FEFEFE
set $df_text	#FEFEFE
set $df_bg		#232323
set $df_sel_fg	#FFFFFF
set $df_sel_bg	#7C0D0D
set $df_hlght	#7C0D0D

# Arc-Dark Variables
set $ad_base	#404552
set $ad_fg		#d3dae3
set $ad_text	#d3dae3
set $ad_bg		#383c4a
set $ad_sel_fg	#ffffff
set $ad_sel_bg	#5294e2
set $ad_hlght	#5294e2

# Start Color
set $client.fi	client.focused_inactive
# class			  border		background 		text    	indicator 	child_border
client.focused	  $df_hlght 	$df_sel_fg    	$df_text  	$df_hlght  	$df_hlght
$client.fi 		  $df_hlght		$df_sel_fg    	$df_text  	$df_base 	$df_base
client.unfocused  $df_hlght		$df_sel_fg    	$df_text  	$df_base    $df_base
client.background $df_base

# Bar
bar {
	i3bar_command i3bar --transparency
	position top
	colors {
		background $df_base
		statusline $df_text
		separator  $df_hlght
		# class					border		background		text
		focused_workspace		$df_hlght	$df_sel_bg		$df_sel_fg
		active_workspace		$df_hlght	$df_base		$df_text
		inactive_workspace		$df_hlght	$df_base		$df_text
		urgent_workspace		$df_hlght	$df_sel_bg		$df_sel_fg
		binding_mode			$df_hlght	$df_sel_bg		$df_sel_fg
	}
	status_command i3blocks
}
# End Color