Skip to content

Commit

Permalink
update hosts/hk47
Browse files Browse the repository at this point in the history
  • Loading branch information
ksevelyar committed Apr 2, 2023
1 parent 7582489 commit 5607a7a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hosts/hk47.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
19 changes: 19 additions & 0 deletions users/ksevelyar/leftwm-hk47/up
Original file line number Diff line number Diff line change
@@ -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 &

0 comments on commit 5607a7a

Please sign in to comment.