mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add hiding waybar
This commit is contained in:
parent
65c8c2430e
commit
11bf6288c4
3 changed files with 16 additions and 2 deletions
|
|
@ -8924,7 +8924,13 @@ Currently, I am too lazy to explain every option here, but most of it is very se
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
terminal = "kitty";
|
terminal = "kitty";
|
||||||
menu = "fuzzel";
|
menu = "fuzzel";
|
||||||
bars = [{ command = "waybar"; }];
|
bars = [{
|
||||||
|
command = "waybar";
|
||||||
|
mode = "hide";
|
||||||
|
hiddenState = "hide";
|
||||||
|
position = "top";
|
||||||
|
extraConfig = "modifier Mod4";
|
||||||
|
}];
|
||||||
keybindings =
|
keybindings =
|
||||||
let
|
let
|
||||||
inherit (config.wayland.windowManager.sway.config) modifier;
|
inherit (config.wayland.windowManager.sway.config) modifier;
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,13 @@ in
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
terminal = "kitty";
|
terminal = "kitty";
|
||||||
menu = "fuzzel";
|
menu = "fuzzel";
|
||||||
bars = [{ command = "waybar"; }];
|
bars = [{
|
||||||
|
command = "waybar";
|
||||||
|
mode = "hide";
|
||||||
|
hiddenState = "hide";
|
||||||
|
position = "top";
|
||||||
|
extraConfig = "modifier Mod4";
|
||||||
|
}];
|
||||||
keybindings =
|
keybindings =
|
||||||
let
|
let
|
||||||
inherit (config.wayland.windowManager.sway.config) modifier;
|
inherit (config.wayland.windowManager.sway.config) modifier;
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,8 @@
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
|
ipc = true;
|
||||||
|
id = "bar-0";
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
modules-left = [ "sway/workspaces" "custom/outer-right-arrow-dark" "sway/window" ];
|
modules-left = [ "sway/workspaces" "custom/outer-right-arrow-dark" "sway/window" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue