2727
2828/* Monitors */
2929// Ordered From left to right (0 is most left)
30- #define MONITOR_COUNT 2
31- static const Monitor Monitors [MONITOR_COUNT ] = {(Monitor ){.width = 1920 , .height = 1080 }, ( Monitor ){. width = 2560 , . height = 1440 } };
30+ #define MONITOR_COUNT 1
31+ static const Monitor Monitors [MONITOR_COUNT ] = {(Monitor ){.width = 1920 , .height = 1080 }};
3232
3333/* Commands */
3434#define TERMINAL_CMD "alacritty &"
35- #define WEB_BROWSER_CMD "brave &"
36- #define APPLICATION_LAUNCHER_CMD "rofi-app-launcher &"
35+ #define WEB_BROWSER_CMD "firefox &"
36+ #define APPLICATION_LAUNCHER_CMD "dmenu_run &"
3737
3838#define WM_REFRESH_SPEED 1.0f // In seconds
3939#define WM_UPDATE_LAG 100
4040/* Font*/
41- #define FONT "JetBrains Mono Nerd Font :size=12:style=bold "
41+ #define FONT "monnospace :size=12"
4242#define FONT_SIZE 12
4343#define FONT_COLOR "#ffffff"
4444#define DECORATION_FONT_COLOR "#ffffff"
@@ -48,7 +48,7 @@ static const Monitor Monitors[MONITOR_COUNT] = {(Monitor){.width = 1920, .height
4848#define TERMINAL_OPEN_KEY XK_Return
4949#define WEB_BROWSER_OPEN_KEY XK_W
5050#define APPLICATION_LAUNCHER_OPEN_KEY XK_S
51- #define WM_TERMINATE_KEY XK_6
51+ #define WM_TERMINATE_KEY XK_C
5252
5353#define WINDOW_CLOSE_KEY XK_Q
5454#define WINDOW_FULLSCREEN_KEY XK_F
@@ -95,6 +95,7 @@ static const Monitor Monitors[MONITOR_COUNT] = {(Monitor){.width = 1920, .height
9595#define WINDOW_MIN_SIZE_LAYOUT_HORIZONTAL 300
9696#define WINDOW_MIN_SIZE_LAYOUT_VERTICAL 100 // In pixels
9797#define WINDOW_MAX_GAP 100 // In pixels
98+ #define WINDOW_INITIAL_GAP 10 // In pixels
9899#define WINDOW_START_GAP 16 // In pixles
99100#define WINDOW_TRANSPARENT_FRAME false
100101#define WINDOW_SELECT_HOVERED true
@@ -107,12 +108,12 @@ static const Monitor Monitors[MONITOR_COUNT] = {(Monitor){.width = 1920, .height
107108#define DECORATION_TITLE_COLOR 0x1a1823
108109
109110#define DECORATION_SHOW_CLOSE_ICON true
110- #define DECORATION_CLOSE_ICON " "
111+ #define DECORATION_CLOSE_ICON "X "
111112#define DECORATION_CLOSE_ICON_COLOR 0x1a1823
112113#define DECORATION_CLOSE_ICON_SIZE 50
113114
114115#define DECORATION_SHOW_MAXIMIZE_ICON true
115- #define DECORATION_MAXIMIZE_ICON " "
116+ #define DECORATION_MAXIMIZE_ICON " |=| "
116117#define DECORATION_MAXIMIZE_ICON_COLOR 0x1a1823
117118#define DECORATION_MAXIMIZE_ICON_SIZE 50
118119
@@ -142,7 +143,7 @@ static const Monitor Monitors[MONITOR_COUNT] = {(Monitor){.width = 1920, .height
142143#define BAR_SIZE 35 // In pixels
143144#define BAR_PADDING_Y 0
144145#define BAR_PADDING_X 0
145- #define BAR_START_MONITOR 1 // Monitor on which the bar is on startup. (0 is most left)
146+ #define BAR_START_MONITOR 0 // Monitor on which the bar is on startup. (0 is most left)
146147#define BAR_REFRESH_SPEED 1.0 // In seconds
147148#define BAR_COLOR 0x1e2326
148149#define BAR_BORDER_COLOR 0x4f5b58
@@ -188,35 +189,26 @@ static const Monitor Monitors[MONITOR_COUNT] = {(Monitor){.width = 1920, .height
188189#define BAR_INFO_LABEL_SELECTED_COLOR 0x1e2326
189190#define BAR_VERSION_LABEL_COLOR 0x2e383c
190191
191- #define BAR_INFO_PROGRAM_ICON ""
192- #define BAR_INFO_MONITOR_ICON ""
193- #define BAR_INFO_DESKTOP_ICON ""
194- #define BAR_INFO_WINDOW_LAYOUT_ICON ""
195-
196- #define BAR_SLICES_COUNT 5
192+ #define BAR_SLICES_COUNT 2
197193
198194#define BAR_INFO_LABEL_DESKTOP_ICON_SIZE 50
199- static const char * BarInfoLabelDesktopIcons [DESKTOP_COUNT ] = { " " , " " , " " , " " , " " , " " };
200- static const uint32_t BarInfoLabelPos [MONITOR_COUNT ] = {900 , 900 };
195+ static const char * BarInfoLabelDesktopIcons [DESKTOP_COUNT ] = { "1 " , "2 " , "3 " , "4 " , "5 " , "6 " };
196+ static const uint32_t BarInfoLabelPos [MONITOR_COUNT ] = {810 };
201197static BarCommand BarCommands [BAR_SLICES_COUNT ] =
202198{
203- (BarCommand ){.cmd = "echo \" \"" , .refresh_time = 300.0f },
204- (BarCommand ){.cmd = "echo \" $(date +%R) \"" , .refresh_time = 1.0f },
205- (BarCommand ){.cmd = "ram-ragbar" , .refresh_time = 1.0f ,},
206- (BarCommand ){.cmd = "uptime-ragbar" , .refresh_time = 1.0f },
207- (BarCommand ){.cmd = "packages-ragbar" , .refresh_time = 60.0f },
199+ (BarCommand ){.cmd = "echo \" RGNR\"" , .refresh_time = 300.0f },
200+ (BarCommand ){.cmd = "echo \" | $(date +%R) \"" , .refresh_time = 1.0f },
208201};
209202
210203#define BAR_BUTTON_PADDING 20
211- #define BAR_BUTTON_SIZE 50
212- #define BAR_BUTTON_COUNT 4
213- static const uint32_t BarButtonLabelPos [MONITOR_COUNT ] = { 1350 , 1600 };
204+ #define BAR_BUTTON_SIZE 120
205+ #define BAR_BUTTON_COUNT 3
206+ static const uint32_t BarButtonLabelPos [MONITOR_COUNT ] = { 1300 };
214207static BarButton BarButtons [BAR_BUTTON_COUNT ] =
215208{
216- (BarButton ){.cmd = APPLICATION_LAUNCHER_CMD , .icon = "" , .color = 0x2e383c },
217- (BarButton ){.cmd = TERMINAL_CMD , .icon = "" , .color = 0x2e383c },
218- (BarButton ){.cmd = WEB_BROWSER_CMD , .icon = "" , .color = 0x2e383c },
219- (BarButton ){.cmd = "nitrogen &" , .icon = "" , .color = 0x2e383c },
209+ (BarButton ){.cmd = APPLICATION_LAUNCHER_CMD , .icon = "Search" , .color = 0x2e383c },
210+ (BarButton ){.cmd = TERMINAL_CMD , .icon = "Terminal" , .color = 0x2e383c },
211+ (BarButton ){.cmd = WEB_BROWSER_CMD , .icon = "Web" , .color = 0x2e383c },
220212};
221213
222214
0 commit comments