This commit is contained in:
atagen 2023-06-16 20:05:22 +10:00
parent 51c6426532
commit 0935dbe95f
5 changed files with 15 additions and 15 deletions

View file

@ -36,29 +36,29 @@ pkgs.stdenv.mkDerivation rec {
sed -e 's/handle-horz-.*//' -e 's/handle-vert-.*//' -i ./src/gtk-2.0/assets.txt
cat > /build/gtk-colors << EOF
BTN_BG=${palette.bright.black}
BTN_FG=${palette.normal.blue}
BTN_BG=${palette.util.bg}
BTN_FG=${palette.bright.yellow}
FG=${palette.util.fg}
BG=${palette.util.bg}
HDR_BTN_BG=${palette.bright.black}
HDR_BTN_FG=${palette.normal.blue}
ACCENT_BG=${palette.bright.black}
HDR_BTN_BG=${palette.util.bg}
HDR_BTN_FG=${palette.normal.yellow}
ACCENT_BG=${palette.normal.cyan}
ACCENT_FG=${palette.normal.yellow}
HDR_FG=${palette.util.fg}
HDR_FG=${palette.normal.yellow}
HDR_BG=${palette.util.bg}
MATERIA_SURFACE=${palette.normal.black}
MATERIA_VIEW=${palette.util.bg}
MENU_BG=${palette.util.bg}
MENU_FG=${palette.util.fg}
SEL_BG=${palette.normal.black}
SEL_FG=${palette.normal.yellow}
SEL_BG=${palette.normal.yellow}
SEL_FG=${palette.normal.cyan}
TXT_BG=${palette.util.bg}
TXT_FG=${palette.util.fg}
WM_BORDER_FOCUS=${palette.normal.yellow}
WM_BORDER_UNFOCUS=${palette.normal.black}
UNITY_DEFAULT_LAUNCHER_STYLE=False
NAME="nix-rice"
MATERIA_STYLE_COMPACT=True
MATERIA_STYLE_COMPACT=False
EOF
echo "Changing colours:"

View file

@ -1,5 +1,5 @@
exec-once = eww open bar
exec-once = swayidle -w timeout 300 'waylock -init-color 0x#BORDER -input-color 0x#ACTIVEBORDER'
exec-once = swayidle -w timeout 300 'gtklock' timeout 900 'systemctl suspend'
exec-once = ckb-next -c -b
exec-once = swaybg -i #BGIMAGE -m fill
exec-once = xrdb -l ~/.Xresources

View file

@ -1,7 +1,7 @@
[
{
"label" : "lock",
"action" : "waylock",
"action" : "gtklock",
"text" : "Lock",
"keybind" : "l"
},
@ -13,7 +13,7 @@
},
{
"label" : "suspend",
"action" : "systemctl suspend",
"action" : "gtklock & systemctl suspend",
"text" : "Suspend",
"keybind" : "s"
},

View file

@ -44,7 +44,7 @@ in {
xorg.xrdb
swayidle
swaynotificationcenter
waylock
gtklock
playerctl
xplr
@ -268,7 +268,7 @@ in {
util.bg
normal.white
normal.black
normal.red
normal.magenta
]
(builtins.readFile dots/wlogout/style.css));
};

View file

@ -196,7 +196,7 @@
};
};
security.pam.services.waylock = {
security.pam.services.gtklock = {
text = ''
auth include login
'';