dev: automated commit - 2025-09-29 12:07:29
This commit is contained in:
parent
0a04450061
commit
f2cc7ea607
7 changed files with 127 additions and 61 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=rose-pine-gtk-theme-unstable-latest-Dark
|
gtk-theme-name=rose-pine-gtk-theme-unstable-latest-Dark
|
||||||
gtk-icon-theme-name=Papirus
|
gtk-icon-theme-name=Papirus
|
||||||
gtk-font-name=Adwaita Sans 11
|
gtk-font-name=SF Pro Text 11
|
||||||
gtk-cursor-theme-name=Bibata-Original-Ice
|
gtk-cursor-theme-name=Bibata-Original-Classic
|
||||||
gtk-cursor-theme-size=24
|
gtk-cursor-theme-size=24
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
|
|
@ -12,5 +12,6 @@ gtk-enable-event-sounds=1
|
||||||
gtk-enable-input-feedback-sounds=0
|
gtk-enable-input-feedback-sounds=0
|
||||||
gtk-xft-antialias=1
|
gtk-xft-antialias=1
|
||||||
gtk-xft-hinting=1
|
gtk-xft-hinting=1
|
||||||
gtk-xft-hintstyle=hintfull
|
gtk-xft-hintstyle=hintslight
|
||||||
gtk-xft-rgba=none
|
gtk-xft-rgba=rgb
|
||||||
|
gtk-application-prefer-dark-theme=0
|
||||||
|
|
|
||||||
|
|
@ -78,51 +78,27 @@
|
||||||
"scroll-step": 0.2,
|
"scroll-step": 0.2,
|
||||||
"min-length": 6
|
"min-length": 6
|
||||||
},
|
},
|
||||||
"battery": {
|
// "pulseaudio": {
|
||||||
"states": {
|
// "format": "{icon} {volume}%",
|
||||||
"good": 95,
|
// "tooltip": false,
|
||||||
"warning": 30,
|
// "format-muted": " Muted",
|
||||||
"critical": 20
|
// "on-click": "wpctl set-mute @DEFAULT_SINK@ toggle",
|
||||||
},
|
// "on-click-right": "pavucontrol",
|
||||||
"format": "{icon} {capacity}%",
|
// "scroll-step": 0.5,
|
||||||
"format-charging": " {capacity}%",
|
// "format-icons": {
|
||||||
"format-plugged": " {capacity}%",
|
// "headphone": "",
|
||||||
"format-alt": "{time} {icon}",
|
// "hands-free": "",
|
||||||
"format-icons": [
|
// "headset": "",
|
||||||
"",
|
// "phone": "",
|
||||||
"",
|
// "portable": "",
|
||||||
"",
|
// "car": "",
|
||||||
"",
|
// "default": [
|
||||||
"",
|
// "",
|
||||||
"",
|
// "",
|
||||||
"",
|
// " "
|
||||||
"",
|
// ]
|
||||||
"",
|
// }
|
||||||
"",
|
// },
|
||||||
""
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"pulseaudio": {
|
|
||||||
"format": "{icon} {volume}%",
|
|
||||||
"tooltip": false,
|
|
||||||
"format-muted": " Muted",
|
|
||||||
"on-click": "wpctl set-mute @DEFAULT_SINK@ toggle",
|
|
||||||
"on-click-right": "pavucontrol",
|
|
||||||
"scroll-step": 0.5,
|
|
||||||
"format-icons": {
|
|
||||||
"headphone": "",
|
|
||||||
"hands-free": "",
|
|
||||||
"headset": "",
|
|
||||||
"phone": "",
|
|
||||||
"portable": "",
|
|
||||||
"car": "",
|
|
||||||
"default": [
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
" "
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// "pulseaudio#microphone": {
|
// "pulseaudio#microphone": {
|
||||||
// "format": "{format_source}",
|
// "format": "{format_source}",
|
||||||
// "format-source": " {volume}%",
|
// "format-source": " {volume}%",
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"custom/wf-recorder",
|
"custom/wf-recorder",
|
||||||
"custom/randwall",
|
"custom/randwall",
|
||||||
"pulseaudio",
|
// "pulseaudio",
|
||||||
// "custom/vpn",
|
// "custom/vpn",
|
||||||
"custom/notification",
|
"custom/notification",
|
||||||
"tray",
|
"tray",
|
||||||
|
|
@ -76,16 +76,89 @@
|
||||||
// "custom/microphone",
|
// "custom/microphone",
|
||||||
"custom/randwall",
|
"custom/randwall",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
// "custom/vpn",
|
|
||||||
"custom/notification",
|
|
||||||
"backlight",
|
"backlight",
|
||||||
"battery",
|
"battery",
|
||||||
"tray",
|
// "tray",
|
||||||
"clock"
|
// "clock",
|
||||||
|
"group/tray-expander"
|
||||||
],
|
],
|
||||||
"output": [
|
"output": [
|
||||||
"eDP-1"
|
"eDP-1"
|
||||||
]
|
],
|
||||||
|
"group/tray-expander": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 600,
|
||||||
|
"children-class": "tray-group-item"
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
"custom/expand-icon",
|
||||||
|
"tray",
|
||||||
|
"custom/notification",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"custom/expand-icon": {
|
||||||
|
"format": " ",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"spacing": 12
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"on-click": "$TERMINAL --class=Wiremix -e wiremix",
|
||||||
|
"on-click-right": "pamixer -t",
|
||||||
|
"tooltip-format": "Playing at {volume}%",
|
||||||
|
"scroll-step": 5,
|
||||||
|
"format-muted": "",
|
||||||
|
"format-icons": {
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"battery": {
|
||||||
|
"format": "{capacity}% {icon}",
|
||||||
|
"format-discharging": "{icon}",
|
||||||
|
"format-charging": "{icon}",
|
||||||
|
"format-plugged": "",
|
||||||
|
"format-icons": {
|
||||||
|
"charging": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"format-full": "",
|
||||||
|
"tooltip-format-discharging": "{power:>1.0f}W↓ {capacity}%",
|
||||||
|
"tooltip-format-charging": "{power:>1.0f}W↑ {capacity}%",
|
||||||
|
"interval": 5,
|
||||||
|
"states": {
|
||||||
|
"warning": 20,
|
||||||
|
"critical": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
// "custom/vpn": {
|
// "custom/vpn": {
|
||||||
// "format": "{}",
|
// "format": "{}",
|
||||||
// "return-type": "json",
|
// "return-type": "json",
|
||||||
|
|
|
||||||
|
|
@ -141,9 +141,11 @@ tooltip {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ export ZDOTDIR=${ZDOTDIR:-~/.config/zsh}
|
||||||
|
|
||||||
# Auto-start Sway on first virtual terminal
|
# Auto-start Sway on first virtual terminal
|
||||||
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
||||||
#exec niri
|
|
||||||
exec sway
|
exec sway
|
||||||
# exec niri
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ if command -v bombadil &> /dev/null; then _lazy_load_completion bombadil "bombad
|
||||||
if command -v rop &> /dev/null; then eval "$(rop completion zsh)"; fi
|
if command -v rop &> /dev/null; then eval "$(rop completion zsh)"; fi
|
||||||
if command -v goq &> /dev/null; then eval "$(goq completion zsh)"; fi
|
if command -v goq &> /dev/null; then eval "$(goq completion zsh)"; fi
|
||||||
if command -v drop &> /dev/null; then eval "$(drop completion zsh)"; fi
|
if command -v drop &> /dev/null; then eval "$(drop completion zsh)"; fi
|
||||||
|
if command -v mora &> /dev/null; then eval "$(mora completion zsh)"; fi
|
||||||
|
|
||||||
# Custom completion for kf function using kubectx contexts
|
# Custom completion for kf function using kubectx contexts
|
||||||
_kf_completion() {
|
_kf_completion() {
|
||||||
|
|
@ -60,7 +61,7 @@ _yay_completion() {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# For zsh:
|
|
||||||
_yay_zsh_completion() {
|
_yay_zsh_completion() {
|
||||||
local -a opts
|
local -a opts
|
||||||
opts=(
|
opts=(
|
||||||
|
|
@ -72,11 +73,13 @@ _yay_zsh_completion() {
|
||||||
'-Q:List installed'
|
'-Q:List installed'
|
||||||
'-Si:Package info'
|
'-Si:Package info'
|
||||||
'-Sc:Clean cache'
|
'-Sc:Clean cache'
|
||||||
|
'-p:Open nix-shell with packages'
|
||||||
'help:Show help'
|
'help:Show help'
|
||||||
'install:Install to user env'
|
'install:Install to user env'
|
||||||
'remove:Remove from user env'
|
'remove:Remove from user env'
|
||||||
'list:List installed packages'
|
'list:List installed packages'
|
||||||
'clean:Clean nix store'
|
'clean:Clean nix store'
|
||||||
|
'shell:Start nix-shell with packages'
|
||||||
)
|
)
|
||||||
_describe 'yay commands' opts
|
_describe 'yay commands' opts
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -732,6 +732,7 @@ yay() {
|
||||||
echo "Searching for '$2'..."
|
echo "Searching for '$2'..."
|
||||||
nix search nixpkgs "$2" 2>/dev/null || nix-env -qaP | grep -i "$2"
|
nix search nixpkgs "$2" 2>/dev/null || nix-env -qaP | grep -i "$2"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Install package to user environment
|
# Install package to user environment
|
||||||
install|"-S")
|
install|"-S")
|
||||||
[ -z "$2" ] && { echo "Usage: yay install <package>"; return 1; }
|
[ -z "$2" ] && { echo "Usage: yay install <package>"; return 1; }
|
||||||
|
|
@ -752,6 +753,17 @@ yay() {
|
||||||
nix-env -q
|
nix-env -q
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# nix-shell quick run
|
||||||
|
shell|"-p")
|
||||||
|
shift
|
||||||
|
if [ $# -eq 0 ]; then
|
||||||
|
echo "Usage: yay shell <pkg1> [pkg2 ...]"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
echo "Starting nix-shell with: $*"
|
||||||
|
nix-shell -p "$@"
|
||||||
|
;;
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
clean|"-Sc")
|
clean|"-Sc")
|
||||||
echo "Cleaning nix store..."
|
echo "Cleaning nix store..."
|
||||||
|
|
@ -770,9 +782,10 @@ Commands:
|
||||||
yay search <pkg> Search packages
|
yay search <pkg> Search packages
|
||||||
yay install <pkg> Install package (user)
|
yay install <pkg> Install package (user)
|
||||||
yay remove <pkg> Remove package
|
yay remove <pkg> Remove package
|
||||||
yay list List installed packages
|
yay list List installed packages
|
||||||
yay clean Clean package cache
|
yay shell <pkg...> Start nix-shell with packages
|
||||||
yay help Show this help
|
yay clean Clean package cache
|
||||||
|
yay help Show this help
|
||||||
|
|
||||||
Note: For system packages, edit ~/.config/nixos/configuration.nix
|
Note: For system packages, edit ~/.config/nixos/configuration.nix
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue