Skip to content

Commit

Permalink
Adjust waybar to hide on notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
naibaf0 committed Jan 4, 2024
1 parent 4a839c5 commit 0c86e5f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 1 addition & 5 deletions config/waybar/config
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"bar_id": "bar-0",
"ipc": true,
"layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
//"height": 35, // Waybar height (to be removed for auto )
// "width": 1280, // Waybar width
"margin": "10, 10, 0",
"padding": 0,
//"spacing": 10,
// Choose the order of the modules
"include": ["$HOME/.config/waybar/host"],
// Modules configuration
Expand All @@ -27,10 +27,6 @@
},
"separate-outputs": true
},
"sway/window": {
"max-length": 80,
"format": "{}"
},
"custom/scratchpad": {
"format-text": "{}",
"return-type": "json",
Expand Down
1 change: 1 addition & 0 deletions config/waybar/hosts/Sunnydale
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"layer": "top", // Waybar at top layer
"modules-left": ["hyprland/workspaces", "hyprland/submap"],
"modules-center": ["hyprland/window"],
"modules-right": ["gamemode", "custom/scratchpad", "custom/updates", "custom/clipboard", "idle_inhibitor", "pulseaudio", "bluetooth", "network", "cpu", "memory", "temperature#sunnydale", "custom/weather", "clock"]
Expand Down
6 changes: 4 additions & 2 deletions config/waybar/hosts/banshee
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
"layer": "overlay", // Waybar at top layer
"mode": "hide",
"modules-left": ["hyprland/workspaces", "hyprland/submap"],
"modules-center": ["hyprland/window"],
"modules-right": ["custom/scratchpad", "custom/updates", "custom/clipboard", "idle_inhibitor", "pulseaudio", "bluetooth", "network", "battery", "custom/weather", "clock"]
}

0 comments on commit 0c86e5f

Please sign in to comment.