More sway fixes
This commit is contained in:
parent
577129cb1c
commit
5a572d5d68
2 changed files with 6 additions and 4 deletions
|
@ -7,9 +7,6 @@
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.frogeye.desktop.xorg {
|
config = lib.mkIf config.frogeye.desktop.xorg {
|
||||||
wayland.windowManager.sway.config.bars = [ ];
|
wayland.windowManager.sway.config.bars = [ ];
|
||||||
programs.autorandr.hooks.postswitch = {
|
|
||||||
frobar = "${pkgs.systemd}/bin/systemctl --user restart frobar";
|
|
||||||
};
|
|
||||||
systemd.user.services.frobar = {
|
systemd.user.services.frobar = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "frobar";
|
Description = "frobar";
|
||||||
|
|
|
@ -214,7 +214,7 @@ in
|
||||||
) modes
|
) modes
|
||||||
);
|
);
|
||||||
window = {
|
window = {
|
||||||
hideEdgeBorders = "both";
|
hideEdgeBorders = "--i3 both";
|
||||||
titlebar = false; # So that single-container screens are basically almost fullscreen
|
titlebar = false; # So that single-container screens are basically almost fullscreen
|
||||||
commands = [
|
commands = [
|
||||||
# switch to workspace with urgent window automatically
|
# switch to workspace with urgent window automatically
|
||||||
|
@ -234,6 +234,11 @@ in
|
||||||
};
|
};
|
||||||
seat."*".hide_cursor = "5000";
|
seat."*".hide_cursor = "5000";
|
||||||
startup = [
|
startup = [
|
||||||
|
{
|
||||||
|
# https://github.com/emersion/kanshi/issues/43
|
||||||
|
command = "${pkgs.systemd}/bin/systemctl --user restart kanshi";
|
||||||
|
always = true;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
command = "${
|
command = "${
|
||||||
pkgs.writeShellApplication {
|
pkgs.writeShellApplication {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue