diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-10-27 19:44:46 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-10-27 22:15:36 +0100 |
| commit | 4dac73a295315e037ae98e6885ddb1451be39763 (patch) | |
| tree | 53c8ae7fe6d6e7ba4c7a9bd498565b79b3df01e6 | |
| parent | docs(README): update repo URL (diff) | |
| download | suckless-setup-4dac73a295315e037ae98e6885ddb1451be39763.tar.gz | |
feat(laptop): change BAT no., set font size to 13
| -rw-r--r-- | laptop.diff | 60 |
1 files changed, 46 insertions, 14 deletions
diff --git a/laptop.diff b/laptop.diff index 6dd9b67..8d7a56e 100644 --- a/laptop.diff +++ b/laptop.diff @@ -1,8 +1,8 @@ diff --git a/dwm/config.def.h b/dwm/config.def.h -index 2643f40..db7004d 100644 +index c2df15c..1ef4a04 100644 --- a/dwm/config.def.h +++ b/dwm/config.def.h -@@ -4,7 +4,7 @@ +@@ -4,12 +4,12 @@ static const unsigned int borderpx = 0; /* border pixel of windows */ static const unsigned int gappx = 15; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ @@ -11,7 +11,23 @@ index 2643f40..db7004d 100644 static const int topbar = 1; /* 0 means bottom bar */ static const int splitstatus = 1; /* 1 for split status items */ static const char *splitdelim = ";"; /* Character used for separating status */ -@@ -81,7 +81,7 @@ static const char *dmenucmd[] = { +-static const char *fonts[] = {"JetBrainsMono NF:style=Bold:size=12"}; +-static const char dmenufont[] = "JetBrainsMono NF:style=Bold:size=12"; ++static const char *fonts[] = {"JetBrainsMono NF:style=Bold:size=13"}; ++static const char dmenufont[] = "JetBrainsMono NF:style=Bold:size=13"; + static const char col_gray1[] = "#191724"; + static const char col_gray2[] = "#dde1e7"; + static const char col_gray3[] = "#e0def4"; +@@ -43,7 +43,7 @@ static const Rule rules[] = { + }; + + /* layout(s) */ +-static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ ++static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */ + static const int nmaster = 1; /* number of clients in master area */ + static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ + static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ +@@ -79,7 +79,7 @@ static const char *dmenucmd[] = { "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL}; static const char *termcmd[] = {"st", NULL}; static const char *prtscrcmd[] = {"flameshot", "gui", NULL}; @@ -21,10 +37,10 @@ index 2643f40..db7004d 100644 static const char *discordcmd[] = {"discord", NULL}; static const char *adbscreencmd[] = {"screenshot", NULL}; diff --git a/dwm/config.h b/dwm/config.h -index 2643f40..db7004d 100644 +index c2df15c..1ef4a04 100644 --- a/dwm/config.h +++ b/dwm/config.h -@@ -4,7 +4,7 @@ +@@ -4,12 +4,12 @@ static const unsigned int borderpx = 0; /* border pixel of windows */ static const unsigned int gappx = 15; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ @@ -33,7 +49,23 @@ index 2643f40..db7004d 100644 static const int topbar = 1; /* 0 means bottom bar */ static const int splitstatus = 1; /* 1 for split status items */ static const char *splitdelim = ";"; /* Character used for separating status */ -@@ -81,7 +81,7 @@ static const char *dmenucmd[] = { +-static const char *fonts[] = {"JetBrainsMono NF:style=Bold:size=12"}; +-static const char dmenufont[] = "JetBrainsMono NF:style=Bold:size=12"; ++static const char *fonts[] = {"JetBrainsMono NF:style=Bold:size=13"}; ++static const char dmenufont[] = "JetBrainsMono NF:style=Bold:size=13"; + static const char col_gray1[] = "#191724"; + static const char col_gray2[] = "#dde1e7"; + static const char col_gray3[] = "#e0def4"; +@@ -43,7 +43,7 @@ static const Rule rules[] = { + }; + + /* layout(s) */ +-static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ ++static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */ + static const int nmaster = 1; /* number of clients in master area */ + static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ + static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ +@@ -79,7 +79,7 @@ static const char *dmenucmd[] = { "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL}; static const char *termcmd[] = {"st", NULL}; static const char *prtscrcmd[] = {"flameshot", "gui", NULL}; @@ -43,7 +75,7 @@ index 2643f40..db7004d 100644 static const char *discordcmd[] = {"discord", NULL}; static const char *adbscreencmd[] = {"screenshot", NULL}; diff --git a/slstatus/config.def.h b/slstatus/config.def.h -index b48aa4b..1ba95b9 100644 +index b48aa4b..25ac18c 100644 --- a/slstatus/config.def.h +++ b/slstatus/config.def.h @@ -69,5 +69,7 @@ static const struct arg args[] = { @@ -51,11 +83,11 @@ index b48aa4b..1ba95b9 100644 {run_command, "%s%% ", "pulsemixer --get-volume | awk '{print $2 }'"}, {keymap, "%s ", NULL}, + {wifi_essid, "%s ", "wlan0"}, -+ {battery_spec, "%s%%", "BAT1"}, ++ {battery_perc, "%s%% ", "BAT0"}, {datetime, "%s ", "%H:%M:%S"}, }; diff --git a/slstatus/config.h b/slstatus/config.h -index b48aa4b..1ba95b9 100644 +index b48aa4b..25ac18c 100644 --- a/slstatus/config.h +++ b/slstatus/config.h @@ -69,5 +69,7 @@ static const struct arg args[] = { @@ -63,11 +95,11 @@ index b48aa4b..1ba95b9 100644 {run_command, "%s%% ", "pulsemixer --get-volume | awk '{print $2 }'"}, {keymap, "%s ", NULL}, + {wifi_essid, "%s ", "wlan0"}, -+ {battery_spec, "%s%%", "BAT1"}, ++ {battery_perc, "%s%% ", "BAT0"}, {datetime, "%s ", "%H:%M:%S"}, }; diff --git a/st/config.def.h b/st/config.def.h -index 444c838..0b28981 100644 +index 444c838..620c25a 100644 --- a/st/config.def.h +++ b/st/config.def.h @@ -5,7 +5,7 @@ @@ -75,12 +107,12 @@ index 444c838..0b28981 100644 * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "JetBrainsMono NF:style=Regular:size=12"; -+static char *font = "JetBrainsMono NF:style=Regular:size=11"; ++static char *font = "JetBrainsMono NF:style=Regular:size=13"; static int borderpx = 0; /* diff --git a/st/config.h b/st/config.h -index 444c838..0b28981 100644 +index 444c838..620c25a 100644 --- a/st/config.h +++ b/st/config.h @@ -5,7 +5,7 @@ @@ -88,7 +120,7 @@ index 444c838..0b28981 100644 * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "JetBrainsMono NF:style=Regular:size=12"; -+static char *font = "JetBrainsMono NF:style=Regular:size=11"; ++static char *font = "JetBrainsMono NF:style=Regular:size=13"; static int borderpx = 0; /* |
