diff --git a/hosts/hk47.nix b/hosts/hk47.nix index 76f684b..b56e001 100644 --- a/hosts/hk47.nix +++ b/hosts/hk47.nix @@ -59,6 +59,11 @@ args@{ config, lib, pkgs, ... }: ../services/vm/docker.nix ]; + + home-manager.users.ksevelyar = { + home.file.".config/leftwm/themes/current/up".source = ../users/ksevelyar/leftwm-hk47/up; + }; + # net networking.hostName = "hk47"; networking.interfaces.enp4s0.useDHCP = true; diff --git a/users/ksevelyar/leftwm-hk47/up b/users/ksevelyar/leftwm-hk47/up new file mode 100755 index 0000000..0e53fe8 --- /dev/null +++ b/users/ksevelyar/leftwm-hk47/up @@ -0,0 +1,19 @@ +#! /usr/bin/env bash + +SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" + +leftwm command "LoadTheme $SCRIPTPATH/theme.toml" + +random-wallpaper +xxkb & +dunst & +lxqt-policykit-agent & +xcape -e 'Super_R=Super_R|X;Super_L=Super_L|X' + +alacritty -e fish -c "cd ~/code/fitlog-phoenix/ && mix phx.server" & +alacritty -e fish -c "cd ~/code/fitlog-vue/ && npm run dev" & + +pkill polybar +echo "---" | tee -a ~/.cache/polybar-top.log ~/.cache/polybar-bottom.log +polybar top >>~/.cache/polybar-top.log 2>&1 & +polybar bottom >>~/.cache/polybar-bottom.log 2>&1 &