Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions share/dotfiles/.config/hypr/conf/windowrules/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ windowrule = float,^(pavucontrol)$
windowrule = float,^(blueman-manager)$
windowrule = float,^(nm-connection-editor)$
windowrule = float,^(qalculate-gtk)$
windowrule = float,^(nwg-look)$

# Browser Picture in Picture
windowrulev2 = float, title:^(Picture-in-Picture)$
Expand Down
8 changes: 4 additions & 4 deletions share/dotfiles/.config/hypr/scripts/gtk.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
# _____________ __
# / ___/_ __/ //_/
# / (_ / / / / ,<
# \___/ /_/ /_/|_|
#
# / (_ / / / / ,<
# \___/ /_/ /_/|_|
#
# Source: https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland

# Check that settings file exists
Expand Down Expand Up @@ -50,4 +50,4 @@ fi
# Update gsettings for open any terminal
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal terminal "$terminal"
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal use-generic-terminal-name "true"
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal keybindings "<Ctrl><Alt>t"
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal keybindings "<Ctrl><Alt>t"
6 changes: 3 additions & 3 deletions share/dotfiles/.config/hypr/scripts/wallpaper.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
# _ __ ____
# _ __ ____
# | | /| / /__ _/ / /__ ___ ____ ___ ____
# | |/ |/ / _ `/ / / _ \/ _ `/ _ \/ -_) __/
# |__/|__/\_,_/_/_/ .__/\_,_/ .__/\__/_/
# /_/ /_/
# |__/|__/\_,_/_/_/ .__/\_,_/ .__/\__/_/
# /_/ /_/
# -----------------------------------------------------
# Check to use wallpaper cache
# -----------------------------------------------------
Expand Down
33 changes: 16 additions & 17 deletions share/dotfiles/.config/ml4w/scripts/updates.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash
# _ _ _ _
# | | | |_ __ __| | __ _| |_ ___ ___
# | | | | '_ \ / _` |/ _` | __/ _ \/ __|
# | |_| | |_) | (_| | (_| | || __/\__ \
# \___/| .__/ \__,_|\__,_|\__\___||___/
# |_|
#
# _ _ _ _
# | | | |_ __ __| | __ _| |_ ___ ___
# | | | | '_ \ / _` |/ _` | __/ _ \/ __|
# | |_| | |_) | (_| | (_| | || __/\__ \
# \___/| .__/ \__,_|\__,_|\__\___||___/
# |_|
#

script_name=$(basename "$0")

Expand All @@ -16,10 +16,9 @@ if [ $instance_count -gt 1 ]; then
sleep $instance_count
fi


# -----------------------------------------------------
# -----------------------------------------------------
# Define threshholds for color indicators
# -----------------------------------------------------
# -----------------------------------------------------

threshhold_green=0
threshhold_yellow=25
Expand All @@ -31,9 +30,9 @@ case $install_platform in
arch)
aur_helper="$(cat ~/.config/ml4w/settings/aur.sh)"

# -----------------------------------------------------
# -----------------------------------------------------
# Calculate available updates
# -----------------------------------------------------
# -----------------------------------------------------

# flatpak remote-ls --updates

Expand All @@ -52,18 +51,18 @@ case $install_platform in
check_lock_files

updates=$(checkupdates-with-aur | wc -l)
;;
;;
fedora)
updates=$(dnf check-update -q | grep -c ^[a-z0-9])
;;
;;
*)
updates=0
;;
;;
esac

# -----------------------------------------------------
# -----------------------------------------------------
# Output in JSON format for Waybar Module custom-updates
# -----------------------------------------------------
# -----------------------------------------------------

css_class="green"

Expand Down
2 changes: 1 addition & 1 deletion share/dotfiles/.config/nwg-dock-hyprland/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ ! -f $HOME/.config/ml4w/settings/dock-disabled ]; then
else
style="style-dark.css"
fi
nwg-dock-hyprland -i 32 -w 5 -mb 10 -ml 10 -mr 10 -x -s $style -c "rofi -show drun"
nwg-dock-hyprland -i 32 -w 5 -mb 10 -ml 10 -mr 10 -x -s $style -c "rofi -show drun"
else
echo ":: Dock disabled"
fi
32 changes: 23 additions & 9 deletions share/dotfiles/.config/zshrc/20-customization
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,35 @@ plugins=(
source $ZSH/oh-my-zsh.sh

# -----------------------------------------------------
# Set-up FZF key bindings (CTRL R for fuzzy history finder)
# Prompt
# -----------------------------------------------------
source <(fzf --zsh)
# eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/zen.toml)"
eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/EDM115-newline.omp.json)"

# Shipped Theme
# eval "$(oh-my-posh init zsh --config /usr/share/oh-my-posh/themes/agnoster.omp.json)"

# Keybindings
bindkey -e
bindkey '^p' history-search-backward
bindkey '^n' history-search-forward
bindkey '^[w' kill-region

# zsh history
# History
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt appendhistory
setopt sharehistory
setopt hist_ignore_space
setopt hist_ignore_all_dups
setopt hist_save_no_dups
setopt hist_ignore_dups
setopt hist_find_no_dups

zle_highlight+=(paste:none)

# -----------------------------------------------------
# Prompt
# Set-up FZF key bindings (CTRL R for fuzzy history finder)
# -----------------------------------------------------
# eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/zen.toml)"
eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/EDM115-newline.omp.json)"

# Shipped Theme
# eval "$(oh-my-posh init zsh --config /usr/share/oh-my-posh/themes/agnoster.omp.json)"
eval "$(fzf --zsh)"