trying to fix waybar's tray
This commit is contained in:
parent
2ddcabb376
commit
54f8066f22
3 changed files with 13 additions and 4 deletions
|
@ -16,8 +16,7 @@
|
|||
],
|
||||
|
||||
"modules-right": [
|
||||
"network",
|
||||
"memory",
|
||||
"memory",
|
||||
"cpu",
|
||||
"temperature",
|
||||
"battery",
|
||||
|
|
|
@ -15,14 +15,23 @@ in
|
|||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
XDG_CURRENT_DESKTOP="Unity";
|
||||
SDL_VIDEODRIVER="wayland";
|
||||
QT_QPA_PLATFORM="wayland-egl";
|
||||
QT_WAYLAND_FORCE_DPI="physical";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION="1";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
wl-clipboard
|
||||
clipman
|
||||
wofi
|
||||
libappindicator-gtk3
|
||||
];
|
||||
|
||||
services.udiskie.enable = true;
|
||||
xsession.preferStatusNotifierItems = true;
|
||||
|
||||
home.file.".config/wofi/style.css".source = ../../.config/wofi/style.css;
|
||||
home.file.".config/waybar/config".source = ../../.config/waybar/config;
|
||||
home.file.".config/waybar/style.css".source = ../../.config/waybar/style.css;
|
||||
|
@ -33,6 +42,8 @@ in
|
|||
|
||||
extraConfig = ''
|
||||
'';
|
||||
extraSessionCommands = ''
|
||||
'';
|
||||
config = {
|
||||
modifier = "${mod}";
|
||||
menu = "${pkgs.wofi}/bin/wofi --show drun,run";
|
||||
|
|
|
@ -5,8 +5,7 @@ in
|
|||
{
|
||||
wayland.windowManager.sway.config.keybindings = {
|
||||
"${mod}+Shift+e" = "exit";
|
||||
"${mod}+Shift+c" = "reload";
|
||||
"${mod}+Shift+r" = "restart";
|
||||
"${mod}+Shift+r" = "reload";
|
||||
"${mod}+Shift+l" = "exec swaylock -c 657b83";
|
||||
"${mod}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
|
||||
|
||||
|
|
Loading…
Reference in a new issue