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,7 +16,6 @@
|
||||||
],
|
],
|
||||||
|
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"network",
|
|
||||||
"memory",
|
"memory",
|
||||||
"cpu",
|
"cpu",
|
||||||
"temperature",
|
"temperature",
|
||||||
|
|
|
@ -15,14 +15,23 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
home.sessionVariables = {
|
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; [
|
home.packages = with pkgs; [
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
clipman
|
clipman
|
||||||
wofi
|
wofi
|
||||||
|
libappindicator-gtk3
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.udiskie.enable = true;
|
||||||
|
xsession.preferStatusNotifierItems = true;
|
||||||
|
|
||||||
home.file.".config/wofi/style.css".source = ../../.config/wofi/style.css;
|
home.file.".config/wofi/style.css".source = ../../.config/wofi/style.css;
|
||||||
home.file.".config/waybar/config".source = ../../.config/waybar/config;
|
home.file.".config/waybar/config".source = ../../.config/waybar/config;
|
||||||
home.file.".config/waybar/style.css".source = ../../.config/waybar/style.css;
|
home.file.".config/waybar/style.css".source = ../../.config/waybar/style.css;
|
||||||
|
@ -33,6 +42,8 @@ in
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
'';
|
'';
|
||||||
|
extraSessionCommands = ''
|
||||||
|
'';
|
||||||
config = {
|
config = {
|
||||||
modifier = "${mod}";
|
modifier = "${mod}";
|
||||||
menu = "${pkgs.wofi}/bin/wofi --show drun,run";
|
menu = "${pkgs.wofi}/bin/wofi --show drun,run";
|
||||||
|
|
|
@ -5,8 +5,7 @@ in
|
||||||
{
|
{
|
||||||
wayland.windowManager.sway.config.keybindings = {
|
wayland.windowManager.sway.config.keybindings = {
|
||||||
"${mod}+Shift+e" = "exit";
|
"${mod}+Shift+e" = "exit";
|
||||||
"${mod}+Shift+c" = "reload";
|
"${mod}+Shift+r" = "reload";
|
||||||
"${mod}+Shift+r" = "restart";
|
|
||||||
"${mod}+Shift+l" = "exec swaylock -c 657b83";
|
"${mod}+Shift+l" = "exec swaylock -c 657b83";
|
||||||
"${mod}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
|
"${mod}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue