Compare commits
12 commits
Author | SHA1 | Date | |
---|---|---|---|
64f53c3f45 | |||
0c5d74fc35 | |||
ff2cd91aa7 | |||
75dc6d8f3c | |||
cc422c3ce6 | |||
f197ab6a4b | |||
d97e9b2afd | |||
64dcbc2837 | |||
49d37580a3 | |||
ecf4c6bee8 | |||
8829d15bb4 | |||
aec1312f13 |
11 changed files with 110 additions and 10 deletions
30
Makefile
Normal file
30
Makefile
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
.PHONY: all iso clean clean_work qemu check_mountpoints check_root
|
||||||
|
|
||||||
|
ISO_NAME := $(shell ls out/*.iso 2>/dev/null | sort -r | head -n 1)
|
||||||
|
ARCHISO_CMD := mkarchiso -v .
|
||||||
|
|
||||||
|
check_root:
|
||||||
|
@if [ "$$(id -u)" -ne 0 ]; then \
|
||||||
|
echo "Error: This script must be run as root (UID 0)."; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
check_mountpoints:
|
||||||
|
@if mount | grep -q "$(shell realpath work)"; then \
|
||||||
|
echo "Found mountpoints in work/. Unmounting..."; \
|
||||||
|
sudo umount -R work/*; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
all: check_root clean_work iso
|
||||||
|
|
||||||
|
iso:
|
||||||
|
$(ARCHISO_CMD)
|
||||||
|
|
||||||
|
clean: check_mountpoints
|
||||||
|
rm -rf work/ out/
|
||||||
|
|
||||||
|
clean_work: check_mountpoints
|
||||||
|
rm -rf work/
|
||||||
|
|
||||||
|
qemu: $(ISO_NAME)
|
||||||
|
qemu-system-x86_64 --enable-kvm -smp $(shell echo $$(( `nproc` / 2 / 2 * 2 ))) -cpu host -m 4G -nic user -L /tmp --bios /usr/share/edk2-ovmf/x64/OVMF_CODE.fd -cdrom $(ISO_NAME)
|
12
airootfs/etc/skel/.bashrc
Normal file
12
airootfs/etc/skel/.bashrc
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#
|
||||||
|
# ~/.bashrc
|
||||||
|
#
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
PS1='\[\e[92m\]\u\[\e[0m\]@\h \[\e[96m\]\w\n\[\e[92m\]\$\[\e[0m\] '
|
||||||
|
|
||||||
|
complete -cf sudo
|
|
@ -25,4 +25,5 @@ foot -s >/dev/null 2>&1 &
|
||||||
waybar -c ~/.config/waybar/labwc >/dev/null 2>&1 &
|
waybar -c ~/.config/waybar/labwc >/dev/null 2>&1 &
|
||||||
|
|
||||||
# Drawer
|
# Drawer
|
||||||
nwggrid-server -layer-shell-layer OVERLAY 2>&1 &
|
#nwggrid-server -layer-shell-layer OVERLAY 2>&1 &
|
||||||
|
nwg-drawer -r -ovl -nofs -term footclient -pbexit "pkill labwc" -pblock "swaylock -c 111111" -pbpoweroff "poweroff" -pbreboot "reboot" -pbsleep "systemctl suspend" -pbuseicontheme 2>&1 &
|
||||||
|
|
|
@ -20,7 +20,10 @@
|
||||||
</menu>
|
</menu>
|
||||||
<menu id="root-menu" label="">
|
<menu id="root-menu" label="">
|
||||||
<item label="Open Drawer">
|
<item label="Open Drawer">
|
||||||
|
<!--
|
||||||
<action name="Execute"><command>nwggrid -client</command></action>
|
<action name="Execute"><command>nwggrid -client</command></action>
|
||||||
|
-->
|
||||||
|
<action name="Execute"><command>nwg-drawer -open</command></action>
|
||||||
</item>
|
</item>
|
||||||
<item label="Open Run Menu">
|
<item label="Open Run Menu">
|
||||||
<action name="Execute"><command>bemenu-run</command></action>
|
<action name="Execute"><command>bemenu-run</command></action>
|
||||||
|
|
|
@ -35,9 +35,15 @@
|
||||||
<action name="Execute"><command>footclient</command></action>
|
<action name="Execute"><command>footclient</command></action>
|
||||||
</keybind>
|
</keybind>
|
||||||
|
|
||||||
|
<!--
|
||||||
<keybind key="W-d">
|
<keybind key="W-d">
|
||||||
<action name="Execute"><command>nwggrid</command></action>
|
<action name="Execute"><command>nwggrid</command></action>
|
||||||
</keybind>
|
</keybind>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<keybind key="W-d">
|
||||||
|
<action name="Execute"><command>nwg-drawer -open</command></action>
|
||||||
|
</keybind>
|
||||||
|
|
||||||
<keybind key="W-r">
|
<keybind key="W-r">
|
||||||
<action name="Execute"><command>bemenu-run</command></action>
|
<action name="Execute"><command>bemenu-run</command></action>
|
||||||
|
|
34
airootfs/etc/skel/.config/nwg-drawer/drawer.css
Normal file
34
airootfs/etc/skel/.config/nwg-drawer/drawer.css
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
window {
|
||||||
|
background-color: rgba (24, 24, 24, 0.95);
|
||||||
|
color: #eeeeee
|
||||||
|
}
|
||||||
|
|
||||||
|
/* search entry */
|
||||||
|
entry {
|
||||||
|
background-color: rgba (0, 0, 0, 0.2)
|
||||||
|
}
|
||||||
|
|
||||||
|
button, image {
|
||||||
|
background: none;
|
||||||
|
border: none
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: rgba (255, 255, 255, 0.1)
|
||||||
|
}
|
||||||
|
|
||||||
|
/* in case you wanted to give category buttons a different look */
|
||||||
|
#category-button {
|
||||||
|
margin: 0 10px 0 10px
|
||||||
|
}
|
||||||
|
|
||||||
|
#pinned-box {
|
||||||
|
padding-bottom: 5px;
|
||||||
|
border-bottom: 1px dotted gray
|
||||||
|
}
|
||||||
|
|
||||||
|
#files-box {
|
||||||
|
padding: 5px;
|
||||||
|
border: 1px dotted gray;
|
||||||
|
border-radius: 15px
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
window {
|
window {
|
||||||
background-color: rgba (36, 47, 79, 0.92);
|
background-color: rgba (43, 48, 59, 0.97);
|
||||||
color: #eeeeee
|
color: #eeeeee
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,4 +19,4 @@ button {
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
background-color: rgba (255, 255, 255, 0.1)
|
background-color: rgba (255, 255, 255, 0.1)
|
||||||
}
|
}
|
||||||
|
|
|
@ -167,7 +167,8 @@
|
||||||
|
|
||||||
"custom/drawer": {
|
"custom/drawer": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "nwggrid -client",
|
//"on-click": "nwggrid -client",
|
||||||
|
"on-click": "nwg-drawer -open",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
1
airootfs/root/.bash_profile
Normal file
1
airootfs/root/.bash_profile
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
12
airootfs/root/.bashrc
Normal file
12
airootfs/root/.bashrc
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#
|
||||||
|
# ~/.bashrc
|
||||||
|
#
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
PS1='\[\e[91m\]\u\[\e[0m\]@\h \[\e[96m\]\w\n\[\e[91m\]\$\[\e[0m\] '
|
||||||
|
|
||||||
|
complete -cf sudo
|
|
@ -193,11 +193,8 @@ grim
|
||||||
slurp
|
slurp
|
||||||
swappy
|
swappy
|
||||||
wdisplays
|
wdisplays
|
||||||
nwg-panel
|
|
||||||
nwg-bar
|
|
||||||
swaybg
|
swaybg
|
||||||
nwg-menu
|
nwg-drawer
|
||||||
nwg-launchers
|
|
||||||
cliphist
|
cliphist
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wl-clipboard-x11
|
wl-clipboard-x11
|
||||||
|
@ -225,7 +222,6 @@ wireguard-tools
|
||||||
chntpw
|
chntpw
|
||||||
stress
|
stress
|
||||||
s-tui
|
s-tui
|
||||||
bless
|
|
||||||
rclone
|
rclone
|
||||||
hexedit
|
hexedit
|
||||||
flashrom
|
flashrom
|
||||||
|
@ -254,7 +250,7 @@ cpupower
|
||||||
fio
|
fio
|
||||||
kdiskmark
|
kdiskmark
|
||||||
bcachefs-tools
|
bcachefs-tools
|
||||||
edac-utils
|
#edac-utils
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
libva-intel-driver
|
libva-intel-driver
|
||||||
libva-mesa-driver
|
libva-mesa-driver
|
||||||
|
@ -280,3 +276,7 @@ zfs-utils-git
|
||||||
zfs-dkms-git
|
zfs-dkms-git
|
||||||
nut
|
nut
|
||||||
micro
|
micro
|
||||||
|
mupdf
|
||||||
|
expac
|
||||||
|
hexyl
|
||||||
|
ghex
|
||||||
|
|
Loading…
Reference in a new issue