improve qt theming
This commit is contained in:
parent
4ffad97212
commit
792137af5e
@ -1,4 +1,6 @@
|
||||
env = GDK_BACKEND,wayland,x11,*
|
||||
env = GDK_DEBUG,portals
|
||||
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = SDL_VIDEODRIVER,wayland
|
||||
env = CLUTTER_BACKEND,wayland
|
||||
@ -7,6 +9,7 @@ env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = QT_QPA_PLATFORM,wayland;xcb
|
||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
env = QT_QPA_PLATFORMTHEME,gtk2
|
||||
|
||||
#env = XCURSOR_THEME,Sweet Cursors”
|
||||
#env = XCURSOR_SIZE,24
|
||||
@ -15,9 +18,12 @@ env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = WINDOW_MANAGER,Hyprland
|
||||
#env = GTK_THEME,Catppuccin-Mocha-Standard-Lavender-Dark
|
||||
|
||||
env = GTK_THEME,catppuccin-mocha-lavender-standard+default
|
||||
env = GTK_USE_PORTAL,1
|
||||
|
||||
env = LANG,de_DE.UTF-8
|
||||
env = EDITOR,"subl"
|
||||
env = SUDO_EDITOR,"subl -w"
|
||||
env = SUDO_EDITOR,"nvim"
|
||||
|
||||
env = MOZ_ENABLE_WAYLAND,1
|
||||
51
stower.sh
51
stower.sh
@ -38,13 +38,11 @@ function inst_paru {
|
||||
echo "${BOLD}paru ${NORMAL}already installed. Skipping..."
|
||||
else
|
||||
echo -n "${BOLD}Continue?${NORMAL} (Y/N) "
|
||||
read confirm_paru 2>&1 | tee -a $LOG
|
||||
read confirm_paru
|
||||
if [[ $confirm_paru == "Y" ]];
|
||||
then
|
||||
sudo pacman -Syu --needed base-devel 2>&1 | tee -a $LOG
|
||||
sudo pacman -Syu rustup 2>&1 | tee -a $LOG
|
||||
rustup default stable 2>&1 | tee -a $LOG
|
||||
rustup update
|
||||
sudo pacman -Syu rust 2>&1 | tee -a $LOG
|
||||
|
||||
rm -rf $HYPRMOONARCH_DIR/.cache/paru-git
|
||||
git clone https://aur.archlinux.org/paru.git $HYPRMOONARCH_DIR/.cache/paru-git
|
||||
@ -73,6 +71,8 @@ function inst_sddm {
|
||||
do
|
||||
pkg_inst $key
|
||||
done
|
||||
sddm --example-config > $HYPRMOONARCH_DIR/.cache/sddm.conf
|
||||
sudo mv $HYPRMOONARCH_DIR/.cache/sddm.conf /etc/sddm.conf
|
||||
|
||||
echo "set default user image"
|
||||
sudo cp -f $HYPRMOONARCH_DIR/usr/share/sddm/faces/.face /usr/share/sddm/faces/.face
|
||||
@ -81,6 +81,7 @@ function inst_sddm {
|
||||
cd $HYPRMOONARCH_DIR/.cache
|
||||
# wget --unlink https://github.com/catppuccin/sddm/releases/download/v1.0.0/catppuccin-mocha.zip
|
||||
# sudo unzip catppuccin-mocha.zip -d /usr/share/sddm/themes/
|
||||
rm -rf moonarch-sddm
|
||||
git clone https://gitea.moonarch.de/nevaforget/moonarch-sddm.git
|
||||
sudo cp -Rf moonarch-sddm /usr/share/sddm/themes/
|
||||
sudo rm -rf /usr/share/sddm/themes/moonarch-sddm/.git
|
||||
@ -102,7 +103,7 @@ function inst_pkgs {
|
||||
if [[ $confirm_basics == "Y" ]];
|
||||
then
|
||||
|
||||
declare -a pkg_list=(wayland jq network-manager-applet alarm-clock-applet man-db hardinfo networkmanager-openvpn udisks2 plocate vim alacritty gettext-hostname lsd alsa-utils ponymix btop polkit polkit-gnome timeshift timeshift-autosnap pcmanfm librewolf-bin fzf unzip hyprland hypridle hyprlock hyprcursor hyprkeys hyprpicker swww waypaper xdg-desktop-portal-hyprland wdisplays waybar-cava-git nwg-look cliphist wlogout hyprlock waybar-module-pacman-updates ufw zsh oh-my-zsh noise-suppression-for-voice grim satty-bin slurp dunst sweet-cursor-theme-git catppuccin-gtk-theme-mocha rofi-lbonn-wayland-git)
|
||||
declare -a pkg_list=(wayland stow jq network-manager-applet alarm-clock-applet xarchiver man-db hardinfo networkmanager-openvpn udisks2 plocate vim alacritty gettext-hostname lsd alsa-utils ponymix btop polkit polkit-gnome timeshift timeshift-autosnap flatery-icon-theme-git waterfox fzf unzip hyprland hypridle hyprlock hyprcursor hyprkeys hyprpicker swww waypaper xdg-desktop-portal-hyprland wdisplays waybar-cava-git nwg-look cliphist wlogout hyprlock waybar-module-pacman-updates ufw zsh oh-my-zsh noise-suppression-for-voice grim satty-bin slurp dunst sweet-cursor-theme-git sweet-cursors-hyprcursor-git catppuccin-gtk-theme-mocha rofi-lbonn-wayland-git cmake meson cpio pkg-config ttf-ubuntu-nerd ttf-jetbrains-mono-nerd hyprsysteminfo qt5-styleplugins qt6gtk2 qt5gtk2)
|
||||
|
||||
for key in "${pkg_list[@]}"
|
||||
do
|
||||
@ -111,10 +112,10 @@ function inst_pkgs {
|
||||
|
||||
sudo cp -Rf $HYPRMOONARCH_DIR/usr/local/bin/* /usr/local/bin/
|
||||
|
||||
paru -S informant
|
||||
pkg_inst "informant"
|
||||
sudo informant read --all
|
||||
$(getent group informant) ] || groupadd informant
|
||||
sudo usermod -a -G informant $USER
|
||||
#$(getent group informant) ] || groupadd informant
|
||||
#sudo usermod -a -G informant $USER
|
||||
|
||||
fi
|
||||
|
||||
@ -141,9 +142,29 @@ function inst_bluet {
|
||||
cd $HYPRMOONARCH_DIR
|
||||
}
|
||||
|
||||
function inst_filemanager {
|
||||
echo "-"
|
||||
echo "Installing ${BOLD}File-Manager${NORMAL} (PCManFM)"
|
||||
echo -n "${BOLD}Continue?${NORMAL} (Y/N) "
|
||||
read confirm_filemanager
|
||||
if [[ $confirm_filemanager == "Y" ]];
|
||||
then
|
||||
declare -a pkg_list=(pcmanfm-gtk3 evince ffmpegthumbnailer libgsf)
|
||||
for key in "${pkg_list[@]}"
|
||||
do
|
||||
pkg_inst $key
|
||||
done
|
||||
|
||||
sudo systemctl start bluetooth.service
|
||||
sudo systemctl enable bluetooth.service
|
||||
fi
|
||||
|
||||
cd $HYPRMOONARCH_DIR
|
||||
}
|
||||
|
||||
function inst_davfs {
|
||||
echo "-"
|
||||
echo "Installing ${BOLD}WebDAV / davfs2${NORMAL} support, including pcmanfm support"
|
||||
echo "Installing ${BOLD}WebDAV / davfs2${NORMAL} support, including file-manager support"
|
||||
echo -n "${BOLD}Continue?${NORMAL} (Y/N) "
|
||||
read confirm_davfs
|
||||
if [[ $confirm_davfs == "Y" ]];
|
||||
@ -154,7 +175,9 @@ function inst_davfs {
|
||||
pkg_inst $key
|
||||
done
|
||||
|
||||
sudo usermod -a -G davfs2 $USER
|
||||
if [ $(getent group admin) ]; then
|
||||
sudo usermod -a -G davfs2 $USER
|
||||
fi
|
||||
fi
|
||||
|
||||
cd $HYPRMOONARCH_DIR
|
||||
@ -203,10 +226,13 @@ function rebooter {
|
||||
function setup {
|
||||
# ZSH
|
||||
log "Cloning ZSH Plugins..."
|
||||
sudo rm -rf ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
sudo git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
log "Done... zsh-autosuggestions"
|
||||
sudo rm -rf ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
||||
sudo git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
||||
log "Done... zsh-syntax-highlighting"
|
||||
sudo rm -rf ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||
sudo git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||
log "Done... powerlevel10k"
|
||||
chsh -s /usr/bin/zsh
|
||||
@ -238,7 +264,8 @@ function setup {
|
||||
mkdir -p $WALLPAPER_DIR
|
||||
fi
|
||||
cp -Rf $HYPRMOONARCH_DIR/home/Pictures/Wallpaper/* $WALLPAPER_DIR/
|
||||
swww img $WALLPAPER_DIR/1586853771_daniel-leone-v7datklzzaw-unsplash-modded.jpg
|
||||
|
||||
waypaper --wallpaper $WALLPAPER_DIR/1586853771_daniel-leone-v7datklzzaw-unsplash-modded.jpg
|
||||
|
||||
# dotfiles
|
||||
log "Time stow things up"
|
||||
@ -247,7 +274,7 @@ function setup {
|
||||
cp -R $HYPRMOONARCH_DIR/home/.zshrc $HOME/.hyprm/.zshrc
|
||||
cp -R $HYPRMOONARCH_DIR/home/.p10k.zsh $HOME/.hyprm/.p10k.zsh
|
||||
cd $HOME/.hyprm/
|
||||
stow .
|
||||
stow --adopt .
|
||||
|
||||
cd $HYPRMOONARCH_DIR
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user