Compare commits

..

No commits in common. "fde1f0b76d563f33410f18910044c8fa5928f997" and "626c676b927950651af704b0a5e0220b75fad0b4" have entirely different histories.

15 changed files with 62 additions and 79 deletions

View File

@ -1,5 +1,2 @@
- move volnote / capsnote to usr - move volnote / capsnote to usr
- move rofi from ~/.config/rofi to /usr/share/rofi - move rofi from ~/.config/rofi to /usr/share/rofi
- https://wiki.archlinux.de/title/Cpupower
- load kernel modul based on architecture

View File

@ -81,6 +81,3 @@ export FZF_ALT_C_OPTS="--preview 'eza --tree --color=always {} | head -200'"
source ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
ZSH_AUTOSUGGEST_STRATEGY=(history completion) ZSH_AUTOSUGGEST_STRATEGY=(history completion)
export SUDOEDITOR="vim"
export EDITOR="vim"

View File

@ -1,6 +1,6 @@
[Settings] [Settings]
gtk-theme-name=catppuccin-mocha-lavender-standard+default gtk-theme-name=catppuccin-mocha-lavender-standard+default
gtk-icon-theme-name=Newaita-reborn-dracula-dark gtk-icon-theme-name=Tela-circle-purple-dark
gtk-font-name=Hack Nerd Font 11 gtk-font-name=Hack Nerd Font 11
gtk-cursor-theme-name=Sweet-cursors gtk-cursor-theme-name=Sweet-cursors
gtk-cursor-theme-size=24 gtk-cursor-theme-size=24

View File

@ -4,14 +4,15 @@
# Execute your favorite apps at launch # Execute your favorite apps at launch
#exec-once = hyprctl plugin load /usr/lib/libhycov.so #exec-once = hyprctl plugin load /usr/lib/libhycov.so
#exec-once = hyprpm reload -n exec-once = hyprpm reload -n
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = ~/.config/hypr/xdg-portal-hyprland exec-once = ~/.config/hypr/xdg-portal-hyprland
#exec-once = lxpolkit #exec-once = lxpolkit
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 #exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = /usr/lib/hyprpolkitagent
exec-once = waypaper --restore exec-once = waypaper --restore
#exec-once = hyprpanel #exec-once = hyprpanel
@ -27,6 +28,4 @@ exec-once = hypridle
exec = hyprshade off exec = hyprshade off
# exec-once = sway-audio-idle-inhibit # exec-once = sway-audio-idle-inhibit
exec-once = xdg-mime default pcmanfm.desktop inode/directory #exec-once = xdg-mime default pcmanfm.desktop inode/directory
exec-once = hyprctl setcursor Sweet-cursors 24

View File

@ -19,10 +19,10 @@ decoration {
active_opacity=1.00 active_opacity=1.00
inactive_opacity=1.00 inactive_opacity=1.00
#drop_shadow = true drop_shadow = true
#shadow_range = 10 shadow_range = 10
#shadow_render_power = 3 shadow_render_power = 3
#col.shadow = rgba(18182540) col.shadow = rgba(18182540)
dim_inactive = true dim_inactive = true
dim_strength = 0.2 dim_strength = 0.2

View File

@ -1,4 +1,6 @@
env = GDK_BACKEND,wayland,x11,* env = GDK_BACKEND,wayland,x11,*
env = GDK_DEBUG,portals
env = QT_QPA_PLATFORM,wayland env = QT_QPA_PLATFORM,wayland
env = SDL_VIDEODRIVER,wayland env = SDL_VIDEODRIVER,wayland
env = CLUTTER_BACKEND,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_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt6ct env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_QPA_PLATFORMTHEME,gtk2
#env = XCURSOR_THEME,Sweet Cursors” #env = XCURSOR_THEME,Sweet Cursors”
#env = XCURSOR_SIZE,24 #env = XCURSOR_SIZE,24
@ -15,9 +18,12 @@ env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_TYPE,wayland
env = WINDOW_MANAGER,Hyprland 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 = LANG,de_DE.UTF-8
env = EDITOR,"subl" env = EDITOR,"subl"
env = SUDO_EDITOR,"subl -w" env = SUDO_EDITOR,"nvim"
env = MOZ_ENABLE_WAYLAND,1 env = MOZ_ENABLE_WAYLAND,1

View File

@ -21,7 +21,7 @@ input {
gestures { gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
# workspace_swipe = false workspace_swipe = false
} }
# Example per-device config # Example per-device config

View File

@ -2,7 +2,7 @@
$mainMod = SUPER $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
#bind = $mainMod, RETURN, exec, alacritty #bind = $mainMod, RETURN, exec, kitty
bind = $mainMod, RETURN, exec, $terminal bind = $mainMod, RETURN, exec, $terminal
#bind = $mainMod, TAB, cyclenext #bind = $mainMod, TAB, cyclenext
bind = $mainMod SHIFT, TAB, cyclenext, prev bind = $mainMod SHIFT, TAB, cyclenext, prev

View File

@ -2,10 +2,10 @@ dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # you probably want this preserve_split = true # you probably want this
#no_gaps_when_only = 0 # monocle layout no_gaps_when_only = 0 # monocle layout
} }
master { master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
#new_is_master = true new_is_master = true
} }

View File

@ -5,10 +5,10 @@
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = noshadow, floating:0 windowrulev2 = noshadow, floating:0
windowrule = dimaround,class:^(polkit)$ windowrule = dimaround,^(polkit)$
windowrule = idleinhibit fullscreen,class:^(.*)$ windowrule = idleinhibit fullscreen,^(.*)$
windowrule = idleinhibit focus, class:mpv windowrule = idleinhibit focus, mpv
windowrule = idleinhibit focus, class:^(.*celluloid.*)$ windowrule = idleinhibit focus, class:^(.*celluloid.*)$
# firefox Picture-in-Picture # firefox Picture-in-Picture
@ -39,28 +39,27 @@ windowrule = float,title:^(galculator)$
windowrule = float,title:^(Dateien entpacken)$ windowrule = float,title:^(Dateien entpacken)$
windowrulev2 = float,class:^(nm-connection-editor)$ windowrulev2 = float,class:^(nm-connection-editor)$
windowrulev2 = float,class:^(sddm-conf)$ windowrulev2 = float,class:^(sddm-conf)$
windowrule = float, class:mpv windowrule = float, mpv
windowrule = float, class:Vlc windowrule = float, Vlc
windowrule = float, class:file_progress windowrule = float, file_progress
windowrule = float, class:confirm windowrule = float, confirm
windowrule = float, class:dialog windowrule = float, dialog
windowrule = float, class:download windowrule = float, download
windowrule = float, class:notification windowrule = float, notification
windowrule = float, class:error windowrule = float, error
windowrule = float, class:splash windowrule = float, splash
windowrule = float, class:confirmreset windowrule = float, confirmreset
windowrule = float, title:Open File windowrule = float, title:Open File
windowrule = float, title:branchdialog windowrule = float, title:branchdialog
windowrule = float, class:Lxappearance windowrule = float, Lxappearance
windowrule = float, class:Resources windowrule = float, Resources
windowrule = float, class:Rofi windowrule = float, Rofi
windowrule = float, class:Viewnior windowrule = float, class:Viewnior
windowrule = float, class:feh windowrule = float,feh
windowrule = float, class:pavucontrol-qt windowrule = float, pavucontrol-qt
windowrule = float, class:pavucontrol windowrule = float, pavucontrol
windowrule = float, class:file-roller windowrule = float, file-roller
windowrule = float, class:xarchiver windowrule = float, xarchiver
windowrule = float, class:mpv
windowrulev2 = stayfocused, class:^(pinentry-) # fix pinentry losing focus windowrulev2 = stayfocused, class:^(pinentry-) # fix pinentry losing focus
windowrule = float, title:^(Media viewer)$ windowrule = float, title:^(Media viewer)$
@ -89,13 +88,13 @@ windowrulev2 = pin,class:^(Conky)$
windowrulev2 = move 100 100,class:^(Conky)$ windowrulev2 = move 100 100,class:^(Conky)$
# Audio Mixer # Audio Mixer
windowrule = float,class:pavucontrol windowrule = float,pavucontrol
windowrule = center,class:pavucontrol windowrule = center,pavucontrol
windowrule = float,title:^(NoiseTorch)$ windowrule = float,title:^(NoiseTorch)$
windowrule = float,title:^(Waydroid)$ windowrule = float,title:^(Waydroid)$
# Nemo File Roller # Nemo File Roller
windowrule = float,class:file-roller windowrule = float,file-roller
windowrule = float,title:(Properties)$ windowrule = float,title:(Properties)$
# VPN Connection Dialog # VPN Connection Dialog

View File

@ -1,4 +1,3 @@
# Set programs that you use
$terminal = alacritty $terminal = alacritty

0
home/config/hypr/xdg-portal-hyprland Normal file → Executable file
View File

View File

@ -87,7 +87,7 @@ function inst_sddm {
sudo rm -rf /usr/share/sddm/themes/moonarch-sddm/.git sudo rm -rf /usr/share/sddm/themes/moonarch-sddm/.git
sudo sed -i "s/^Current=.*/Current=moonarch-sddm/g" /etc/sddm.conf sudo sed -i "s/^Current=.*/Current=moonarch-sddm/g" /etc/sddm.conf
#sudo systemctl disable display-manager sudo systemctl disable display-manager
sudo systemctl enable sddm sudo systemctl enable sddm
cd $HYPRMOONARCH_DIR cd $HYPRMOONARCH_DIR
@ -103,7 +103,8 @@ function inst_pkgs {
if [[ $confirm_basics == "Y" ]]; if [[ $confirm_basics == "Y" ]];
then then
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 timeshift timeshift-autosnap newaita-reborn-icons-git waterfox fzf unzip hyprland hypridle hyprlock hyprcursor hyprkeys hyprpicker swww waypaper xdg-desktop-portal-hyprland wdisplays waybar nwg-look cliphist wlogout hyprlock waybar-module-pacman-updates-git ufw zsh oh-my-zsh noise-suppression-for-voice grim satty-bin slurp dunst sweet-cursors-hyprcursor-git catppuccin-gtk-theme-mocha rofi cmake meson cpio pkg-config ttf-ubuntu-nerd ttf-hack-nerd ttf-jetbrains-mono-nerd hyprsysteminfo qt5-styleplugins qt6gtk2 qt5gtk2 hyprpolkitagent hyprshade cpupower fd)
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 timeshift timeshift-autosnap flatery-icon-theme-git waterfox fzf unzip hyprland hypridle hyprlock hyprcursor hyprkeys hyprpicker swww waypaper xdg-desktop-portal-hyprland wdisplays waybar 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 cmake meson cpio pkg-config ttf-ubuntu-nerd ttf-jetbrains-mono-nerd hyprsysteminfo qt5-styleplugins qt6gtk2 qt5gtk2 hyprpolkitagent hyprshade)
for key in "${pkg_list[@]}" for key in "${pkg_list[@]}"
do do
@ -155,8 +156,8 @@ function inst_filemanager {
pkg_inst $key pkg_inst $key
done done
$(getent group storage) ] || groupadd storage sudo systemctl start bluetooth.service
sudo usermod -a -G storage $USER sudo systemctl enable bluetooth.service
fi fi
cd $HYPRMOONARCH_DIR cd $HYPRMOONARCH_DIR
@ -241,32 +242,20 @@ function setup {
# GUI # GUI
log "Set up GUI Themes" log "Set up GUI Themes"
gsettings set org.gnome.desktop.interface gtk-theme "Catppuccin-Mocha-Standard-Lavender-Dark" gsettings set org.gnome.desktop.interface gtk-theme "Catppuccin-Mocha-Standard-Lavender-Dark"
log "Setting cursor theme"
hyprctl setcursor Sweet-cursors-hyprcursor 32
log "Done... Window decorations" log "Done... Window decorations"
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
log "Done... Set color-scheme to prefer-dark" log "Done... Set color-scheme to prefer-dark"
rm -rf $HYPRMOONARCH_DIR/.cache/Sweet-cursors
git clone https://gitea.moonarch.de/nevaforget/Sweet-cursors $HYPRMOONARCH_DIR/.cache/Sweet-cursors
cp -R $HYPRMOONARCH_DIR/.cache/Sweet-cursors /usr/share/icons/Sweet-cursors
gsettings set org.gnome.desktop.interface cursor-theme Sweet-cursors gsettings set org.gnome.desktop.interface cursor-theme Sweet-cursors
log "Done... Set a sweet cursor" log "Done... Set a sweet cursor"
# Extra Font # Extra Font
log "Installing extra fonts" log "Installing extra fonts"
sudo mkdir -p /usr/local/share/fonts/ sudo mkdir -p /usr/local/share/fonts/
sudo install -C $HYPRMOONARCH_DIR/usr/local/share/fonts/MonarchOS.ttf /usr/local/share/fonts/MonarchOS.ttf sudo install -C $HYPRMOONARCH_DIR/usr/local/share/fonts/MonarchOS.ttf /usr/local/share/fonts/MonarchOS.ttf
sudo install -C $HYPRMOONARCH_DIR/usr/local/share/fonts/Icomoon-Feather.ttf /usr/local/share/fonts/Icomoon-Feather.ttf sudo install -C $HYPRMOONARCH_DIR/usr/local/share/fonts/Icomoon-Feather.ttf /usr/local/share/fonts/Icomoon-Feather.ttf
sudo install -C $HYPRMOONARCH_DIR/etc/fonts/local.conf /etc/fonts/local.conf sudo install -C $HYPRMOONARCH_DIR/etc/fonts/local.conf /etc/fonts/local.conf
fc-cache -f fc-cache -f
# Shared things
cp -R $HYPRMOONARCH_DIR/usr/share/* /usr/share/
cp -R $HYPRMOONARCH_DIR/usr/local/* /usr/local/
# Wallpaper # Wallpaper
log "Installing wallpapers" log "Installing wallpapers"
WALLPAPER_DIR=$HOME/Pictures/Wallpaper WALLPAPER_DIR=$HOME/Pictures/Wallpaper
@ -280,7 +269,7 @@ function setup {
swww img $WALLPAPER_DIR/1586853771_daniel-leone-v7datklzzaw-unsplash-modded.jpg swww img $WALLPAPER_DIR/1586853771_daniel-leone-v7datklzzaw-unsplash-modded.jpg
# dotfiles # dotfiles
log "Time to stow things up... Installing dotfiles" log "Time to stow things up"
rm -rf $HOME/.config/hypr rm -rf $HOME/.config/hypr
cp -R $HYPRMOONARCH_DIR/home/config/ $HOME/.hyprm/.config/ cp -R $HYPRMOONARCH_DIR/home/config/ $HOME/.hyprm/.config/
cp -R $HYPRMOONARCH_DIR/home/.bashrc $HOME/.hyprm/.bashrc cp -R $HYPRMOONARCH_DIR/home/.bashrc $HOME/.hyprm/.bashrc
@ -320,8 +309,6 @@ function init {
inst_clamav inst_clamav
inst_davfs inst_davfs
sudo gtk-update-icon-cache -f -t /usr/share/icons
rebooter rebooter
} }

View File

@ -20,20 +20,20 @@ function send_notification {
# https://en.wikipedia.org/wiki/Box-drawing_character # https://en.wikipedia.org/wiki/Box-drawing_character
#bar=$(seq -s "─" $(($volume/5)) | sed 's/[0-9]//g') #bar=$(seq -s "─" $(($volume/5)) | sed 's/[0-9]//g')
if [ "$volume" = "0" ]; then if [ "$volume" = "0" ]; then
icon_name="/usr/share/icons/Newaita-reborn/panel/16/audio-volume-off.svg" icon_name="/usr/share/icons/zafiro-dark/panel/16/audio-volume-off.svg"
dunstify "$volume"" " -i "$icon_name" -t 2000 -h int:value:"$volume" -h string:synchronous:"─" --replace=555 dunstify "$volume"" " -i "$icon_name" -t 2000 -h int:value:"$volume" -h string:synchronous:"─" --replace=555
else else
if [ "$volume" -lt "10" ]; then if [ "$volume" -lt "10" ]; then
icon_name="/usr/share/icons/Newaita-reborn/panel/16/audio-volume-low.svg" icon_name="/usr/share/icons/zafiro-dark/panel/16/audio-volume-low.svg"
dunstify "$volume"" " -i "$icon_name" --replace=555 -t 2000 dunstify "$volume"" " -i "$icon_name" --replace=555 -t 2000
else else
if [ "$volume" -lt "30" ]; then if [ "$volume" -lt "30" ]; then
icon_name="/usr/share/icons/Newaita-reborn/panel/16/audio-volume-low.svg" icon_name="/usr/share/icons/zafiro-dark/panel/16/audio-volume-low.svg"
else else
if [ "$volume" -lt "70" ]; then if [ "$volume" -lt "70" ]; then
icon_name="/usr/share/icons/Newaita-reborn/panel/16/audio-volume-medium.svg" icon_name="/usr/share/icons/zafiro-dark/panel/16/audio-volume-medium.svg"
else else
icon_name="/usr/share/icons/Newaita-reborn/panel/16/audio-volume-high.svg" icon_name="/usr/share/icons/zafiro-dark/panel/16/audio-volume-high.svg"
fi fi
fi fi
fi fi
@ -41,6 +41,7 @@ fi
bar=$(seq -s "─" $(($volume/5)) | sed 's/[0-9]//g') bar=$(seq -s "─" $(($volume/5)) | sed 's/[0-9]//g')
# Send the notification # Send the notification
dunstify "$volume"" ""$bar" -i "$icon_name" -t 2000 -h int:value:"$volume" -h string:synchronous:"$bar" --replace=555 dunstify "$volume"" ""$bar" -i "$icon_name" -t 2000 -h int:value:"$volume" -h string:synchronous:"$bar" --replace=555
} }
case $1 in case $1 in
@ -57,7 +58,7 @@ case $1 in
send_notification send_notification
;; ;;
toggle) toggle)
dunstify --replace 554 -i "/usr/share/icons/Newaita-reborn/actions/16-Dark/media-album-track.svg" "Player Control" "Media $(playerctl status)" dunstify --replace 554 -i "/usr/share/icons/zafiro-dark/actions/16-Dark/media-album-track.svg" "Player Control" "Media $(playerctl status)"
playerctl play-pause playerctl play-pause
;; ;;
mute) mute)
@ -65,7 +66,7 @@ case $1 in
amixer -D pulse set Master 1+ toggle > /dev/null amixer -D pulse set Master 1+ toggle > /dev/null
if is_mute ; then if is_mute ; then
DIR=`dirname "$0"` DIR=`dirname "$0"`
dunstify -i "/usr/share/icons/Newaita-reborn/panel/16/audio-volume-off.svg" --replace=555 -u normal "Mute" -t 2000 dunstify -i "/usr/share/icons/zafiro-dark/panel/16/audio-volume-off.svg" --replace=555 -u normal "Mute" -t 2000
else else
send_notification send_notification
fi fi

View File

@ -1,2 +0,0 @@
[Icon Theme]
Inherits=Sweet-cursors