add some wayland stuff
This commit is contained in:
parent
b335246a3d
commit
ca94a84072
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
mod = "Mod4";
|
||||
term = "kitty";
|
||||
|
@ -67,7 +67,7 @@ in
|
|||
## calculator
|
||||
"${mod}+c" = "exec rofi -show calc";
|
||||
## emoji
|
||||
"${mod}+period" = "exec kaokao | xclip -selection clipboard";
|
||||
"${mod}+period" = "exec kaokao | wl-copy";
|
||||
## THE PICTURES
|
||||
"${mod}+s" = "exec flameshot gui --clipboard";
|
||||
|
||||
|
@ -172,7 +172,7 @@ in
|
|||
|
||||
bars = [{
|
||||
position = "top";
|
||||
command = "waybar";
|
||||
command = "swaybar";
|
||||
statusCommand =
|
||||
"i3status-rs $HOME/.config/i3status-rust/config-main.toml";
|
||||
fonts = {
|
||||
|
@ -217,6 +217,10 @@ in
|
|||
command = "--no-startup-id i3-layouts";
|
||||
always = true;
|
||||
}
|
||||
{
|
||||
command = "swaymsg -t SUBSCRIBE -m \"['workspace']\" | jq --unbuffered -r 'select(.change == \"focus\") | .current.output' | xargs -L1 swaymsg input type:tablet\_tool map\_to\_output";
|
||||
always = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
home-manager.users.zoe.xsession.windowManager.i3.extraConfig = ''
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
{ pkgs, ... }: {
|
||||
imports = [ ./config.nix ];
|
||||
home-manager.users.zoe.wayland.windowManager.sway = {
|
||||
package = pkgs.sway;
|
||||
|
|
Loading…
Reference in New Issue