some comments and waybar config
This commit is contained in:
1 parent
445f26dab5
commit
f183237d33
2 files changed
+11
-7
No files matched your search
+10
-6
@@ -1,5 +1,6 @@
|
||||
void
|
||||
fibonacci(Monitor *mon, int s) {
|
||||
|
||||
//------------------------ fibonacci function ------------------------------------
|
||||
void fibonacci(Monitor *mon, int s) {
|
||||
unsigned int i, n, nx, ny, nw, nh;
|
||||
Client *c;
|
||||
|
||||
@@ -54,13 +55,16 @@ fibonacci(Monitor *mon, int s) {
|
||||
resize(c, nx + gap, ny + gap, nw - gap-gap - 2 * c->bw, nh - gap-gap - 2 * c->bw, 0);
|
||||
}
|
||||
}
|
||||
//--------------------------------------------------------------------------------
|
||||
|
||||
void
|
||||
dwindle(Monitor *mon) {
|
||||
//----------- dwindle --------
|
||||
void dwindle(Monitor *mon) {
|
||||
fibonacci(mon, 1);
|
||||
}
|
||||
//----------------------------
|
||||
|
||||
void
|
||||
spiral(Monitor *mon) {
|
||||
//--------- spiral -----------
|
||||
void spiral(Monitor *mon) {
|
||||
fibonacci(mon, 0);
|
||||
}
|
||||
//----------------------------
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"spacing": 4,
|
||||
"modules-left": ["custom/launcher", "cpu", "memory", "temperature", "disk", "custom/weather", "custom/updates", "custom/onscreenkeyboard", "hyprland/window"],
|
||||
"modules-center": ["hyprland/workspaces"],
|
||||
"modules-right": ["privacy", "mpris", "cava", "pulseaudio/slider", "pulseaudio", "network", "backlight", "keyboard-state", "hyprland/language", "battery", "battery#bat2", "clock", "tray", "custom/power"],
|
||||
"modules-right": ["privacy", "mpris", "cava", "pulseaudio", "network", "backlight", "keyboard-state", "hyprland/language", "battery", "battery#bat2", "clock", "tray", "custom/power"],
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
// "format-icons": {
|
||||
|
||||
Reference in new issue
Block a user