restructure
- users/rin/default.nix -> users/rin.nix - users/rin/home.nix +-> users/rin.nix - users/rin/*.nix -> modules/user/*.nix - users/rin/scripts/ -> scripts/ - hosts/winter/default.nix -> hosts/winter.nix - hosts/winter/*.nix -> modules/system/*.nix - modules are dynamically imported as sets for system and user
This commit is contained in:
parent
84f08a3a1c
commit
c86be50084
30 changed files with 178 additions and 157 deletions
10
scripts/osu
Normal file
10
scripts/osu
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd ~/Games/osu
|
||||
|
||||
export DRI_PRIME=1
|
||||
export vblank_mode=0
|
||||
export STAGING_AUDIO_DURATION=400000
|
||||
|
||||
wine ~/.local/bin/ipc-bridge.exe &
|
||||
wine osu\!.exe
|
||||
4
scripts/polybar.sh
Executable file
4
scripts/polybar.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
polybar top >>/tmp/bar-top.log 2>&1 &
|
||||
polybar bottom >>/tmp/bar-bottom.log 2>&1 &
|
||||
11
scripts/xinitrc
Executable file
11
scripts/xinitrc
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
||||
eval $(dbus-launch --exit-with-session --sh-syntax)
|
||||
fi
|
||||
systemctl --user import-environment DISPLAY XAUTHORITY
|
||||
|
||||
if command -v dbus-update-activation-environment > /dev/null 2>&1; then
|
||||
dbus-update-activation-environment DISPLAY XAUTHORITY
|
||||
fi
|
||||
|
||||
xrdb ${XDG_CONFIG_HOME}/xorg/xresources
|
||||
exec ${XDG_CONFIG_HOME}/xorg/xsession
|
||||
Loading…
Add table
Add a link
Reference in a new issue