Compare commits
25 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7692ad3c41 | |||
| d3277bd7fc | |||
| c2d2d45546 | |||
| b9025fbfb1 | |||
| 7a4d9f7b21 | |||
| 249e71d187 | |||
| 380b43ea30 | |||
| ee983e39db | |||
| 18bed6fbdf | |||
| 77cd4cf980 | |||
| f095151882 | |||
| bc227bed49 | |||
| 475fbc55cc | |||
| 1c96f24b09 | |||
| 71caefa11a | |||
| 4b9812dc7f | |||
| 20ce47fa20 | |||
| 1763d37ee4 | |||
| b113e1f81d | |||
| 289308a542 | |||
| 8c2be8fed6 | |||
| beb717a961 | |||
| 2e985927af | |||
| 8265c9fdea | |||
| c1873060de |
2
.bashrc
2
.bashrc
@@ -109,7 +109,7 @@ alias setkb='setxkbmap de;echo "Keyboard set back to de."'
|
||||
alias res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120'
|
||||
alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120'
|
||||
|
||||
export PATH="/usr/lib/ccache/bin/:$PATH"
|
||||
export PATH="$HOME/.local/bin/:/usr/lib/ccache/bin/:$PATH"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# DEVELOPMENT
|
||||
|
||||
24
.install/fcitx5.sh
Normal file
24
.install/fcitx5.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------
|
||||
# Select fcitx5 or not
|
||||
# ------------------------------------------------------
|
||||
echo -e "${GREEN}"
|
||||
figlet "fcitx5"
|
||||
echo -e "${NONE}"
|
||||
|
||||
if gum confirm "Do you want to install fcitx5 and chinese input method?" ;then
|
||||
packagesPacman=(
|
||||
"fcitx5"
|
||||
"fcitx5-chinese-addons"
|
||||
"fcitx5-configtool"
|
||||
"fcitx5-gtk"
|
||||
"fcitx5-qt"
|
||||
);
|
||||
packagesYay=(
|
||||
"fcitx5-skin-seasons"
|
||||
);
|
||||
source .install/install-packages.sh
|
||||
echo -e "\n# -----------------------------------------------------" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
|
||||
echo "# fcitx5 support" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
|
||||
echo "# -----------------------------------------------------" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
|
||||
echo "source = ~/dotfiles/hypr/conf/fcitx5.conf" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
|
||||
fi
|
||||
@@ -1,6 +0,0 @@
|
||||
# ------------------------------------------------------
|
||||
# install fish
|
||||
# ------------------------------------------------------
|
||||
packagesPacman=("fish");
|
||||
packagesYay=();
|
||||
source .install/install-packages.sh
|
||||
@@ -14,14 +14,6 @@ _showRestoreOptions() {
|
||||
restorelist+="~/dotfiles/.bashrc "
|
||||
selectedlist+="~/dotfiles/.bashrc,"
|
||||
fi
|
||||
if [ -f ~/dotfiles/.zshrc ]; then
|
||||
restorelist+="~/dotfiles/.zshrc "
|
||||
selectedlist+="~/dotfiles/.zshrc,"
|
||||
fi
|
||||
if [ -f ~/dotfiles/.p10k.zsh ]; then
|
||||
restorelist+="~/dotfiles/.p10k.zsh "
|
||||
selectedlist+="~/dotfiles/.p10k.zsh,"
|
||||
fi
|
||||
if [ -d ~/dotfiles/.settings ]; then
|
||||
restorelist+="~/dotfiles/.settings "
|
||||
selectedlist+="~/dotfiles/.settings,"
|
||||
@@ -32,7 +24,7 @@ _showRestoreOptions() {
|
||||
then
|
||||
restorelist+="~/dotfiles/hypr/hypridle.conf "
|
||||
selectedlist+="~/dotfiles/hypr/hypridle.conf,"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [ -f ~/dotfiles/hypr/conf/custom.conf ]; then
|
||||
restorelist+="~/dotfiles/hypr/conf/custom.conf "
|
||||
@@ -83,13 +75,13 @@ _showRestoreOptions() {
|
||||
fi
|
||||
restoreselect=$(gum choose --no-limit --height 20 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " --selected="$selectedlist" $restorelist)
|
||||
if [ ! -z "$restoreselect" ] ;then
|
||||
echo "Selected to restore:"
|
||||
echo "Selected to restore:"
|
||||
echo "$restoreselect"
|
||||
echo ""
|
||||
confirmrestore=$(gum choose "Start restore" "Change restore" "Skip restore")
|
||||
if [ "$confirmrestore" == "Start restore" ] ;then
|
||||
_startRestore
|
||||
elif [ "$confirmrestore" == "Change restore" ]; then
|
||||
elif [ "$confirmrestore" == "Change restore" ]; then
|
||||
_showRestoreOptions
|
||||
else
|
||||
echo ":: Restore skipped."
|
||||
@@ -102,7 +94,7 @@ _showRestoreOptions() {
|
||||
echo ":: Installation canceled."
|
||||
exit
|
||||
fi
|
||||
if [ "$confirmrestore" == "Change restore" ]; then
|
||||
if [ "$confirmrestore" == "Change restore" ]; then
|
||||
echo ""
|
||||
_showRestoreOptions
|
||||
else
|
||||
@@ -143,11 +135,11 @@ _startRestore() {
|
||||
cp ~/dotfiles/hypr/conf/keyboard.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
echo ":: Hyprland keyboard.conf restored!"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/monitor.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||
if [ -f ~/dotfiles/hypr/conf/monitor.conf ]; then
|
||||
cp ~/dotfiles/hypr/conf/monitor.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
echo ":: Hyprland monitor.conf restored!"
|
||||
echo ":: Hyprland monitor.conf restored!"
|
||||
fi
|
||||
fi
|
||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/keybinding.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||
@@ -161,19 +153,19 @@ _startRestore() {
|
||||
cp ~/dotfiles/hypr/conf/environment.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
echo ":: Hyprland environment.conf restored!"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/layout.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||
if [ -f ~/dotfiles/hypr/conf/layout.conf ]; then
|
||||
cp ~/dotfiles/hypr/conf/layout.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
echo ":: Hyprland layout.conf restored!"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/windowrule.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||
if [ -f ~/dotfiles/hypr/conf/windowrule.conf ]; then
|
||||
cp ~/dotfiles/hypr/conf/windowrule.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
echo ":: Hyprland windowrule.conf restored!"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/animation.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||
if [ -f ~/dotfiles/hypr/conf/animation.conf ]; then
|
||||
cp ~/dotfiles/hypr/conf/animation.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
# ------------------------------------------------------
|
||||
# install zsh and zinit
|
||||
# ------------------------------------------------------
|
||||
packagesPacman=("zsh");
|
||||
|
||||
echo "Please select the zsh plugin manager:"
|
||||
zsh_manager=$(gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "oh my zsh" "zinit")
|
||||
if [[ "${zsh_manager}" == *"oh my zsh"* ]]; then
|
||||
source .install/install-packages.sh
|
||||
if [ ! -d ~/.oh-my-zsh ]; then
|
||||
RUNZSH=no CHSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
fi
|
||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
|
||||
_installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_ohmyzsh ~/.zshrc
|
||||
else
|
||||
packagesYay=("zinit");
|
||||
source .install/install-packages.sh
|
||||
_installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_zinit ~/.zshrc
|
||||
fi
|
||||
_installSymLink p10k ~/.p10k.zsh ~/dotfiles/.p10k.zsh ~/
|
||||
@@ -1,25 +0,0 @@
|
||||
# ------------------------------------------------------
|
||||
# Select additional shell
|
||||
# ------------------------------------------------------
|
||||
echo -e "${GREEN}"
|
||||
figlet "Zsh Fish"
|
||||
echo -e "${NONE}"
|
||||
echo "Please select if you want to install zsh or fish."
|
||||
echo
|
||||
zshfish=$(gum choose --no-limit --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "zsh" "fish")
|
||||
|
||||
if [ -z "${zshfish}" ] ;then
|
||||
echo ":: No shell selected. Keep using bash."
|
||||
else
|
||||
echo "Please select your default shell."
|
||||
echo
|
||||
shell=$(echo -e "bash\n$zshfish" | gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) ")
|
||||
if [[ $zshfish == *"zsh"* ]]; then
|
||||
echo ":: zsh selected"
|
||||
source .install/zsh.sh
|
||||
fi
|
||||
if [[ $zshfish == *"fish"* ]]; then
|
||||
echo ":: fish selected"
|
||||
source .install/fish.sh
|
||||
fi
|
||||
fi
|
||||
@@ -1 +1,4 @@
|
||||
* { border-width: 3px; }
|
||||
* {
|
||||
border-width: 2px;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Oh my zsh settings
|
||||
# -----------------------------------------------------
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
# ZSH_THEME="robbyrussell"
|
||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion.
|
||||
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
zstyle ':omz:update' mode auto
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
# You can also set it to another string to have that shown instead of the default red dots.
|
||||
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
|
||||
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
|
||||
COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Plugins
|
||||
# -----------------------------------------------------
|
||||
plugins=(git colored-man-pages eza z sudo zsh-autosuggestions fast-syntax-highlighting)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Variables
|
||||
# -----------------------------------------------------
|
||||
export PATH=$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
export EDITOR='nvim'
|
||||
|
||||
export MAKEFLAGS='-j$(nproc)'
|
||||
export CFLAGS='-march=native -O2 -pipe'
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Alias
|
||||
# -----------------------------------------------------
|
||||
alias sshkoko="TERM=xterm-256color ssh ywang2020@koko-login.hpc.fau.edu"
|
||||
alias wakemac="wakeonlan 18:C0:4D:8D:56:0E"
|
||||
alias ls="eza --icons=auto"
|
||||
alias githashselector="git log --oneline | gum filter | cut -d' ' -f1"
|
||||
alias bat="bat --paging=never"
|
||||
alias code="code --ozone-platform=wayland --enable-wayland-ime"
|
||||
# fix ssh if in kitty
|
||||
if [[ "$TERM" == "xterm-kitty" && -z "$SSH_CONNECTION" ]]; then
|
||||
alias ssh="kitty +kitten ssh"
|
||||
fi
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Completion
|
||||
# -----------------------------------------------------
|
||||
[[ -f /home/wyj/.dart-cli-completion/zsh-config.zsh ]] && . /home/wyj/.dart-cli-completion/zsh-config.zsh || true
|
||||
|
||||
# -----------------------------------------------------
|
||||
# evals
|
||||
# -----------------------------------------------------
|
||||
eval $(thefuck --alias)
|
||||
eval "$(fzf --zsh)"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# PYWAL
|
||||
# -----------------------------------------------------
|
||||
cat ~/.cache/wal/sequences
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Custom
|
||||
# -----------------------------------------------------
|
||||
[[ ! -f ~/.custom.zsh ]] || source ~/.custom.zsh
|
||||
|
||||
# -----------------------------------------------------
|
||||
# miscs
|
||||
# -----------------------------------------------------
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
64
.zshrc_zinit
64
.zshrc_zinit
@@ -1,64 +0,0 @@
|
||||
# ---------------------------------------------------
|
||||
# Zinit and plugins
|
||||
# ---------------------------------------------------
|
||||
source /usr/share/zinit/zinit.zsh
|
||||
|
||||
# Load powerlevel10k theme
|
||||
zinit ice depth"1" # git clone depth
|
||||
zinit light romkatv/powerlevel10k
|
||||
|
||||
# Load plugins
|
||||
zinit light zsh-users/zsh-autosuggestions
|
||||
zinit light zdharma-continuum/fast-syntax-highlighting
|
||||
# oh-my-zsh plugins
|
||||
zi snippet OMZL::git.zsh
|
||||
zi snippet OMZP::git
|
||||
zi snippet OMZP::sudo
|
||||
zi snippet OMZP::colored-man-pages
|
||||
zi snippet OMZP::eza
|
||||
zi snippet OMZP::z
|
||||
# others
|
||||
zplugin ice as"program" pick"bin/git-dsf"
|
||||
zplugin light zdharma-continuum/zsh-diff-so-fancy
|
||||
|
||||
# ----------------------------------------------------
|
||||
# Variables
|
||||
# ----------------------------------------------------
|
||||
export PATH=$HOME/bin:$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||
export EDITOR=vim
|
||||
|
||||
# ----------------------------------------------------
|
||||
# Alias
|
||||
# ----------------------------------------------------
|
||||
alias sshkoko="TERM=xterm-256color ssh ywang2020@koko-login.hpc.fau.edu"
|
||||
alias wakemac="wakeonlan 18:C0:4D:8D:56:0E"
|
||||
alias eza="eza --icons=auto"
|
||||
alias githashselector="git log --oneline | gum filter | cut -d' ' -f1"
|
||||
alias bat="bat --paging=never"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# evals
|
||||
# -----------------------------------------------------
|
||||
eval $(thefuck --alias)
|
||||
eval "$(fzf --zsh)"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Miscs
|
||||
# -----------------------------------------------------
|
||||
# fix ssh if in kitty
|
||||
if [[ "$TERM" == "xterm-kitty" && -z "$SSH_CONNECTION" ]]; then
|
||||
alias ssh="kitty +kitten ssh"
|
||||
fi
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
# -----------------------------------------------------
|
||||
# PYWAL
|
||||
# -----------------------------------------------------
|
||||
cat ~/.cache/wal/sequences
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Custom
|
||||
# -----------------------------------------------------
|
||||
[[ ! -f ~/.custom.zsh ]] || source ~/.custom.zsh
|
||||
@@ -1 +1 @@
|
||||
source = ~/dotfiles/hypr/conf/animations/default.conf
|
||||
source = ~/dotfiles/hypr/conf/animations/animation-moving.conf
|
||||
|
||||
@@ -1 +1 @@
|
||||
source = ~/dotfiles/hypr/conf/decorations/default.conf
|
||||
source = ~/dotfiles/hypr/conf/decorations/custom.conf
|
||||
|
||||
25
hypr/conf/decorations/custom.conf
Normal file
25
hypr/conf/decorations/custom.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
# -----------------------------------------------------
|
||||
# General window decoration
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
blur {
|
||||
enabled = true
|
||||
size = 10
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = true
|
||||
xray = false
|
||||
blurls = waybar
|
||||
}
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 0.8
|
||||
fullscreen_opacity = 1.0
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 30
|
||||
shadow_render_power = 3
|
||||
col.shadow = 0x66000000
|
||||
}
|
||||
7
hypr/conf/fcitx5.conf
Normal file
7
hypr/conf/fcitx5.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
exec-once = fcitx5-remote -r
|
||||
exec-once = fcitx5 -d --replace
|
||||
exec-once = fcitx5-remote -r
|
||||
|
||||
bind=$mainMod CTRL, E, exec, pkill fcitx5 -9;sleep 1;fcitx5 -d --replace; sleep 1;fcitx5-remote -r
|
||||
|
||||
env=QT_IM_MODULE,fcitx
|
||||
@@ -1 +1 @@
|
||||
source = ~/dotfiles/hypr/conf/keybindings/default.conf
|
||||
source = ~/dotfiles/hypr/conf/keybindings/custom.conf
|
||||
|
||||
94
hypr/conf/keybindings/custom.conf
Normal file
94
hypr/conf/keybindings/custom.conf
Normal file
@@ -0,0 +1,94 @@
|
||||
# -----------------------------------------------------
|
||||
# Key bindings
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
# SUPER KEY
|
||||
$mainMod = SUPER
|
||||
|
||||
# Applications
|
||||
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh
|
||||
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh
|
||||
bind = $mainMod, period, exec, emote
|
||||
|
||||
# Windows
|
||||
bind = $mainMod, Q, killactive
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh
|
||||
bind = $mainMod, T, togglefloating
|
||||
bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh
|
||||
bind = $mainMod, J, togglesplit
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
bind = $mainMod SHIFT, right, resizeactive, 100 0
|
||||
bind = $mainMod SHIFT, left, resizeactive, -100 0
|
||||
bind = $mainMod SHIFT, up, resizeactive, 0 -100
|
||||
bind = $mainMod SHIFT, down, resizeactive, 0 100
|
||||
bind = $mainMod, G, togglegroup
|
||||
|
||||
# Actions
|
||||
bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh
|
||||
bind = $mainMod CTRL, Q, exec, wlogout
|
||||
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh
|
||||
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select
|
||||
bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i
|
||||
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh
|
||||
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh
|
||||
bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh
|
||||
bind = $mainMod CTRL, F, exec, ~/dotfiles/scripts/filemanager.sh
|
||||
bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh
|
||||
bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh
|
||||
bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh
|
||||
bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage
|
||||
|
||||
# Workspaces
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
bind = $mainMod CTRL, down, workspace, empty
|
||||
bind = $mainMod CTRL, left, workspace, e-1
|
||||
bind = $mainMod CTRL, right, workspace, e+1
|
||||
|
||||
# Fn keys
|
||||
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10%
|
||||
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%-
|
||||
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send -t 400 "Volume: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '/front-left/ {print $5}')"
|
||||
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send -t 400 "Volume: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '/front-left/ {print $5}')"
|
||||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bind = , XF86AudioPause, exec, playerctl pause
|
||||
bind = , XF86AudioNext, exec, playerctl next
|
||||
bind = , XF86AudioPrev, exec, playerctl previous
|
||||
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
bind = , XF86Calculator, exec, qalculate-gtk
|
||||
bind = , XF86Lock, exec, hyprlock
|
||||
bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/dotfiles/hypr/settings/settings.sh
|
||||
|
||||
# Passthrough SUPER KEY to Virtual Machine
|
||||
bind = $mainMod, P, submap, passthru
|
||||
submap = passthru
|
||||
bind = SUPER, Escape, submap, reset
|
||||
submap = reset
|
||||
7
hypr/conf/monitors/dual.conf
Normal file
7
hypr/conf/monitors/dual.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
# -----------------------------------------------------
|
||||
# Monitor Setup
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
monitor=DP-1,preferred,0x0,2
|
||||
monitor=HDMI-A-1,3840x2160,1920x-180,2,transform,1
|
||||
@@ -1 +1 @@
|
||||
source = ~/dotfiles/hypr/conf/windowrules/default.conf
|
||||
source = ~/dotfiles/hypr/conf/windowrules/custom.conf
|
||||
|
||||
18
hypr/conf/windowrules/custom.conf
Normal file
18
hypr/conf/windowrules/custom.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
# -----------------------------------------------------
|
||||
# Window rules
|
||||
# -----------------------------------------------------
|
||||
|
||||
windowrule = tile,^(Microsoft-edge)$
|
||||
windowrule = tile,^(Brave-browser)$
|
||||
windowrule = tile,^(Chromium)$
|
||||
windowrule = float,^(pavucontrol)$
|
||||
windowrule = float,^(blueman-manager)$
|
||||
windowrule = float,^(nm-connection-editor)$
|
||||
windowrule = float,^(qalculate-gtk)$
|
||||
windowrule = float,^(showmethekey-gtk)$
|
||||
windowrule = pin,^(showmethekey-gtk)$
|
||||
layerrule = blur, gtk-layer-shell
|
||||
layerrule = blur, logout_dialog
|
||||
|
||||
windowrule = float,title=^(Mathematica)$
|
||||
windowrule = opacity 0.75, ^(Code)$
|
||||
@@ -6,7 +6,7 @@
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 3
|
||||
border_size = 2
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
|
||||
@@ -45,6 +45,7 @@ source .install/remove.sh
|
||||
source .install/general.sh
|
||||
source .install/packages/general-packages.sh
|
||||
source .install/install-packages.sh
|
||||
source .install/fcitx5.sh
|
||||
source .install/profile.sh
|
||||
if [[ $profile == *"Hyprland"* ]]; then
|
||||
echo -e "${GREEN}"
|
||||
@@ -76,7 +77,6 @@ fi
|
||||
if [[ $profile == *"Qtile"* ]]; then
|
||||
source .install/qtile-dotfiles.sh
|
||||
fi
|
||||
source .install/zshfish.sh
|
||||
source .install/settings.sh
|
||||
source .install/apps.sh
|
||||
source .install/gtk.sh
|
||||
|
||||
@@ -43,7 +43,7 @@ configuration {
|
||||
window {
|
||||
width: 400px;
|
||||
x-offset: -14px;
|
||||
y-offset: 65px;
|
||||
y-offset: 14px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
@@ -56,7 +56,7 @@ window {
|
||||
anchor: northeast;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -120,6 +120,7 @@ entry {
|
||||
cursor: text;
|
||||
placeholder: "Search";
|
||||
placeholder-color: inherit;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
/* ---- Mode Switcher ---- */
|
||||
@@ -132,7 +133,7 @@ mode-switcher{
|
||||
|
||||
button {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
@@ -160,7 +161,8 @@ listview {
|
||||
padding: 10px;
|
||||
margin: 0px;
|
||||
background-color: @background;
|
||||
border:0px;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
/* ---- Element ---- */
|
||||
@@ -170,7 +172,7 @@ element {
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
background-color: @background;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
border: @border-width;
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ window {
|
||||
anchor: north;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -121,6 +121,7 @@ entry {
|
||||
cursor: text;
|
||||
placeholder: "Search";
|
||||
placeholder-color: inherit;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
/* ---- Mode Switcher ---- */
|
||||
@@ -133,7 +134,7 @@ mode-switcher{
|
||||
|
||||
button {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
@@ -161,7 +162,8 @@ listview {
|
||||
padding: 10px;
|
||||
margin: 0px;
|
||||
background-color: @background;
|
||||
border:0px;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
/* ---- Element ---- */
|
||||
@@ -171,7 +173,7 @@ element {
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
background-color: @background;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
border: @border-width;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ window {
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ mode-switcher{
|
||||
|
||||
button {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
@@ -170,7 +170,7 @@ element {
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
background-color: @background;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
border: @border-width;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ window {
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ mode-switcher{
|
||||
|
||||
button {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
@@ -170,7 +170,7 @@ element {
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
background-color: @background;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
border: @border-width;
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ window {
|
||||
anchor: northeast;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ mode-switcher{
|
||||
|
||||
button {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
@@ -171,7 +171,7 @@ element {
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
background-color: @background;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
border: @border-width;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ configuration {
|
||||
window {
|
||||
width: 400px;
|
||||
x-offset: 0px;
|
||||
y-offset: 65px;
|
||||
y-offset: 14px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
@@ -56,7 +56,7 @@ window {
|
||||
anchor: north;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -120,6 +120,7 @@ entry {
|
||||
cursor: text;
|
||||
placeholder: "Search";
|
||||
placeholder-color: inherit;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
/* ---- Mode Switcher ---- */
|
||||
@@ -132,7 +133,7 @@ mode-switcher{
|
||||
|
||||
button {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
@@ -160,7 +161,8 @@ listview {
|
||||
padding: 10px;
|
||||
margin: 0px;
|
||||
background-color: @background;
|
||||
border:0px;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
/* ---- Element ---- */
|
||||
@@ -170,7 +172,7 @@ element {
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
background-color: @background;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
border: @border-width;
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ configuration {
|
||||
window {
|
||||
width: 761px;
|
||||
x-offset: 0px;
|
||||
y-offset: 65px;
|
||||
y-offset: 14px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
@@ -51,7 +51,7 @@ window {
|
||||
anchor: north;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -114,6 +114,7 @@ entry {
|
||||
cursor: text;
|
||||
placeholder: "Search";
|
||||
placeholder-color: inherit;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
/* ---- Mode Switcher ---- */
|
||||
@@ -126,7 +127,7 @@ mode-switcher{
|
||||
|
||||
button {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
@@ -152,9 +153,10 @@ listview {
|
||||
padding: 10px;
|
||||
margin: 0px;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
fixed-columns: true;
|
||||
background-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
flow: horizontal;
|
||||
}
|
||||
|
||||
@@ -165,7 +167,7 @@ element {
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
background-color: @background;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
border: @border-width;
|
||||
orientation: vertical;
|
||||
}
|
||||
|
||||
@@ -50,14 +50,14 @@ window {
|
||||
margin: 0px;
|
||||
color: #FFFFFF;
|
||||
border: @border-width;
|
||||
border-color: #FFFFFF;
|
||||
border-color: @foreground;
|
||||
cursor: "default";
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ inputbar {
|
||||
text-color: @foreground;
|
||||
spacing: 10px;
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
border-color: @foreground;
|
||||
background-color: @background;
|
||||
children: [ "textbox-prompt-colon", "entry" ];
|
||||
@@ -121,6 +121,7 @@ entry {
|
||||
cursor: text;
|
||||
placeholder: "Search";
|
||||
placeholder-color: inherit;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
/* ---- Mode Switcher ---- */
|
||||
@@ -133,7 +134,7 @@ mode-switcher{
|
||||
|
||||
button {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
@@ -171,7 +172,7 @@ element {
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
background-color: @background;
|
||||
border-radius: 10px;
|
||||
border-radius: @border-radius;
|
||||
border: @border-width;
|
||||
}
|
||||
|
||||
|
||||
16
waybar/themes/custom/colored/style.css
Normal file
16
waybar/themes/custom/colored/style.css
Normal file
@@ -0,0 +1,16 @@
|
||||
/* -----------------------------------------------------
|
||||
* Import Pywal colors
|
||||
* ----------------------------------------------------- */
|
||||
@import '../../../../../.cache/wal/colors-waybar.css';
|
||||
|
||||
@define-color backgroundlight @color5;
|
||||
@define-color backgrounddark @color11;
|
||||
@define-color workspacesbackground1 @color5;
|
||||
@define-color workspacesbackground2 @color11;
|
||||
@define-color bordercolor @color11;
|
||||
@define-color textcolor1 #FFFFFF;
|
||||
@define-color textcolor2 #FFFFFF;
|
||||
@define-color textcolor3 #FFFFFF;
|
||||
@define-color iconcolor #FFFFFF;
|
||||
|
||||
@import '../style.css';
|
||||
73
waybar/themes/custom/config
Normal file
73
waybar/themes/custom/config
Normal file
@@ -0,0 +1,73 @@
|
||||
// __ __ _
|
||||
// \ \ / /_ _ _ _| |__ __ _ _ __
|
||||
// \ \ /\ / / _` | | | | '_ \ / _` | '__|
|
||||
// \ V V / (_| | |_| | |_) | (_| | |
|
||||
// \_/\_/ \__,_|\__, |_.__/ \__,_|_|
|
||||
// |___/
|
||||
//
|
||||
// by Stephan Raabe (2023)
|
||||
// -----------------------------------------------------
|
||||
//
|
||||
{
|
||||
// General Settings
|
||||
|
||||
// Position TOP
|
||||
"layer": "top",
|
||||
"margin-bottom": 0,
|
||||
|
||||
// Position BOTTOM
|
||||
// "position": "bottom",
|
||||
// "margin-top": 0,
|
||||
// "margin-bottom": 14,
|
||||
|
||||
"layer": "top",
|
||||
"margin-left": 0,
|
||||
"margin-right": 0,
|
||||
"spacing": 0,
|
||||
|
||||
// Load Modules
|
||||
"include": ["~/dotfiles/waybar/themes/custom/modules.json"],
|
||||
|
||||
// Modules Left
|
||||
"modules-left": [
|
||||
"custom/appmenu",
|
||||
"custom/settings",
|
||||
"custom/waybarthemes",
|
||||
"custom/wallpaper",
|
||||
// START TASK TOOGLE
|
||||
// "wlr/taskbar",
|
||||
// END TASK TOOGLE
|
||||
"group/quicklinks",
|
||||
"hyprland/window",
|
||||
"custom/starter"
|
||||
],
|
||||
|
||||
// Modules Center
|
||||
"modules-center": [
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
|
||||
// Modules Right
|
||||
"modules-right": [
|
||||
"custom/updates",
|
||||
"pulseaudio",
|
||||
// START BT TOOGLE
|
||||
"bluetooth",
|
||||
// END BT TOOGLE
|
||||
"battery",
|
||||
// START NETWORK TOOGLE
|
||||
"network",
|
||||
// END NETWORK TOOGLE
|
||||
"group/hardware",
|
||||
"custom/cliphist",
|
||||
// START IDLE TOOGLE
|
||||
"idle_inhibitor",
|
||||
// END IDLE TOOGLE
|
||||
// START TRAY TOOGLE
|
||||
"tray",
|
||||
// END TRAY TOOGLE
|
||||
"custom/exit",
|
||||
"custom/ml4w-welcome",
|
||||
"clock"
|
||||
]
|
||||
}
|
||||
2
waybar/themes/custom/config.sh
Normal file
2
waybar/themes/custom/config.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
theme_name="Custum 4k"
|
||||
330
waybar/themes/custom/modules.json
Normal file
330
waybar/themes/custom/modules.json
Normal file
@@ -0,0 +1,330 @@
|
||||
// __ __ _ _
|
||||
// | \/ | ___ __| |_ _| | ___ ___
|
||||
// | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
|
||||
// | | | | (_) | (_| | |_| | | __/\__ \
|
||||
// |_| |_|\___/ \__,_|\__,_|_|\___||___/
|
||||
//
|
||||
//
|
||||
// by Stephan Raabe (2023)
|
||||
// -----------------------------------------------------
|
||||
//
|
||||
{
|
||||
// Workspaces
|
||||
"hyprland/workspaces" : {
|
||||
"on-click": "activate",
|
||||
"active-only": false,
|
||||
"all-outputs": true,
|
||||
"format": "{}",
|
||||
"format-icons": {
|
||||
"urgent": "",
|
||||
"active": "",
|
||||
"default": ""
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"*": 5
|
||||
}
|
||||
},
|
||||
|
||||
// Taskbar
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": 18,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"Alacritty"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
},
|
||||
"rewrite": {
|
||||
"Firefox Web Browser": "Firefox",
|
||||
"Foot Server": "Terminal"
|
||||
}
|
||||
},
|
||||
|
||||
// Hyprland Window
|
||||
"hyprland/window": {
|
||||
"rewrite": {
|
||||
"(.*) - Brave": "$1",
|
||||
"(.*) - Chromium": "$1",
|
||||
"(.*) - Brave Search": "$1",
|
||||
"(.*) - Outlook": "$1",
|
||||
"(.*) Microsoft Teams": "$1"
|
||||
},
|
||||
"separate-outputs": true
|
||||
},
|
||||
|
||||
// Cliphist
|
||||
"custom/cliphist": {
|
||||
"format": "",
|
||||
"on-click": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh",
|
||||
"on-click-right": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh w",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Updates Count
|
||||
"custom/updates": {
|
||||
"format": " {}",
|
||||
"tooltip-format": "{}",
|
||||
"escape": true,
|
||||
"return-type": "json",
|
||||
"exec": "~/dotfiles/scripts/updates.sh",
|
||||
"restart-interval": 60,
|
||||
"on-click": "alacritty -e ~/dotfiles/scripts/installupdates.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Theme Starter Label
|
||||
"custom/starter": {
|
||||
"format": "THEME STARTER",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Wallpaper
|
||||
"custom/wallpaper": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select",
|
||||
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Waybar Themes
|
||||
"custom/waybarthemes": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Settings
|
||||
"custom/settings": {
|
||||
"format": "",
|
||||
"on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/hypr/settings/settings.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Keybindings
|
||||
"custom/keybindings": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/hypr/scripts/keybindings.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Filemanager Launcher
|
||||
"custom/filemanager": {
|
||||
"format": "",
|
||||
"on-click": "thunar",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Browser Launcher
|
||||
"custom/browser": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/.settings/browser.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// ML4W Welcome App
|
||||
"custom/ml4w-welcome": {
|
||||
"on-click": "~/dotfiles/apps/ML4W_Welcome-x86_64.AppImage",
|
||||
"format": " ",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// ChatGPT Launcher
|
||||
"custom/chatgpt": {
|
||||
"format": "",
|
||||
"on-click": "chromium --app=https://chat.openai.com",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Rofi Application Launcher
|
||||
"custom/appmenu": {
|
||||
"format": "Apps",
|
||||
"on-click": "rofi -show drun -replace",
|
||||
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Power Menu
|
||||
"custom/exit": {
|
||||
"format": "",
|
||||
"on-click": "wlogout",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Keyboard State
|
||||
"keyboard-state": {
|
||||
"numlock": true,
|
||||
"capslock": true,
|
||||
"format": "{name} {icon}",
|
||||
"format-icons": {
|
||||
"locked": "",
|
||||
"unlocked": ""
|
||||
}
|
||||
},
|
||||
|
||||
// System tray
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
|
||||
// Clock
|
||||
"clock": {
|
||||
// "timezone": "America/New_York",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{:%Y-%m-%d}"
|
||||
},
|
||||
|
||||
// System
|
||||
"custom/system": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// CPU
|
||||
"cpu": {
|
||||
"format": "/ C {usage}% ",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
|
||||
// Memory
|
||||
"memory": {
|
||||
"format": "/ M {}% ",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
|
||||
// Harddisc space used
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": "D {percentage_used}% ",
|
||||
"path": "/",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
|
||||
"hyprland/language": {
|
||||
"format": "/ K {short}"
|
||||
},
|
||||
|
||||
// Group Hardware
|
||||
"group/hardware": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 300,
|
||||
"children-class": "not-memory",
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"custom/system",
|
||||
"disk",
|
||||
"cpu",
|
||||
"memory",
|
||||
"hyprland/language"
|
||||
]
|
||||
},
|
||||
|
||||
// Group Settings
|
||||
"group/settings": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 300,
|
||||
"children-class": "not-memory",
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"custom/settings",
|
||||
"custom/waybarthemes",
|
||||
"custom/wallpaper"
|
||||
]
|
||||
},
|
||||
|
||||
// Group Quicklinks
|
||||
"group/quicklinks": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"custom/filemanager",
|
||||
"custom/browser"
|
||||
]
|
||||
},
|
||||
|
||||
// Network
|
||||
"network": {
|
||||
"format": "{ifname}",
|
||||
"format-wifi": " {signalStrength}%",
|
||||
"format-ethernet": " {ipaddr}",
|
||||
"format-disconnected": "Not connected", //An empty format will hide the module.
|
||||
"tooltip-format": " {ifname} via {gwaddri}",
|
||||
"tooltip-format-wifi": " {essid} ({signalStrength}%)",
|
||||
"tooltip-format-ethernet": " {ifname} ({ipaddr}/{cidr})",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"max-length": 50,
|
||||
"on-click": "alacritty -e nmtui"
|
||||
},
|
||||
|
||||
// Battery
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{icon} {time}",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": [" ", " ", " ", " ", " "]
|
||||
},
|
||||
|
||||
// Pulseaudio
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{icon} {volume}%",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", " ", " "]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
|
||||
// Bluetooth
|
||||
"bluetooth": {
|
||||
"format-disabled": "",
|
||||
"format-off": "",
|
||||
"interval": 30,
|
||||
"on-click": "blueman-manager",
|
||||
"format-no-controller": ""
|
||||
},
|
||||
|
||||
// Other
|
||||
"user": {
|
||||
"format": "{user}",
|
||||
"interval": 60,
|
||||
"icon": false,
|
||||
},
|
||||
|
||||
// Idle Inhibator
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"tooltip": true,
|
||||
"format-icons":{
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"on-click-right": "hyprlock"
|
||||
}
|
||||
}
|
||||
430
waybar/themes/custom/style.css
Normal file
430
waybar/themes/custom/style.css
Normal file
@@ -0,0 +1,430 @@
|
||||
/*
|
||||
* __ __ _ ____ _ _
|
||||
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
|
||||
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
|
||||
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
|
||||
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
|
||||
* |___/ |___/
|
||||
*
|
||||
* by Stephan Raabe (2023)
|
||||
* -----------------------------------------------------
|
||||
*/
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Import Pywal colors
|
||||
* ----------------------------------------------------- */
|
||||
/* @import 'style-light.css'; */
|
||||
/* @define-color backgroundlight #FFFFFF;
|
||||
@define-color backgrounddark #FFFFFF;
|
||||
@define-color workspacesbackground1 #FFFFFF;
|
||||
@define-color workspacesbackground2 #CCCCCC;
|
||||
@define-color bordercolor #FFFFFF;
|
||||
@define-color textcolor1 #000000;
|
||||
@define-color textcolor2 #000000;
|
||||
@define-color textcolor3 #FFFFFF;
|
||||
@define-color iconcolor #FFFFFF; */
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* General
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
* {
|
||||
font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: rgba(0,0,0,0.2);
|
||||
border-bottom: 0px solid #ffffff;
|
||||
/* color: #FFFFFF; */
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Workspaces
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#workspaces {
|
||||
margin: 5px 1px 6px 1px;
|
||||
padding: 0px 1px;
|
||||
border-radius: 15px;
|
||||
border: 0px;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: @textcolor1;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0px 5px;
|
||||
margin: 4px 3px;
|
||||
border-radius: 15px;
|
||||
border: 0px;
|
||||
color: @textcolor3;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @textcolor1;
|
||||
background: @workspacesbackground2;
|
||||
border-radius: 15px;
|
||||
min-width: 40px;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: @textcolor1;
|
||||
background: @workspacesbackground2;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Tooltips
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
tooltip {
|
||||
border-radius: 10px;
|
||||
background-color: @backgroundlight;
|
||||
opacity:0.8;
|
||||
padding:20px;
|
||||
margin:0px;
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
color: @textcolor2;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Window
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#window {
|
||||
background: @backgroundlight;
|
||||
margin: 10px 15px 10px 0px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
color:@textcolor2;
|
||||
font-size:16px;
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
window#waybar.empty #window {
|
||||
background-color:transparent;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Taskbar
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#taskbar {
|
||||
background: @backgroundlight;
|
||||
margin: 6px 15px 6px 0px;
|
||||
padding:0px;
|
||||
border-radius: 15px;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
border: 3px solid @backgroundlight;
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
margin:0;
|
||||
border-radius: 15px;
|
||||
padding: 0px 5px 0px 5px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Modules
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
.modules-left > widget:first-child > #workspaces {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Custom Quicklinks
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#custom-brave,
|
||||
#custom-browser,
|
||||
#custom-keybindings,
|
||||
#custom-outlook,
|
||||
#custom-filemanager,
|
||||
#custom-teams,
|
||||
#custom-chatgpt,
|
||||
#custom-calculator,
|
||||
#custom-windowsvm,
|
||||
#custom-cliphist,
|
||||
#custom-wallpaper,
|
||||
#custom-settings,
|
||||
#custom-wallpaper,
|
||||
#custom-system,
|
||||
#custom-waybarthemes {
|
||||
margin-right: 23px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: @iconcolor;
|
||||
}
|
||||
|
||||
#custom-waybarthemes,#custom-system {
|
||||
margin-right:15px;
|
||||
}
|
||||
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
margin-right: 15px;
|
||||
background-image: url("../assets/ml4w-icon.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Idle Inhibator
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#idle_inhibitor {
|
||||
margin-right: 15px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
opacity: 0.8;
|
||||
color: @iconcolor;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
margin-right: 15px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
opacity: 0.8;
|
||||
color: #dc2f2f;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Custom Modules
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#custom-appmenu {
|
||||
background-color: @backgrounddark;
|
||||
font-size: 16px;
|
||||
color: @textcolor1;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 10px 15px 10px 10px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Custom Exit
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#custom-exit {
|
||||
margin: 0px 20px 0px 0px;
|
||||
padding:0px;
|
||||
font-size:20px;
|
||||
color: @iconcolor;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Custom Updates
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#custom-updates {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 10px 15px 10px 0px;
|
||||
}
|
||||
|
||||
#custom-updates.green {
|
||||
background-color: @backgroundlight;
|
||||
}
|
||||
|
||||
#custom-updates.yellow {
|
||||
background-color: #ff9a3c;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
#custom-updates.red {
|
||||
background-color: #dc2f2f;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Custom Youtube
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#custom-youtube {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 10px 15px 10px 0px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Hardware Group
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#disk,#memory,#cpu,#language {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
font-size:16px;
|
||||
color:@iconcolor;
|
||||
}
|
||||
|
||||
#language {
|
||||
margin-right:10px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Clock
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#clock {
|
||||
background-color: @backgrounddark;
|
||||
font-size: 16px;
|
||||
color: @textcolor1;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 10px 15px 10px 0px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Pulseaudio
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#pulseaudio {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 10px 15px 10px 0px;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
background-color: @backgrounddark;
|
||||
color: @textcolor1;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Network
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#network {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 10px 15px 10px 0px;
|
||||
}
|
||||
|
||||
#network.ethernet {
|
||||
background-color: @backgroundlight;
|
||||
color: @textcolor2;
|
||||
}
|
||||
|
||||
#network.wifi {
|
||||
background-color: @backgroundlight;
|
||||
color: @textcolor2;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Bluetooth
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#bluetooth, #bluetooth.on, #bluetooth.connected {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 10px 15px 10px 0px;
|
||||
}
|
||||
|
||||
#bluetooth.off {
|
||||
background-color: transparent;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Battery
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#battery {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 15px 0px 10px;
|
||||
margin: 10px 15px 10px 0px;
|
||||
}
|
||||
|
||||
#battery.charging, #battery.plugged {
|
||||
color: @textcolor2;
|
||||
background-color: @backgroundlight;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: @backgroundlight;
|
||||
color: @textcolor2;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: #f53c3c;
|
||||
color: @textcolor3;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Tray
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#tray {
|
||||
background-color: #2980b9;
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Other
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
label:focus {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
background-color: #90b1b1;
|
||||
}
|
||||
|
||||
#network {
|
||||
background-color: #2980b9;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
background-color: #f53c3c;
|
||||
}
|
||||
|
||||
2
waybar/themes/ml4w-blur-custom/colored/config.sh
Normal file
2
waybar/themes/ml4w-blur-custom/colored/config.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
theme_name="ML4W Blur Custom Colored"
|
||||
16
waybar/themes/ml4w-blur-custom/colored/style.css
Normal file
16
waybar/themes/ml4w-blur-custom/colored/style.css
Normal file
@@ -0,0 +1,16 @@
|
||||
/* -----------------------------------------------------
|
||||
* Import Pywal colors
|
||||
* ----------------------------------------------------- */
|
||||
@import '../../../../../.cache/wal/colors-waybar.css';
|
||||
|
||||
@define-color backgroundlight @color5;
|
||||
@define-color backgrounddark @color11;
|
||||
@define-color workspacesbackground1 @color5;
|
||||
@define-color workspacesbackground2 @color11;
|
||||
@define-color bordercolor @color11;
|
||||
@define-color textcolor1 #FFFFFF;
|
||||
@define-color textcolor2 #FFFFFF;
|
||||
@define-color textcolor3 #FFFFFF;
|
||||
@define-color iconcolor #FFFFFF;
|
||||
|
||||
@import '../style.css';
|
||||
59
waybar/themes/ml4w-blur-custom/config
Normal file
59
waybar/themes/ml4w-blur-custom/config
Normal file
@@ -0,0 +1,59 @@
|
||||
// __ __ _
|
||||
// \ \ / /_ _ _ _| |__ __ _ _ __
|
||||
// \ \ /\ / / _` | | | | '_ \ / _` | '__|
|
||||
// \ V V / (_| | |_| | |_) | (_| | |
|
||||
// \_/\_/ \__,_|\__, |_.__/ \__,_|_|
|
||||
// |___/
|
||||
//
|
||||
// by Stephan Raabe (2023)
|
||||
// -----------------------------------------------------
|
||||
//
|
||||
{
|
||||
// General Settings
|
||||
"layer": "top",
|
||||
"margin-top": 0,
|
||||
"margin-bottom": 0,
|
||||
"layer": "top",
|
||||
"margin-left": 0,
|
||||
"margin-right": 0,
|
||||
"spacing": 0,
|
||||
|
||||
// Load Modules
|
||||
"include": ["~/dotfiles/waybar/themes/ml4w-blur-custom/modules.json"],
|
||||
|
||||
// Modules Left
|
||||
"modules-left": [
|
||||
"custom/appmenuicon",
|
||||
"hyprland/workspaces",
|
||||
//"custom/appmenu",
|
||||
//"group/settings",
|
||||
"wlr/taskbar",
|
||||
//"group/quicklinks",
|
||||
"hyprland/window",
|
||||
"custom/empty"
|
||||
],
|
||||
|
||||
// Modules Center
|
||||
//"modules-center": [
|
||||
// "hyprland/workspaces"
|
||||
//],
|
||||
|
||||
// Modules Right
|
||||
"modules-right": [
|
||||
"custom/updates",
|
||||
"pulseaudio",
|
||||
//"bluetooth",
|
||||
"battery",
|
||||
"battery#charging",
|
||||
"network",
|
||||
"cpu",
|
||||
"memory",
|
||||
//"group/hardware",
|
||||
//"custom/cliphist",
|
||||
"tray",
|
||||
"idle_inhibitor",
|
||||
"custom/exit",
|
||||
//"custom/ml4w-welcome",
|
||||
"clock"
|
||||
]
|
||||
}
|
||||
2
waybar/themes/ml4w-blur-custom/mixed/config.sh
Normal file
2
waybar/themes/ml4w-blur-custom/mixed/config.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
theme_name="ML4W Blur Mixed"
|
||||
16
waybar/themes/ml4w-blur-custom/mixed/style.css
Normal file
16
waybar/themes/ml4w-blur-custom/mixed/style.css
Normal file
@@ -0,0 +1,16 @@
|
||||
/* -----------------------------------------------------
|
||||
* Import Pywal colors
|
||||
* ----------------------------------------------------- */
|
||||
@import '../../../../../.cache/wal/colors-waybar.css';
|
||||
|
||||
@define-color backgroundlight @color8;
|
||||
@define-color backgrounddark #FFFFFF;
|
||||
@define-color workspacesbackground1 @color8;
|
||||
@define-color workspacesbackground2 #FFFFFF;
|
||||
@define-color bordercolor @color8;
|
||||
@define-color textcolor1 @color8;
|
||||
@define-color textcolor2 #FFFFFF;
|
||||
@define-color textcolor3 #FFFFFF;
|
||||
@define-color iconcolor #FFFFFF;
|
||||
|
||||
@import '../style.css';
|
||||
402
waybar/themes/ml4w-blur-custom/modules.json
Normal file
402
waybar/themes/ml4w-blur-custom/modules.json
Normal file
@@ -0,0 +1,402 @@
|
||||
// __ __ _ _
|
||||
// | \/ | ___ __| |_ _| | ___ ___
|
||||
// | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
|
||||
// | | | | (_) | (_| | |_| | | __/\__ \
|
||||
// |_| |_|\___/ \__,_|\__,_|_|\___||___/
|
||||
//
|
||||
//
|
||||
// by Stephan Raabe (2023)
|
||||
// -----------------------------------------------------
|
||||
//
|
||||
{
|
||||
// Workspaces
|
||||
"hyprland/workspaces" : {
|
||||
"on-click": "activate",
|
||||
"active-only": false,
|
||||
"all-outputs": true,
|
||||
"format": "{}",
|
||||
"format-icons": {
|
||||
"urgent": "",
|
||||
"active": "",
|
||||
"default": ""
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
// START WORKSPACES
|
||||
"*": 3
|
||||
// END WORKSPACES
|
||||
}
|
||||
},
|
||||
|
||||
// Taskbar
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": 18,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"Alacritty"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
},
|
||||
"rewrite": {
|
||||
"Firefox Web Browser": "Firefox",
|
||||
"Foot Server": "Terminal"
|
||||
}
|
||||
},
|
||||
|
||||
// Hyprland Window
|
||||
"hyprland/window": {
|
||||
"rewrite": {
|
||||
"(.*) - Brave": "$1",
|
||||
"(.*) - Chromium": "$1",
|
||||
"(.*) - Brave Search": "$1",
|
||||
"(.*) - Outlook": "$1",
|
||||
"(.*) Microsoft Teams": "$1"
|
||||
},
|
||||
"separate-outputs": true
|
||||
},
|
||||
|
||||
// ML4W Welcome App
|
||||
"custom/ml4w-welcome": {
|
||||
"on-click": "~/dotfiles/apps/ML4W_Welcome-x86_64.AppImage",
|
||||
"format": " ",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Empty
|
||||
"custom/empty": {
|
||||
"format": ""
|
||||
},
|
||||
|
||||
// Youtube Subscriber Count
|
||||
"custom/youtube": {
|
||||
"format": " {}",
|
||||
"exec": "python ~/private/youtube.py",
|
||||
"restart-interval": 600,
|
||||
"on-click": "chromium https://studio.youtube.com",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Cliphist
|
||||
"custom/cliphist": {
|
||||
"format": "",
|
||||
"on-click": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh",
|
||||
"on-click-right": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh w",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Updates Count
|
||||
"custom/updates": {
|
||||
"format": " {}",
|
||||
"tooltip-format": "{}",
|
||||
"escape": true,
|
||||
"return-type": "json",
|
||||
"exec": "~/dotfiles/scripts/updates.sh",
|
||||
"restart-interval": 60,
|
||||
"on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/scripts/installupdates.sh",
|
||||
"on-click-right": "~/dotfiles/.settings/software.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Wallpaper
|
||||
"custom/wallpaper": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select",
|
||||
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Waybar Themes
|
||||
"custom/waybarthemes": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Settings
|
||||
"custom/settings": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Keybindings
|
||||
"custom/keybindings": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/hypr/scripts/keybindings.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Filemanager Launcher
|
||||
"custom/filemanager": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/.settings/filemanager.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Outlook Launcher
|
||||
"custom/outlook": {
|
||||
"format": "",
|
||||
"on-click": "chromium --app=https://outlook.office.com/mail/",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Teams Launcher
|
||||
"custom/teams": {
|
||||
"format": "",
|
||||
"on-click": "chromium --app=https://teams.microsoft.com/go",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Browser Launcher
|
||||
"custom/browser": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/.settings/browser.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// ChatGPT Launcher
|
||||
"custom/chatgpt": {
|
||||
"format": " ",
|
||||
"on-click": "chromium --app=https://chat.openai.com",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Calculator
|
||||
"custom/calculator": {
|
||||
"format": "",
|
||||
"on-click": "qalculate-gtk",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Windows VM
|
||||
"custom/windowsvm": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/scripts/launchvm.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Rofi Application Launcher
|
||||
"custom/appmenu": {
|
||||
// START APPS LABEL
|
||||
"format": "Apps",
|
||||
// END APPS LABEL
|
||||
"on-click": "sleep 0.2;rofi -show drun -replace",
|
||||
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Rofi Application Launcher
|
||||
"custom/appmenuicon": {
|
||||
"format": "",
|
||||
"on-click": "rofi -show drun -replace",
|
||||
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Power Menu
|
||||
"custom/exit": {
|
||||
"format": "",
|
||||
"on-click": "wlogout",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Keyboard State
|
||||
"keyboard-state": {
|
||||
"numlock": true,
|
||||
"capslock": true,
|
||||
"format": "{name} {icon}",
|
||||
"format-icons": {
|
||||
"locked": "",
|
||||
"unlocked": ""
|
||||
}
|
||||
},
|
||||
|
||||
// System tray
|
||||
"tray": {
|
||||
"icon-size": 21,
|
||||
"spacing": 10,
|
||||
"verse-direction": true
|
||||
},
|
||||
|
||||
// Clock
|
||||
"clock": {
|
||||
// TIMEDATEFORMAT
|
||||
"format": "{:%H:%M - %a}",
|
||||
// "timezone": "America/New_York",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
// START CLOCK FORMAT
|
||||
"format-alt": "{:%Y-%m-%d}"
|
||||
// END CLOCK FORMAT
|
||||
},
|
||||
|
||||
// System
|
||||
"custom/system": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// CPU
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
|
||||
// Memory
|
||||
"memory": {
|
||||
"format": " {used:0.1f}G",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
|
||||
// Harddisc space used
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": "D {percentage_used}% ",
|
||||
"path": "/",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
|
||||
"hyprland/language": {
|
||||
"format": "/ K {short}"
|
||||
},
|
||||
|
||||
// Group Hardware
|
||||
"group/hardware": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 300,
|
||||
"children-class": "not-memory",
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"custom/system",
|
||||
"disk",
|
||||
"cpu",
|
||||
"memory",
|
||||
"hyprland/language"
|
||||
]
|
||||
},
|
||||
|
||||
// Group Settings
|
||||
"group/settings": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
// START CHATGPT TOOGLE
|
||||
"custom/chatgpt",
|
||||
// END CHATGPT TOOGLE
|
||||
"custom/settings",
|
||||
"custom/waybarthemes",
|
||||
"custom/wallpaper"
|
||||
]
|
||||
},
|
||||
|
||||
// Group Quicklinks
|
||||
"group/quicklinks": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"custom/browser",
|
||||
"custom/filemanager",
|
||||
]
|
||||
},
|
||||
|
||||
// Network
|
||||
"network": {
|
||||
"format": "{ifname}",
|
||||
"format-wifi": " {signalStrength}%",
|
||||
"format-ethernet": " {ifname}",
|
||||
"format-disconnected": "Disconnected",
|
||||
"tooltip-format": " {ifname} via {gwaddri}",
|
||||
"tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}",
|
||||
"tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n up: {bandwidthUpBits} down: {bandwidthDownBits}",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"max-length": 50,
|
||||
"on-click": "~/dotfiles/.settings/networkmanager.sh"
|
||||
},
|
||||
|
||||
// Battery
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": "",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{icon} {time}",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
"format-full": " {capacity}%",
|
||||
//"format-icons": {
|
||||
// "Charging": ["","","","","","","","","","",""],
|
||||
// "default": ["","","","","","","","","","",""]
|
||||
//}
|
||||
"format-icons": ["","","","","","","","","","",""]
|
||||
},
|
||||
"battery#charging": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "",
|
||||
"format-charging": "{icon} {capacity}%",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
//"format-icons": {
|
||||
// "Charging": ["","","","","","","","","","",""],
|
||||
// "default": ["","","","","","","","","","",""]
|
||||
//}
|
||||
"format-icons": ["","","","","","","","","","",""]
|
||||
},
|
||||
|
||||
// Pulseaudio
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{icon}",
|
||||
"format-bluetooth": "{icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
|
||||
// Bluetooth
|
||||
"bluetooth": {
|
||||
"format": " {status}",
|
||||
"format-disabled": "",
|
||||
"format-off": "",
|
||||
"interval": 30,
|
||||
"on-click": "blueman-manager",
|
||||
"format-no-controller": ""
|
||||
},
|
||||
|
||||
// Other
|
||||
"user": {
|
||||
"format": "{user}",
|
||||
"interval": 60,
|
||||
"icon": false,
|
||||
},
|
||||
|
||||
// Idle Inhibator
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"tooltip": true,
|
||||
"format-icons":{
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"on-click-right": "hyprlock"
|
||||
}
|
||||
}
|
||||
431
waybar/themes/ml4w-blur-custom/style.css
Normal file
431
waybar/themes/ml4w-blur-custom/style.css
Normal file
@@ -0,0 +1,431 @@
|
||||
/*
|
||||
* __ __ _ ____ _ _
|
||||
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
|
||||
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
|
||||
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
|
||||
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
|
||||
* |___/ |___/
|
||||
*
|
||||
* by Stephan Raabe (2023)
|
||||
* -----------------------------------------------------
|
||||
*/
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Import Pywal colors
|
||||
* ----------------------------------------------------- */
|
||||
/* @import 'style-light.css'; */
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* General
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
* {
|
||||
font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: rgba(0,0,0,0.2);
|
||||
border-bottom: 0px solid #ffffff;
|
||||
/* color: #FFFFFF; */
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Workspaces
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#workspaces {
|
||||
background: @workspacesbackground1;
|
||||
margin: 5px 10px 6px 0px;
|
||||
padding: 0px 1px;
|
||||
border-radius: 15px;
|
||||
border: 0px;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
opacity: 0.8;
|
||||
font-size: 16px;
|
||||
color: @textcolor1;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0px 5px;
|
||||
margin: 4px 3px;
|
||||
border-radius: 15px;
|
||||
border: 0px;
|
||||
color: @textcolor1;
|
||||
background-color: @workspacesbackground2;
|
||||
transition: all 0.3s ease-in-out;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @textcolor1;
|
||||
background: @workspacesbackground2;
|
||||
border-radius: 15px;
|
||||
min-width: 40px;
|
||||
transition: all 0.3s ease-in-out;
|
||||
opacity:1.0;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: @textcolor1;
|
||||
background: @workspacesbackground2;
|
||||
border-radius: 15px;
|
||||
opacity:0.7;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Tooltips
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
tooltip {
|
||||
border-radius: 10px;
|
||||
background-color: @backgroundlight;
|
||||
opacity:0.8;
|
||||
padding:20px;
|
||||
margin:0px;
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
color: @textcolor2;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Window
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#window {
|
||||
background: @backgroundlight;
|
||||
margin: 6px 15px 6px 0px;
|
||||
padding: 0px 10px 0px 10px;
|
||||
border-radius: 15px;
|
||||
color:@textcolor2;
|
||||
font-size:16px;
|
||||
font-weight:normal;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
window#waybar.empty #window {
|
||||
background-color:transparent;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Taskbar
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#taskbar {
|
||||
background: @backgroundlight;
|
||||
margin: 6px 10px 6px 0px;
|
||||
padding:0px;
|
||||
border-radius: 15px;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
opacity:0.8;
|
||||
border: 3px solid @backgroundlight;
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
margin:0;
|
||||
border-radius: 15px;
|
||||
padding: 0px 5px 0px 5px;
|
||||
}
|
||||
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Custom Quicklinks
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#custom-brave,
|
||||
#custom-browser,
|
||||
#custom-keybindings,
|
||||
#custom-outlook,
|
||||
#custom-filemanager,
|
||||
#custom-teams,
|
||||
#custom-chatgpt,
|
||||
#custom-calculator,
|
||||
#custom-windowsvm,
|
||||
#custom-cliphist,
|
||||
#custom-wallpaper,
|
||||
#custom-settings,
|
||||
#custom-wallpaper,
|
||||
#custom-system,
|
||||
#custom-waybarthemes {
|
||||
margin-right: 23px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
opacity: 0.8;
|
||||
color: @iconcolor;
|
||||
}
|
||||
|
||||
#custom-system {
|
||||
margin-right:15px;
|
||||
}
|
||||
|
||||
#custom-wallpaper {
|
||||
margin-right:25px;
|
||||
}
|
||||
|
||||
#custom-waybarthemes, #custom-settings {
|
||||
margin-right:20px;
|
||||
}
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
margin-right: 15px;
|
||||
background-image: url("../assets/ml4w-icon.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
#custom-chatgpt {
|
||||
margin-right: 15px;
|
||||
background-image: url("../assets/ai-icon-20.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Idle Inhibator
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#idle_inhibitor {
|
||||
margin-right: 10px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
opacity: 0.8;
|
||||
color: @iconcolor;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
margin-right: 10px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
opacity: 0.8;
|
||||
color: #dc2f2f;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Custom Modules
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#custom-appmenu, #custom-appmenuicon {
|
||||
background-color: @backgrounddark;
|
||||
font-size: 16px;
|
||||
color: @textcolor1;
|
||||
border-radius: 15px;
|
||||
padding: 0px 10px 0px 10px;
|
||||
margin: 6px 10px 6px 10px;
|
||||
opacity:0.8;
|
||||
border:3px solid @bordercolor;
|
||||
}
|
||||
|
||||
#custom-appmenuicon {
|
||||
padding-right: 12px;
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Custom Exit
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#custom-exit {
|
||||
margin: 0px 15px 0px 0px;
|
||||
padding:0px;
|
||||
font-size:20px;
|
||||
color: @iconcolor;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Custom Updates
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#custom-updates {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 8px 10px 8px 0px;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
#custom-updates.green {
|
||||
background-color: @backgroundlight;
|
||||
}
|
||||
|
||||
#custom-updates.yellow {
|
||||
background-color: #ff9a3c;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
#custom-updates.red {
|
||||
background-color: #dc2f2f;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Custom Youtube
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#custom-youtube {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 8px 15px 8px 0px;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Hardware Group
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#disk,#memory,#cpu,#language {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 8px 10px 8px 0px;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
#language {
|
||||
margin-right:10px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Clock
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#clock {
|
||||
background-color: @backgrounddark;
|
||||
font-size: 16px;
|
||||
color: @textcolor1;
|
||||
border-radius: 15px;
|
||||
padding: 1px 10px 0px 10px;
|
||||
margin: 6px 10px 6px 0px;
|
||||
opacity:0.8;
|
||||
border:3px solid @bordercolor;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Pulseaudio
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#pulseaudio {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 8px 10px 8px 0px;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
background-color: @backgrounddark;
|
||||
color: @textcolor1;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Network
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#network {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 8px 10px 8px 0px;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
#network.ethernet {
|
||||
background-color: @backgroundlight;
|
||||
color: @textcolor2;
|
||||
}
|
||||
|
||||
#network.wifi {
|
||||
background-color: @backgroundlight;
|
||||
color: @textcolor2;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Bluetooth
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#bluetooth, #bluetooth.on, #bluetooth.connected {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 8px 10px 8px 0px;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
#bluetooth.off {
|
||||
background-color: transparent;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Battery
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#battery {
|
||||
background-color: @backgroundlight;
|
||||
font-size: 16px;
|
||||
color: @textcolor2;
|
||||
border-radius: 15px;
|
||||
padding: 2px 15px 0px 10px;
|
||||
margin: 8px 10px 8px 0px;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
#battery.charging, #battery.plugged {
|
||||
color: @textcolor2;
|
||||
background-color: @backgroundlight;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: @backgroundlight;
|
||||
color: @textcolor2;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: #f53c3c;
|
||||
color: @textcolor3;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Tray
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#tray {
|
||||
padding: 0px 10px 0px 0px;
|
||||
color: @textcolor3;
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
}
|
||||
Reference in New Issue
Block a user