Skip to content

Commit 3253e02

Browse files
committed
home-manager/sway: dropdown terminal border
1 parent 65319f9 commit 3253e02

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

home-manager/modules/sway/default.nix

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ in
5454
};
5555
};
5656

57-
# Install these packages for my user
5857
home.packages = with pkgs; [
59-
# way-displays
6058
wl-clipboard
6159
wlr-randr
6260
start-sway
@@ -113,7 +111,7 @@ in
113111

114112
# Scratchpad
115113
"${modifier}+u" =
116-
''[app_id="dropdown"] scratchpad show; [app_id="dropdown"] resize set 99ppt 98ppt; [app_id="dropdown"] move position center'';
114+
''[app_id="dropdown"] scratchpad show; [app_id="dropdown"] move position 0 0; [app_id="dropdown"] resize set width 100 ppt height 100 ppt'';
117115

118116
# Screen brightness
119117
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%+";
@@ -175,15 +173,15 @@ in
175173
criteria.app_id = "dropdown";
176174
}
177175
{
178-
command = "resize set 99ppt 98ppt";
176+
command = "move position 0 0, resize set width 100 ppt height 100 ppt";
179177
criteria.app_id = "dropdown";
180178
}
181179
{
182180
command = "move scratchpad";
183181
criteria.app_id = "dropdown";
184182
}
185183
{
186-
command = "border pixel 8";
184+
command = "border pixel 4";
187185
criteria.app_id = "dropdown";
188186
}
189187
];

0 commit comments

Comments
 (0)