mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
sway changes
This commit is contained in:
parent
5a2465fbab
commit
4dd3fc1292
6 changed files with 7 additions and 7 deletions
|
|
@ -47,7 +47,7 @@
|
||||||
config = let
|
config = let
|
||||||
dmenu =
|
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";
|
"${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 ${./wallpapers/main.png} -s fill";
|
lockCommand = "swaylock -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} -s fill";
|
||||||
|
|
||||||
in {
|
in {
|
||||||
bars = [{ command = "${pkgs.waybar}/bin/waybar"; }];
|
bars = [{ command = "${pkgs.waybar}/bin/waybar"; }];
|
||||||
|
|
@ -56,22 +56,22 @@
|
||||||
left = {
|
left = {
|
||||||
res = "1920x1080";
|
res = "1920x1080";
|
||||||
pos = "0 0";
|
pos = "0 0";
|
||||||
bg = "${./wallpapers/left.jpg} fill";
|
bg = "${../../../private/files/wallpapers/left.jpg} fill";
|
||||||
};
|
};
|
||||||
middle = {
|
middle = {
|
||||||
res = "1920x1080";
|
res = "1920x1080";
|
||||||
pos = "1920 0";
|
pos = "1920 0";
|
||||||
bg = "${./wallpapers/main.png} fill";
|
bg = "${../../../private/files/wallpapers/main.png} fill";
|
||||||
};
|
};
|
||||||
right = {
|
right = {
|
||||||
res = "1920x1080";
|
res = "1920x1080";
|
||||||
pos = "3840 0";
|
pos = "3840 0";
|
||||||
bg = "${./wallpapers/right.jpg} fill";
|
bg = "${../../../private/files/wallpapers/right.jpg} fill";
|
||||||
};
|
};
|
||||||
laptop = {
|
laptop = {
|
||||||
res = "1920x1080";
|
res = "1920x1080";
|
||||||
pos = "0 0";
|
pos = "0 0";
|
||||||
bg = "${./wallpapers/main.png} fill";
|
bg = "${../../../private/files/wallpapers/main.png} fill";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
"DP-1" = left;
|
"DP-1" = left;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
Service = {
|
Service = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${pkgs.swayidle}/bin/swayidle -w \
|
${pkgs.swayidle}/bin/swayidle --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} -s fill w \
|
||||||
timeout 300 '${pkgs.swaylock}/bin/swaylock' \
|
timeout 300 '${pkgs.swaylock}/bin/swaylock' \
|
||||||
timeout 600 'swaymsg "output * dpms off"' \
|
timeout 600 'swaymsg "output * dpms off"' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
resume 'swaymsg "output * dpms on"' \
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 451 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.1 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 MiB |
|
|
@ -18,12 +18,12 @@
|
||||||
"temperature"
|
"temperature"
|
||||||
"backlight"
|
"backlight"
|
||||||
"battery"
|
"battery"
|
||||||
"idle_inhibitor"
|
|
||||||
#"mpd"
|
#"mpd"
|
||||||
"network"
|
"network"
|
||||||
"custom/gpg-status"
|
"custom/gpg-status"
|
||||||
"custom/weather"
|
"custom/weather"
|
||||||
"clock"
|
"clock"
|
||||||
|
"idle_inhibitor"
|
||||||
"tray"
|
"tray"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue