Compare commits
2 Commits
626c676b92
...
fde1f0b76d
| Author | SHA1 | Date | |
|---|---|---|---|
| fde1f0b76d | |||
| 28155823a0 |
5
TODO.md
5
TODO.md
@ -1,2 +1,5 @@
|
||||
- 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
|
||||
@ -81,3 +81,6 @@ 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-autosuggestions/zsh-autosuggestions.zsh
|
||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||
|
||||
export SUDOEDITOR="vim"
|
||||
export EDITOR="vim"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[Settings]
|
||||
gtk-theme-name=catppuccin-mocha-lavender-standard+default
|
||||
gtk-icon-theme-name=Tela-circle-purple-dark
|
||||
gtk-icon-theme-name=Newaita-reborn-dracula-dark
|
||||
gtk-font-name=Hack Nerd Font 11
|
||||
gtk-cursor-theme-name=Sweet-cursors
|
||||
gtk-cursor-theme-size=24
|
||||
|
||||
@ -4,15 +4,14 @@
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
#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 = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = ~/.config/hypr/xdg-portal-hyprland
|
||||
|
||||
|
||||
#exec-once = lxpolkit
|
||||
#exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec-once = /usr/lib/hyprpolkitagent
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
exec-once = waypaper --restore
|
||||
#exec-once = hyprpanel
|
||||
@ -28,4 +27,6 @@ exec-once = hypridle
|
||||
exec = hyprshade off
|
||||
|
||||
# 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
|
||||
@ -19,10 +19,10 @@ decoration {
|
||||
active_opacity=1.00
|
||||
inactive_opacity=1.00
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 10
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(18182540)
|
||||
#drop_shadow = true
|
||||
#shadow_range = 10
|
||||
#shadow_render_power = 3
|
||||
#col.shadow = rgba(18182540)
|
||||
|
||||
dim_inactive = true
|
||||
dim_strength = 0.2
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
env = GDK_BACKEND,wayland,x11,*
|
||||
env = GDK_DEBUG,portals
|
||||
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = SDL_VIDEODRIVER,wayland
|
||||
env = CLUTTER_BACKEND,wayland
|
||||
@ -9,7 +7,6 @@ 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
|
||||
@ -18,12 +15,9 @@ env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = WINDOW_MANAGER,Hyprland
|
||||
|
||||
env = GTK_THEME,catppuccin-mocha-lavender-standard+default
|
||||
env = GTK_USE_PORTAL,1
|
||||
#env = GTK_THEME,Catppuccin-Mocha-Standard-Lavender-Dark
|
||||
|
||||
env = LANG,de_DE.UTF-8
|
||||
env = EDITOR,"subl"
|
||||
env = SUDO_EDITOR,"nvim"
|
||||
|
||||
env = SUDO_EDITOR,"subl -w"
|
||||
env = MOZ_ENABLE_WAYLAND,1
|
||||
@ -21,7 +21,7 @@ input {
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = false
|
||||
# workspace_swipe = false
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
#bind = $mainMod, RETURN, exec, kitty
|
||||
#bind = $mainMod, RETURN, exec, alacritty
|
||||
bind = $mainMod, RETURN, exec, $terminal
|
||||
#bind = $mainMod, TAB, cyclenext
|
||||
bind = $mainMod SHIFT, TAB, cyclenext, prev
|
||||
|
||||
@ -2,10 +2,10 @@ dwindle {
|
||||
# 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
|
||||
preserve_split = true # you probably want this
|
||||
no_gaps_when_only = 0 # monocle layout
|
||||
#no_gaps_when_only = 0 # monocle layout
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
#new_is_master = true
|
||||
}
|
||||
@ -5,10 +5,10 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
windowrulev2 = noshadow, floating:0
|
||||
windowrule = dimaround,^(polkit)$
|
||||
windowrule = dimaround,class:^(polkit)$
|
||||
|
||||
windowrule = idleinhibit fullscreen,^(.*)$
|
||||
windowrule = idleinhibit focus, mpv
|
||||
windowrule = idleinhibit fullscreen,class:^(.*)$
|
||||
windowrule = idleinhibit focus, class:mpv
|
||||
windowrule = idleinhibit focus, class:^(.*celluloid.*)$
|
||||
|
||||
# firefox Picture-in-Picture
|
||||
@ -39,27 +39,28 @@ windowrule = float,title:^(galculator)$
|
||||
windowrule = float,title:^(Dateien entpacken)$
|
||||
windowrulev2 = float,class:^(nm-connection-editor)$
|
||||
windowrulev2 = float,class:^(sddm-conf)$
|
||||
windowrule = float, mpv
|
||||
windowrule = float, Vlc
|
||||
windowrule = float, file_progress
|
||||
windowrule = float, confirm
|
||||
windowrule = float, dialog
|
||||
windowrule = float, download
|
||||
windowrule = float, notification
|
||||
windowrule = float, error
|
||||
windowrule = float, splash
|
||||
windowrule = float, confirmreset
|
||||
windowrule = float, class:mpv
|
||||
windowrule = float, class:Vlc
|
||||
windowrule = float, class:file_progress
|
||||
windowrule = float, class:confirm
|
||||
windowrule = float, class:dialog
|
||||
windowrule = float, class:download
|
||||
windowrule = float, class:notification
|
||||
windowrule = float, class:error
|
||||
windowrule = float, class:splash
|
||||
windowrule = float, class:confirmreset
|
||||
windowrule = float, title:Open File
|
||||
windowrule = float, title:branchdialog
|
||||
windowrule = float, Lxappearance
|
||||
windowrule = float, Resources
|
||||
windowrule = float, Rofi
|
||||
windowrule = float, class:Lxappearance
|
||||
windowrule = float, class:Resources
|
||||
windowrule = float, class:Rofi
|
||||
windowrule = float, class:Viewnior
|
||||
windowrule = float,feh
|
||||
windowrule = float, pavucontrol-qt
|
||||
windowrule = float, pavucontrol
|
||||
windowrule = float, file-roller
|
||||
windowrule = float, xarchiver
|
||||
windowrule = float, class:feh
|
||||
windowrule = float, class:pavucontrol-qt
|
||||
windowrule = float, class:pavucontrol
|
||||
windowrule = float, class:file-roller
|
||||
windowrule = float, class:xarchiver
|
||||
windowrule = float, class:mpv
|
||||
windowrulev2 = stayfocused, class:^(pinentry-) # fix pinentry losing focus
|
||||
|
||||
windowrule = float, title:^(Media viewer)$
|
||||
@ -88,13 +89,13 @@ windowrulev2 = pin,class:^(Conky)$
|
||||
windowrulev2 = move 100 100,class:^(Conky)$
|
||||
|
||||
# Audio Mixer
|
||||
windowrule = float,pavucontrol
|
||||
windowrule = center,pavucontrol
|
||||
windowrule = float,class:pavucontrol
|
||||
windowrule = center,class:pavucontrol
|
||||
windowrule = float,title:^(NoiseTorch)$
|
||||
windowrule = float,title:^(Waydroid)$
|
||||
|
||||
# Nemo File Roller
|
||||
windowrule = float,file-roller
|
||||
windowrule = float,class:file-roller
|
||||
windowrule = float,title:(Properties)$
|
||||
|
||||
# VPN Connection Dialog
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Set programs that you use
|
||||
$terminal = alacritty
|
||||
|
||||
|
||||
|
||||
0
home/config/hypr/xdg-portal-hyprland
Executable file → Normal file
0
home/config/hypr/xdg-portal-hyprland
Executable file → Normal file
29
stower.sh
29
stower.sh
@ -87,7 +87,7 @@ function inst_sddm {
|
||||
sudo rm -rf /usr/share/sddm/themes/moonarch-sddm/.git
|
||||
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
|
||||
|
||||
cd $HYPRMOONARCH_DIR
|
||||
@ -103,8 +103,7 @@ function inst_pkgs {
|
||||
if [[ $confirm_basics == "Y" ]];
|
||||
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 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)
|
||||
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)
|
||||
|
||||
for key in "${pkg_list[@]}"
|
||||
do
|
||||
@ -156,8 +155,8 @@ function inst_filemanager {
|
||||
pkg_inst $key
|
||||
done
|
||||
|
||||
sudo systemctl start bluetooth.service
|
||||
sudo systemctl enable bluetooth.service
|
||||
$(getent group storage) ] || groupadd storage
|
||||
sudo usermod -a -G storage $USER
|
||||
fi
|
||||
|
||||
cd $HYPRMOONARCH_DIR
|
||||
@ -242,20 +241,32 @@ function setup {
|
||||
# GUI
|
||||
log "Set up GUI Themes"
|
||||
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"
|
||||
|
||||
gsettings set org.gnome.desktop.interface color-scheme '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
|
||||
log "Done... Set a sweet cursor"
|
||||
|
||||
# Extra Font
|
||||
log "Installing extra fonts"
|
||||
# Extra Font
|
||||
log "Installing extra 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/Icomoon-Feather.ttf /usr/local/share/fonts/Icomoon-Feather.ttf
|
||||
sudo install -C $HYPRMOONARCH_DIR/etc/fonts/local.conf /etc/fonts/local.conf
|
||||
fc-cache -f
|
||||
|
||||
# Shared things
|
||||
cp -R $HYPRMOONARCH_DIR/usr/share/* /usr/share/
|
||||
cp -R $HYPRMOONARCH_DIR/usr/local/* /usr/local/
|
||||
|
||||
# Wallpaper
|
||||
log "Installing wallpapers"
|
||||
WALLPAPER_DIR=$HOME/Pictures/Wallpaper
|
||||
@ -269,7 +280,7 @@ function setup {
|
||||
swww img $WALLPAPER_DIR/1586853771_daniel-leone-v7datklzzaw-unsplash-modded.jpg
|
||||
|
||||
# dotfiles
|
||||
log "Time to stow things up"
|
||||
log "Time to stow things up... Installing dotfiles"
|
||||
rm -rf $HOME/.config/hypr
|
||||
cp -R $HYPRMOONARCH_DIR/home/config/ $HOME/.hyprm/.config/
|
||||
cp -R $HYPRMOONARCH_DIR/home/.bashrc $HOME/.hyprm/.bashrc
|
||||
@ -309,6 +320,8 @@ function init {
|
||||
inst_clamav
|
||||
inst_davfs
|
||||
|
||||
sudo gtk-update-icon-cache -f -t /usr/share/icons
|
||||
|
||||
rebooter
|
||||
}
|
||||
|
||||
|
||||
@ -20,20 +20,20 @@ function send_notification {
|
||||
# https://en.wikipedia.org/wiki/Box-drawing_character
|
||||
#bar=$(seq -s "─" $(($volume/5)) | sed 's/[0-9]//g')
|
||||
if [ "$volume" = "0" ]; then
|
||||
icon_name="/usr/share/icons/zafiro-dark/panel/16/audio-volume-off.svg"
|
||||
icon_name="/usr/share/icons/Newaita-reborn/panel/16/audio-volume-off.svg"
|
||||
dunstify "$volume"" " -i "$icon_name" -t 2000 -h int:value:"$volume" -h string:synchronous:"─" --replace=555
|
||||
else
|
||||
if [ "$volume" -lt "10" ]; then
|
||||
icon_name="/usr/share/icons/zafiro-dark/panel/16/audio-volume-low.svg"
|
||||
icon_name="/usr/share/icons/Newaita-reborn/panel/16/audio-volume-low.svg"
|
||||
dunstify "$volume"" " -i "$icon_name" --replace=555 -t 2000
|
||||
else
|
||||
if [ "$volume" -lt "30" ]; then
|
||||
icon_name="/usr/share/icons/zafiro-dark/panel/16/audio-volume-low.svg"
|
||||
icon_name="/usr/share/icons/Newaita-reborn/panel/16/audio-volume-low.svg"
|
||||
else
|
||||
if [ "$volume" -lt "70" ]; then
|
||||
icon_name="/usr/share/icons/zafiro-dark/panel/16/audio-volume-medium.svg"
|
||||
icon_name="/usr/share/icons/Newaita-reborn/panel/16/audio-volume-medium.svg"
|
||||
else
|
||||
icon_name="/usr/share/icons/zafiro-dark/panel/16/audio-volume-high.svg"
|
||||
icon_name="/usr/share/icons/Newaita-reborn/panel/16/audio-volume-high.svg"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@ -41,7 +41,6 @@ fi
|
||||
bar=$(seq -s "─" $(($volume/5)) | sed 's/[0-9]//g')
|
||||
# Send the notification
|
||||
dunstify "$volume"" ""$bar" -i "$icon_name" -t 2000 -h int:value:"$volume" -h string:synchronous:"$bar" --replace=555
|
||||
|
||||
}
|
||||
|
||||
case $1 in
|
||||
@ -58,7 +57,7 @@ case $1 in
|
||||
send_notification
|
||||
;;
|
||||
toggle)
|
||||
dunstify --replace 554 -i "/usr/share/icons/zafiro-dark/actions/16-Dark/media-album-track.svg" "Player Control" "Media $(playerctl status)"
|
||||
dunstify --replace 554 -i "/usr/share/icons/Newaita-reborn/actions/16-Dark/media-album-track.svg" "Player Control" "Media $(playerctl status)"
|
||||
playerctl play-pause
|
||||
;;
|
||||
mute)
|
||||
@ -66,7 +65,7 @@ case $1 in
|
||||
amixer -D pulse set Master 1+ toggle > /dev/null
|
||||
if is_mute ; then
|
||||
DIR=`dirname "$0"`
|
||||
dunstify -i "/usr/share/icons/zafiro-dark/panel/16/audio-volume-off.svg" --replace=555 -u normal "Mute" -t 2000
|
||||
dunstify -i "/usr/share/icons/Newaita-reborn/panel/16/audio-volume-off.svg" --replace=555 -u normal "Mute" -t 2000
|
||||
else
|
||||
send_notification
|
||||
fi
|
||||
|
||||
2
usr/share/icons/default/index.theme
Normal file
2
usr/share/icons/default/index.theme
Normal file
@ -0,0 +1,2 @@
|
||||
[Icon Theme]
|
||||
Inherits=Sweet-cursors
|
||||
Loading…
x
Reference in New Issue
Block a user