mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
profiles/sway: Additions for mabon
This commit is contained in:
parent
9fd9b40c48
commit
af5514301a
2 changed files with 13 additions and 3 deletions
|
|
@ -67,7 +67,7 @@
|
|||
config = let
|
||||
dmenu =
|
||||
"${pkgs.bemenu}/bin/bemenu --fn '${witch.style.font.name} ${witch.style.font.size}' --nb '${witch.style.base16.color0}' --nf '${witch.style.base16.color7}' --sb '${witch.style.base16.color1}' --sf '${witch.style.base16.color7}' -l 5 -m -1 -i";
|
||||
lockCommand = "swaylock -i eDP-1:${
|
||||
lockCommand = "swaylock -i LVDS-1:${../../../private/files/wallpapers/main.png}-i eDP-1:${
|
||||
../../../private/files/wallpapers/main.png
|
||||
} -i HDMI-A-1:${../../../private/files/wallpapers/main.png} -i DP-1:${
|
||||
../../../private/files/wallpapers/left.jpg
|
||||
|
|
@ -97,11 +97,17 @@
|
|||
pos = "0 0";
|
||||
bg = "${../../../private/files/wallpapers/main.png} fill";
|
||||
};
|
||||
mbp = {
|
||||
res = "1280x800";
|
||||
pos = "0 0";
|
||||
bg = "${../../../private/files/wallpapers/main.png} fill";
|
||||
};
|
||||
in {
|
||||
"DP-1" = left;
|
||||
"DVI-D-1" = right;
|
||||
"HDMI-A-1" = middle;
|
||||
"eDP-1" = laptop;
|
||||
"LVDS-1" = mbp;
|
||||
};
|
||||
|
||||
input = {
|
||||
|
|
|
|||
|
|
@ -11,14 +11,18 @@
|
|||
Type = "simple";
|
||||
ExecStart = ''
|
||||
${pkgs.swayidle}/bin/swayidle -w \
|
||||
timeout 300 '${pkgs.swaylock}/bin/swaylock -f -i eDP-1:${
|
||||
timeout 300 '${pkgs.swaylock}/bin/swaylock -f -i LVDS-1:${
|
||||
../../../private/files/wallpapers/main.png
|
||||
} -i eDP-1:${
|
||||
../../../private/files/wallpapers/main.png
|
||||
} -i HDMI-A-1:${../../../private/files/wallpapers/main.png} -i DP-1:${
|
||||
../../../private/files/wallpapers/left.jpg
|
||||
} -i DVI-D-1:${../../../private/files/wallpapers/right.jpg}' \
|
||||
#timeout 600 'swaymsg "output * dpms off"' \
|
||||
# resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep '${pkgs.swaylock}/bin/swaylock -f -i eDP-1:${
|
||||
before-sleep '${pkgs.swaylock}/bin/swaylock -f -i LVDS-1:${
|
||||
../../../private/files/wallpapers/main.png
|
||||
} -p eDP-1:${
|
||||
../../../private/files/wallpapers/main.png
|
||||
} -i HDMI-A-1:${../../../private/files/wallpapers/main.png} -i DP-1:${
|
||||
../../../private/files/wallpapers/left.jpg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue