Compare commits
7 Commits
80202f93ba
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 51a2fc785b | |||
| 001dd87663 | |||
| 7c76092500 | |||
| e1e03df0f4 | |||
| d0384e46bd | |||
| 7766acd5af | |||
| 57b6aefc41 |
67
install.sh
67
install.sh
@@ -60,6 +60,7 @@ mapfile -t tools < <(
|
||||
|
||||
mapfile -t extratools < <(
|
||||
gum choose --header="Choose extra tools to install:" --no-limit \
|
||||
"General fonts" \
|
||||
"Godot" \
|
||||
"Btop" \
|
||||
"Fuzzel" \
|
||||
@@ -77,13 +78,15 @@ mapfile -t extratools < <(
|
||||
## Applying configs ##
|
||||
######################
|
||||
|
||||
env_to_set=()
|
||||
|
||||
for choice in "${desktop[@]}"; do
|
||||
case "$choice" in
|
||||
"Niri")
|
||||
sudo -v || exit 1
|
||||
yay -S --needed --noconfirm \
|
||||
niri \
|
||||
nautilus \
|
||||
dolphin \
|
||||
gnome-keyring \
|
||||
brightnessctl \
|
||||
cava \
|
||||
@@ -101,16 +104,17 @@ for choice in "${desktop[@]}"; do
|
||||
qt6-multimedia \
|
||||
dms-shell-bin \
|
||||
xwayland-satellite \
|
||||
ly \
|
||||
noto-fonts-emoji
|
||||
ly
|
||||
# greetd-dms-greeter-git
|
||||
|
||||
stow niri qt6ct --adopt
|
||||
|
||||
xdg-mime default org.gnome.nautilus.desktop inode/directory
|
||||
# xdg-mime default org.gnome.nautilus.desktop inode/directory
|
||||
xdg-mime default org.kde.dolphin.desktop inode/directory
|
||||
|
||||
mkdir -p "$HOME"/.config/environment.d
|
||||
echo "QT_QPA_PLATFORMTHEME=qt6ct" >>"$HOME"/.config/environment.d/90-qt.conf
|
||||
# echo "QT_QPA_PLATFORMTHEME=qt6ct" >>"$HOME"/.config/environment.d/90-qt.conf
|
||||
env_to_set+=("QT_QPA_PLATFORMTHEME=qt6ct")
|
||||
systemctl --user daemon-reload
|
||||
|
||||
systemctl --user enable dms
|
||||
@@ -121,7 +125,50 @@ for choice in "${desktop[@]}"; do
|
||||
# dms greeter sync
|
||||
sudo systemctl enable ly@tty1
|
||||
;;
|
||||
"Hyprland")
|
||||
sudo -v || exit 1
|
||||
yay -S --needed --noconfirm \
|
||||
hyprland \
|
||||
uwsm \
|
||||
dolphin \
|
||||
gnome-keyring \
|
||||
brightnessctl \
|
||||
cava \
|
||||
candy-icons-git \
|
||||
power-profiles-daemon \
|
||||
qt6ct-kde \
|
||||
xdg-desktop-portal-gnome \
|
||||
xdg-desktop-portal-gtk \
|
||||
xdg-desktop-portal-wlr \
|
||||
quickshell-git \
|
||||
cliphist \
|
||||
wl-clipboard \
|
||||
dgop \
|
||||
matugen-bin \
|
||||
qt6-multimedia \
|
||||
dms-shell-bin \
|
||||
xwayland-satellite \
|
||||
ly
|
||||
|
||||
stow hyprland qt6ct --adopt
|
||||
|
||||
# xdg-mime default org.gnome.nautilus.desktop inode/directory
|
||||
xdg-mime default org.kde.dolphin.desktop inode/directory
|
||||
|
||||
mkdir -p "$HOME"/.config/environment.d
|
||||
# echo "QT_QPA_PLATFORMTHEME=qt6ct" >>"$HOME"/.config/environment.d/90-qt.conf
|
||||
env_to_set+=("QT_QPA_PLATFORMTHEME=qt6ct")
|
||||
systemctl --user daemon-reload
|
||||
|
||||
systemctl --user enable dms
|
||||
systemctl --user add-wants hyprland-session.target dms
|
||||
systemctl --user add-wants hyprland-session.target gnome-keyring-daemon.service
|
||||
|
||||
# dms greeter enable
|
||||
# dms greeter sync
|
||||
sudo systemctl enable ly@tty1
|
||||
|
||||
;;
|
||||
"KDE Plasma")
|
||||
sudo -v || exit 1
|
||||
pacman -S --needed --noconfirm plasma kde-applications
|
||||
@@ -178,6 +225,7 @@ for choice in "${tools[@]}"; do
|
||||
wine \
|
||||
protontricks \
|
||||
protonup-qt \
|
||||
protonplus \
|
||||
goverlay \
|
||||
vkbasalt \
|
||||
vulkan-tools
|
||||
@@ -238,6 +286,9 @@ extrapkgs=()
|
||||
|
||||
for choice in "${extratools[@]}"; do
|
||||
case "$choice" in
|
||||
"General Fonts")
|
||||
extrapkgs+=("noto-fonts" "noto-fonts-cjk" "noto-fonts-emoji")
|
||||
;;
|
||||
"Godot")
|
||||
extrapkgs+=("godots-bin")
|
||||
stow godot --adopt
|
||||
@@ -284,6 +335,12 @@ for choice in "${extratools[@]}"; do
|
||||
esac
|
||||
done
|
||||
|
||||
mkdir -p "$HOME"/.config/environment.d
|
||||
echo "$(
|
||||
IFS=$'\n'
|
||||
printf "%s\n" "${env_to_set[@]}" | sort -u
|
||||
)" >"$HOME"/.config/environment.d/90-dots.conf
|
||||
|
||||
extpkgstr=$(
|
||||
IFS=" "
|
||||
echo "${extrapkgs[*]}"
|
||||
|
||||
@@ -5,38 +5,6 @@
|
||||
config-notification {
|
||||
disable-failed
|
||||
}
|
||||
// Outputs from existing configuration
|
||||
output "eDP-1" {
|
||||
// Uncomment this line to disable this output.
|
||||
// off
|
||||
|
||||
// Resolution and, optionally, refresh rate of the output.
|
||||
// The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
|
||||
// If the refresh rate is omitted, niri will pick the highest refresh rate
|
||||
// for the resolution.
|
||||
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
|
||||
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
|
||||
mode "1920x1080@144"
|
||||
|
||||
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
|
||||
scale 1
|
||||
|
||||
// Transform allows to rotate the output counter-clockwise, valid values are:
|
||||
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
|
||||
transform "normal"
|
||||
|
||||
// Position of the output in the global coordinate space.
|
||||
// This affects directional monitor actions like "focus-monitor-left", and cursor movement.
|
||||
// The cursor can only move between directly adjacent outputs.
|
||||
// Output scale and rotation has to be taken into account for positioning:
|
||||
// outputs are sized in logical, or scaled, pixels.
|
||||
// For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080,
|
||||
// so to put another output directly adjacent to it on the right, set its x to 1920.
|
||||
// If the position is unset or results in an overlap, the output is instead placed
|
||||
// automatically.
|
||||
position x=0 y=0
|
||||
}
|
||||
|
||||
|
||||
gestures {
|
||||
hot-corners {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
binds {
|
||||
Mod+E repeat=false { spawn "nautilus"; }
|
||||
Mod+E repeat=false { spawn "dolphin"; }
|
||||
|
||||
xF86AudioPlay {
|
||||
spawn-sh "dms ipc call mpris playPause";
|
||||
|
||||
1
nvim/.config/nvim/.gitignore
vendored
1
nvim/.config/nvim/.gitignore
vendored
@@ -1 +1,2 @@
|
||||
lazy-lock.json
|
||||
dankcolors.lua
|
||||
|
||||
Reference in New Issue
Block a user