2026-06-06 update
This commit is contained in:
parent
2c0e14201c
commit
e7fa23c84b
23 changed files with 127 additions and 103 deletions
|
|
@ -4,8 +4,7 @@ if [[ -z ${ZELLIJ} ]] && command -v zellij; then
|
|||
zellij && exit
|
||||
fi
|
||||
|
||||
|
||||
if [[ ! -f /usr/share/terminfo/a/alacritty ]];then
|
||||
if [[ ! -f /usr/share/terminfo/a/alacritty ]]; then
|
||||
export TERM=xterm-256color
|
||||
fi
|
||||
|
||||
|
|
@ -33,6 +32,8 @@ findfile() {
|
|||
alias p="ps aux |grep "
|
||||
#open file
|
||||
alias o="open "
|
||||
alias bat="batcat"
|
||||
alias cat="batcat"
|
||||
#find large files
|
||||
#alias find_largest_files="du -h -x -s -- * | sort -r -h | head -20"
|
||||
#alias nano="hx"
|
||||
|
|
@ -209,7 +210,7 @@ export GIT_AUTHOR_NAME="Penelope Gwen"
|
|||
export GIT_AUTHOR_EMAIL="penelope@pogmom.me"
|
||||
|
||||
[[ -d $HOME/.local/bin ]] && export PATH="$HOME/.local/bin:$PATH"
|
||||
if [[ -d $HOME/.cargo/bin ]] && [[ ! ":$PATH:" == *":$HOME/.cargo:"* ]];then
|
||||
if [[ -d $HOME/.cargo/bin ]] && [[ ! ":$PATH:" == *":$HOME/.cargo:"* ]]; then
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
fi
|
||||
#[[ -d $HOME/.rustup/toolchains/nightly-$(uname -m)-unknown-linux-gnu/bin ]] && export PATH="$HOME/.rustup/toolchains/nightly-$(uname -m)-unknown-linux-gnu/bin:$PATH"
|
||||
|
|
@ -223,7 +224,7 @@ fi
|
|||
|
||||
MISSING_CMDS=()
|
||||
|
||||
if type starship >/dev/null 2>&1;then
|
||||
if type starship >/dev/null 2>&1; then
|
||||
eval "$(starship init bash)"
|
||||
else
|
||||
MISSING_CMDS+=("starship")
|
||||
|
|
@ -231,26 +232,27 @@ else
|
|||
TPUT_MAGENTA_BG="$(tput setab 5)$(tput setaf 0)"
|
||||
TPUT_MAGENTA="$(tput sgr0)$(tput setaf 5)"
|
||||
TPUT_BLACK="$(tput sgr0)$(tput setaf 0)"
|
||||
prompt_prefix=$(awk '{$1=$1};1' <<< "${prompt_prefix}");export prompt_prefix
|
||||
prompt_prefix=$(awk '{$1=$1};1' <<<"${prompt_prefix}")
|
||||
export prompt_prefix
|
||||
PS1='\[\e[1m\e[95m\]${prompt_prefix}\[\e[m\]\[${TPUT_MAGENTA_BG}▓▒░ \u ${TPUT_MAGENTA} ${TPUT_RED} ${TPUT_MAGENTA}$(hostname | cut -d - -f 3-) ${TPUT_BLACK} \[\[\e[01;34m\]$(pwd|sed "s|${HOME}|~|"|perl -pe "s/(?<!(^~))(\\/.*)(?=\\/.*\\/)/\\/…/s")\[\e[00m\]\n\$ '
|
||||
fi
|
||||
|
||||
if type npm >/dev/null 2>&1;then
|
||||
if type npm >/dev/null 2>&1; then
|
||||
export NODE_PATH=$HOME/.local/lib/node_modules:$NODE_PATH
|
||||
export npm_config_prefix=$HOME/.local
|
||||
fi
|
||||
|
||||
if type pyenv >/dev/null 2>&1;then
|
||||
if type pyenv >/dev/null 2>&1; then
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init - bash)"
|
||||
fi
|
||||
|
||||
if type hx >/dev/null 2>&1;then
|
||||
EDITOR=$(which hx)
|
||||
GIT_EDITOR="$(which hx)"
|
||||
if type nvim >/dev/null 2>&1; then
|
||||
EDITOR=$(which nvim)
|
||||
GIT_EDITOR="$(which nvim)"
|
||||
else
|
||||
MISSING_CMDS+=("hx")
|
||||
MISSING_CMDS+=("nvim")
|
||||
EDITOR=$(which nano)
|
||||
GIT_EDITOR="$(which nano)"
|
||||
fi
|
||||
|
|
@ -263,12 +265,12 @@ export VISUAL="${EDITOR}"
|
|||
bind 'set show-all-if-ambiguous on'
|
||||
bind 'set completion-ignore-case on'
|
||||
|
||||
if type hyfetch >/dev/null 2>&1;then
|
||||
if type hyfetch >/dev/null 2>&1; then
|
||||
hyfetch 2>/dev/null
|
||||
else
|
||||
MISSING_CMDS+=("hyfetch")
|
||||
fi
|
||||
|
||||
if [[ "${#MISSING_CMDS[@]}" -gt 0 ]];then
|
||||
if [[ "${#MISSING_CMDS[@]}" -gt 0 ]]; then
|
||||
printf "Missing commands: %s\n" ${MISSING_CMDS[@]}
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -4,9 +4,6 @@ update_info=filepicker.upd:filepicker-remove-old-previews-entry
|
|||
[AdaptiveTransparency]
|
||||
enabled=true
|
||||
|
||||
[Colors:View]
|
||||
BackgroundNormal=215,175,175,0
|
||||
|
||||
[ContrastEffect]
|
||||
contrast=0.2
|
||||
enabled=false
|
||||
|
|
|
|||
|
|
@ -1,13 +1,9 @@
|
|||
[[servers]]
|
||||
address = "mc.pogmom.me"
|
||||
edition = "java"
|
||||
[[servers]]
|
||||
address = "ian.hotn.gay"
|
||||
edition = "java"
|
||||
#[[servers]]
|
||||
# address = "ian.hotn.gay"
|
||||
# edition = "java"
|
||||
[[servers]]
|
||||
address = "mc.eugenesca.com"
|
||||
edition = "java"
|
||||
[[servers]]
|
||||
address = "mc.eugenesca.com"
|
||||
edition = "bedrock"
|
||||
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ user_pref("browser.urlbar.switchTabs.adoptIntoActiveWindow",true);
|
|||
|
||||
user_pref("ui.systemUsesDarkTheme", 1);
|
||||
|
||||
user_pref("widget.gtk.libadwaita-colors.enabled", false);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"color": {
|
||||
"r": "215",
|
||||
"r": "135",
|
||||
"g": "175",
|
||||
"b": "135",
|
||||
"a": "0.2"
|
||||
|
|
|
|||
|
|
@ -218,4 +218,5 @@ user_pref("browser.urlbar.switchTabs.adoptIntoActiveWindow",true);
|
|||
|
||||
user_pref("ui.systemUsesDarkTheme", 1);
|
||||
|
||||
user_pref("widget.gtk.libadwaita-colors.enabled", false);
|
||||
user_pref("privacy.resistFingerprinting.exemptedDomains", "*.pogmom.me,*.pog.mom");
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
}
|
||||
:root {
|
||||
--tabpanel-background-color: #11131766 !important;
|
||||
--toolbar-bgcolor: #d7af8733 !important;
|
||||
--toolbar-bgcolor: #87af8733 !important;
|
||||
--toolbar-field-background-color: transparent !important;
|
||||
--urlbar-box-bgcolor: transparent !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ NOTE: You can use the userContent.css file without change preferences (about:con
|
|||
--tabs-height: 30px !important;
|
||||
--nav-btn-width: 30px !important;
|
||||
--nav-btn-height: 28px !important;
|
||||
--active-el-bg: #d7af8733 !important;
|
||||
--active-el-bg: #87af8733 !important;
|
||||
--tabs-border-radius: 8px !important;
|
||||
|
||||
@media -moz-pref("browser.tabs.allow_transparent_browser") and (not (-moz-platform: windows)) {
|
||||
|
|
|
|||
|
|
@ -218,4 +218,5 @@ user_pref("browser.urlbar.switchTabs.adoptIntoActiveWindow",true);
|
|||
|
||||
user_pref("ui.systemUsesDarkTheme", 1);
|
||||
|
||||
user_pref("widget.gtk.libadwaita-colors.enabled", false);
|
||||
user_pref("privacy.resistFingerprinting.exemptedDomains", "*.pogmom.me,*.pog.mom");
|
||||
|
|
|
|||
|
|
@ -218,5 +218,6 @@ user_pref("browser.urlbar.switchTabs.adoptIntoActiveWindow",true);
|
|||
|
||||
user_pref("ui.systemUsesDarkTheme", 1);
|
||||
|
||||
user_pref("widget.gtk.libadwaita-colors.enabled", false);
|
||||
user_pref("privacy.resistFingerprinting.exemptedDomains", "*.pogmom.me,*.pog.mom,mail.proton.me,*.eugenesca.com");
|
||||
user_pref("browser.display.use_document_fonts", 1);
|
||||
|
|
|
|||
|
|
@ -218,4 +218,5 @@ user_pref("browser.urlbar.switchTabs.adoptIntoActiveWindow",true);
|
|||
|
||||
user_pref("ui.systemUsesDarkTheme", 1);
|
||||
|
||||
user_pref("widget.gtk.libadwaita-colors.enabled", false);
|
||||
user_pref("privacy.resistFingerprinting.exemptedDomains", "*.pogmom.me,*.pog.mom,*.lanecc.edu,mail.google.com");
|
||||
|
|
|
|||
|
|
@ -218,6 +218,7 @@ user_pref("browser.urlbar.switchTabs.adoptIntoActiveWindow",true);
|
|||
|
||||
user_pref("ui.systemUsesDarkTheme", 1);
|
||||
|
||||
user_pref("widget.gtk.libadwaita-colors.enabled", false);
|
||||
user_pref("privacy.resistFingerprinting.exemptedDomains", "*.pogmom.me,*.pog.mom,app.slack.com,na01.alma.exlibrisgroup.com,mail.google.com,*.livechatinc.com,*.lanecc.edu");
|
||||
user_pref("dom.webgpu.enabled",true);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir -p "${HOME/.cache/sway/logs/$(date +%Y%m%d).log 2>&1}"
|
||||
alias sway="sway >> ${HOME/.cache/sway/logs/$(date +%Y%m%d).log 2>&1}"
|
||||
#alias sway="sway >> ${HOME/.cache/sway/logs/$(date +%Y%m%d).log 2>&1}"
|
||||
|
||||
ala() {
|
||||
if [[ -z ${1} ]];then
|
||||
if [[ -z ${1} ]]; then
|
||||
ALACRITTY_OPEN_DIR="$(pwd)"
|
||||
else
|
||||
if [[ ${1:0:1} == "~" ]];then
|
||||
if [[ ${1:0:1} == "~" ]]; then
|
||||
ALACRITTY_OPEN_DIR="$(realpath """${1/\~/${HOME}}""")"
|
||||
else
|
||||
ALACRITTY OPEN_DIR="$(realpath """${1}""")"
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ window_icons = [
|
|||
[""," - VSCodium"],
|
||||
[""," — Dolphin"]
|
||||
]
|
||||
wallpaper_path = "~/.config/sway-de-utils/wallpaper"
|
||||
|
||||
# Programs
|
||||
[programs.filemanager]
|
||||
|
|
@ -101,7 +102,7 @@ suspend_cmd = ["systemctl", "suspend"]
|
|||
browser = [ "Development", "--new-window", "https://hass.pogmom.me" ]
|
||||
browser_newtab = [ "Development", "--new-tab", "https://hass.pogmom.me" ]
|
||||
filemanager = [ "~/Development" ]
|
||||
terminal = [ "~/Development", "-e", "zellij", "--layout", "strider" ]
|
||||
terminal = [ "~/Development", "-e", "zellij" ]
|
||||
[[profiles.scripts]]
|
||||
name = "server-dell-7050sff-debian"
|
||||
icon = ""
|
||||
|
|
|
|||
|
|
@ -3,29 +3,31 @@ exec {
|
|||
ydotoold
|
||||
autotiling-rs
|
||||
nm-applet
|
||||
blueman-applet
|
||||
copyq --start-server
|
||||
swayidle
|
||||
swaync
|
||||
# blueman-applet
|
||||
# copyq --start-server
|
||||
# swayidle
|
||||
# swaync
|
||||
'/usr/bin/kdeconnectd'
|
||||
'/usr/lib/$(uname -m)-linux-gnu/libexec/polkit-kde-authentication-agent-1'
|
||||
udiskie -at
|
||||
'sleep 5;nextcloud --background'
|
||||
'sleep 5;flatpak run com.hunterwittenborn.Celeste --background'
|
||||
# 'sleep 5;flatpak run com.hunterwittenborn.Celeste --background'
|
||||
# 'sleep 5;rssguard'
|
||||
# 'sleep 5;tokodon'
|
||||
'sleep 5;gtk-launch org.signal.Signal'
|
||||
'diskspace-check'
|
||||
'uptime-check'
|
||||
poweralertd
|
||||
wl-paste --watch cliphist store
|
||||
# poweralertd
|
||||
# wl-paste --watch cliphist store
|
||||
'swayrd'
|
||||
kanshi
|
||||
dms run
|
||||
rbw-agent
|
||||
}
|
||||
|
||||
# Run on reload
|
||||
exec_always {
|
||||
'eww kill;killall eww;eww daemon'
|
||||
}
|
||||
#exec_always {
|
||||
# 'eww kill;killall eww;eww daemon'
|
||||
#}
|
||||
|
||||
include $HOME/.config/sway/config.d/autostart.d/*
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
# Output settings
|
||||
include $HOME/.config/sway/config.d/display.d/*
|
||||
|
||||
exec_always "killall multibg-wayland;multibg-wayland ~/.config/sway/assets/wallpaper/"
|
||||
exec_always $HOME/.config/sway/scripts/open-eww-windows.sh $overview_display
|
||||
#exec_always "killall multibg-wayland;multibg-wayland ~/.config/sway/assets/wallpaper/"
|
||||
#exec_always "pkill -f 'sdu dms profile-wallpaper';sleep 1; sdu dms profile-wallpaper"
|
||||
|
||||
exec_always $HOME/.config/sway/scripts/dms-wallpaper.sh
|
||||
|
||||
#exec_always $HOME/.config/sway/scripts/open-eww-windows.sh $overview_display
|
||||
|
|
|
|||
|
|
@ -6,25 +6,33 @@ bindsym {
|
|||
#floating terminal
|
||||
$mod+Shift+Return exec timeout 3s $HOME/.config/sway/scripts/exec-float alacritty
|
||||
#launcher
|
||||
$mod+d exec $menu
|
||||
# $mod+d exec $menu
|
||||
$mod+d exec dms ipc launcher toggle
|
||||
# $mod+d exec dms ipc widget openWith launcherButton apps
|
||||
$mod+Shift+d exec dms ipc widget openWith launcherButton plugins
|
||||
#launcher reload
|
||||
$mod+Shift+d exec 'kbuildsycoca6;update-menus;$menu'
|
||||
# $mod+Shift+d exec 'kbuildsycoca6;update-menus;$menu'
|
||||
#lockscreen
|
||||
$mod+l exec sdu lock
|
||||
$mod+l exec loginctl lock-session
|
||||
#profile manager
|
||||
$mod+Shift+p exec sdu profile list --mode dmenu | wofi --show dmenu | cut -d' ' -f2- | xargs -I "{}" -- sdu profile switch to "{}"
|
||||
#sway notification center
|
||||
$mod+Shift+n exec swaync-client -t -sw
|
||||
# $mod+Shift+n exec swaync-client -t -sw
|
||||
$mod+n exec dms ipc notifications toggle
|
||||
#power menu
|
||||
$mod+Shift+e exec sdu power | wofi --show dmenu | awk '{print tolower($2)}' | xargs -I "{}" -- sdu power "{}"
|
||||
# $mod+Shift+e exec sdu power | wofi --show dmenu | awk '{print tolower($2)}' | xargs -I "{}" -- sdu power "{}"
|
||||
$mod+Shift+e exec dms ipc powermenu open
|
||||
# $mod+Shift+e exec dms ipc fullscreenPowerMenu toggle
|
||||
#screenshot
|
||||
$mod+Shift+s exec "$HOME/.config/sway/scripts/screenshot.sh"
|
||||
#clipboard
|
||||
$mod+v exec cliphist list | wofi --show dmenu | cliphist decode | wl-copy
|
||||
$mod+Shift+v exec cliphist list | wofi --show dmenu | cliphist delete
|
||||
# $mod+v exec cliphist list | wofi --show dmenu | cliphist decode | wl-copy
|
||||
# $mod+Shift+v exec cliphist list | wofi --show dmenu | cliphist delete
|
||||
$mod+v exec dms ipc clipboard open
|
||||
#desktop widgets
|
||||
## $mod+w exec eww open --toggle --screen "$(swaymsg -t get_outputs | jq -r '.[]|select(.focused==true).model')" home
|
||||
$mod+w exec '$HOME/.config/sway/scripts/eww-toggle.sh homewidgets_reveal'
|
||||
# $mod+w exec '$HOME/.config/sway/scripts/eww-toggle.sh homewidgets_reveal'
|
||||
$mod+w exec dms ipc call desktopWidget toggleOverlay dw_1780520004301_coydaxdgr
|
||||
#profile shortcuts
|
||||
$mod+shift+o exec sdu profile shortcuts get --mode dmenu | wofi --show dmenu | cut -d' ' -f2- | xargs -I "{}" -- sdu profile shortcuts execute "{}"
|
||||
#global shortcuts
|
||||
|
|
@ -35,13 +43,13 @@ bindsym {
|
|||
#file browser
|
||||
$mod+shift+f exec 'sdu launch --program filemanager'
|
||||
#calculator
|
||||
$mod+c exec "$HOME/.config/sway/scripts/wofi-calc.sh"
|
||||
# $mod+c exec "$HOME/.config/sway/scripts/wofi-calc.sh"
|
||||
#sticky notes
|
||||
$mod+shift+m exec stickynotes
|
||||
$mod+shift+m exec dms ipc notepad toggle
|
||||
#gocryptfs
|
||||
$mod+shift+g exec gocryptfs-wofi
|
||||
#emoji
|
||||
$mod+e exec "$HOME/.config/sway/scripts/wofi-emoji"
|
||||
# $mod+e exec "$HOME/.config/sway/scripts/wofi-emoji"
|
||||
#macros
|
||||
$mod+m exec "$HOME/.config/sway/scripts/wofi-macros"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#enable wob
|
||||
set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock
|
||||
exec_always 'killall wob; rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob'
|
||||
#exec_always 'killall wob; rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob'
|
||||
|
||||
bindsym {
|
||||
# Volume Keys
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
# Spacing between windows and edges
|
||||
gaps inner 10
|
||||
gaps outer 0
|
||||
#gaps top -10
|
||||
#gaps left -10
|
||||
workspace 0: {
|
||||
|
|
@ -10,7 +10,7 @@ workspace 0: {
|
|||
|
||||
# Border styling
|
||||
#default_border pixel 3
|
||||
default_border pixel 2
|
||||
default_border pixel 0
|
||||
default_floating_border pixel 1
|
||||
|
||||
# Borders
|
||||
|
|
@ -19,13 +19,31 @@ client.focused_inactive $color566 $color599 $color0 $color566
|
|||
client.unfocused $color566 $color0aa $color566 $color566
|
||||
|
||||
set {
|
||||
$layer_blur blur enable, blur_ignore_transparent enable, corner_radius 10
|
||||
$eww_blur blur enable, blur_ignore_transparent enable, shadows disable, corner_radius 12, blur_xray enable
|
||||
$layer_blur blur enable, blur_ignore_transparent enable, corner_radius 8
|
||||
$eww_blur blur enable, blur_ignore_transparent enable, shadows disable, corner_radius 8, blur_xray enable
|
||||
}
|
||||
|
||||
# Blur
|
||||
layer_effects {
|
||||
"eww-bar" $eww_blur
|
||||
"dms:bar" $eww_blur
|
||||
"dms:dash" $eww_blur
|
||||
"dms:control-center" $eww_blur
|
||||
"dms:app-launcher" $eww_blur
|
||||
"dms:dock" $eww_blur
|
||||
"dms:tooltip" $eww_blur
|
||||
"dms:notification-popup" $eww_blur
|
||||
"dms:power-menu" $eww_blur
|
||||
"dms:clipboard-popout" $layer_blur
|
||||
"dms:slideout" $layer_blur
|
||||
"dms:battery" $layer_blur
|
||||
"dms:notification-center-popout" $layer_blur
|
||||
"dms:frame" $eww_blur
|
||||
"dms:tray-menu-window" $eww_blur
|
||||
"dms:dock-context-menu" $eww_blur
|
||||
"dms:color-picker" $eww_blur
|
||||
"dms:plugins:plugin" $eww_blur
|
||||
"dms:spotlight" $eww_blur
|
||||
"wofi" $layer_blur
|
||||
"worf" $layer_blur
|
||||
"gtk_layer_shell" $layer_blur
|
||||
|
|
@ -34,18 +52,18 @@ layer_effects {
|
|||
"wob" blur enable; shadows enable; corner_radius 10
|
||||
}
|
||||
|
||||
blur_brightness 0.9
|
||||
blur_brightness 0.5
|
||||
blur enable
|
||||
blur_radius 3
|
||||
blur_noise 0
|
||||
blur_contrast 1
|
||||
blur_saturation 0.95
|
||||
|
||||
shadows enable
|
||||
shadows disable
|
||||
shadow_color $color5aa
|
||||
shadow_inactive_color $color088
|
||||
shadow_blur_radius 10
|
||||
corner_radius 4
|
||||
corner_radius 0
|
||||
smart_corner_radius enable
|
||||
|
||||
exec '$HOME/.config/sway/scripts/inactive-windows-transparency.py -o 0.9'
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
operation="${1}"
|
||||
WOBSOCK="$XDG_RUNTIME_DIR/wob.sock"
|
||||
source "${HOME}/.config/de-vars/colors/active/colors.sh"
|
||||
opacity="DD"
|
||||
|
||||
case "$operation" in
|
||||
up)
|
||||
|
|
@ -15,7 +12,6 @@ case "$operation" in
|
|||
brighness_change="5%-"
|
||||
;;&
|
||||
up|down)
|
||||
light_lvl="$(brightnessctl set ${brighness_change} | sed -En 's/.*\(([0-9]+)%\).*/\1/p')"
|
||||
echo "${light_lvl}" "${de_color_0}${opacity}" "${de_color_13}${opacity}" "${de_color_11}${opacity}" > "$WOBSOCK"
|
||||
brightnessctl set "${brighness_change}"
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
operation="${1}"
|
||||
WOBSOCK="$XDG_RUNTIME_DIR/wob.sock"
|
||||
source "${HOME}/.config/de-vars/colors/active/colors.sh"
|
||||
opacity="DD"
|
||||
|
||||
case "$operation" in
|
||||
up)
|
||||
|
|
@ -15,13 +12,8 @@ case "$operation" in
|
|||
mute)
|
||||
pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
;;&
|
||||
up|down|mute)
|
||||
if [ "$(pactl get-sink-mute @DEFAULT_SINK@)" = "Mute: yes" ];then
|
||||
vol_lvl="0"
|
||||
else
|
||||
vol_lvl="$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | sed 's/[^0-9]//g')"
|
||||
fi
|
||||
echo "${vol_lvl}" "${de_color_0}${opacity}" "${de_color_13}${opacity}" "${de_color_10}${opacity}" > "$WOBSOCK"
|
||||
paplay "$HOME/.config/sway/assets/sounds/volume.ogg"
|
||||
;;
|
||||
# up|down|mute)
|
||||
# paplay "$HOME/.config/sway/assets/sounds/volume.ogg"
|
||||
# ;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@ width=400
|
|||
height=400
|
||||
#lines=5
|
||||
hide_scroll=true
|
||||
colors=../de-vars/colors/active/colors
|
||||
#colors=./wofi-colors
|
||||
colors=/home/pogmommy/.config/wofi/wofi-colors
|
||||
#key_expand=Right
|
||||
dynamic_lines=true
|
||||
#line_wrap=char
|
||||
|
|
|
|||
|
|
@ -3,22 +3,20 @@
|
|||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
/*@import "/home/pogmommy/.config/de-vars/colors/active/gtk-define-rgb.css";*/
|
||||
|
||||
@define-color window-border-color rgba(--wofi-rgb-color5,1);
|
||||
@define-color foreground-color rgba(--wofi-rgb-color13,0.5);
|
||||
@define-color foreground-shadow-color rgba(--wofi-rgb-color0,1);
|
||||
@define-color active-foreground-color rgba(--wofi-rgb-color13,1);
|
||||
@define-color window-background-color rgba(--wofi-rgb-color0,0.6);
|
||||
@define-color button-background-color rgba(--wofi-rgb-color5,0.15);
|
||||
@define-color button-background-active-color rgba(--wofi-rgb-color5,0.5);
|
||||
@define-color transparent-color rgba(--wofi-rgb-color0,0);
|
||||
@define-color window-border-color rgba(--wofi-rgb-color5, 1);
|
||||
@define-color foreground-color rgba(--wofi-rgb-color13, 0.5);
|
||||
@define-color foreground-shadow-color rgba(--wofi-rgb-color0, 1);
|
||||
@define-color active-foreground-color rgba(--wofi-rgb-color13, 1);
|
||||
@define-color window-background-color rgba(--wofi-rgb-color0, 0.6);
|
||||
@define-color button-background-color rgba(--wofi-rgb-color5, 0.15);
|
||||
@define-color button-background-active-color rgba(--wofi-rgb-color5, 0.5);
|
||||
@define-color transparent-color rgba(--wofi-rgb-color0, 0);
|
||||
|
||||
window {
|
||||
border: 2px solid @window-border-color;
|
||||
background-color: @transparent-color;
|
||||
border-radius:10px;
|
||||
/* opacity:0.25;*/
|
||||
border-radius: 10px;
|
||||
/* opacity:0.25;*/
|
||||
}
|
||||
|
||||
#input {
|
||||
|
|
@ -26,22 +24,22 @@ window {
|
|||
border: 0px solid @transparent-color;
|
||||
background-color: @transparent-color;
|
||||
color: @active-foreground-color;
|
||||
border-radius:10px;
|
||||
border-radius: 10px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
margin: 5px;
|
||||
border: 0px solid rgba(--wofi-rgb-color0,0);
|
||||
border: 0px solid rgba(--wofi-rgb-color0, 0);
|
||||
background-color: transparent;
|
||||
border-radius:10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
margin: 2px;
|
||||
border: 0px solid @transparent-color;
|
||||
background-color: @window-background-color;
|
||||
border-radius:6px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
|
|
@ -52,19 +50,21 @@ window {
|
|||
margin: 5px;
|
||||
padding: 0px 5px;
|
||||
color: @foreground-color;
|
||||
text-shadow: 0px 0px 2px @foreground-shadow-color,0px 0px 6px @foreground-shadow-color;
|
||||
text-shadow: 0px 0px 2px @foreground-shadow-color, 0px 0px 6px @foreground-shadow-color;
|
||||
}
|
||||
|
||||
#text:selected {
|
||||
color: @active-foreground-color;
|
||||
}
|
||||
|
||||
#entry{
|
||||
#entry {
|
||||
border: 0px solid @transparent-color;
|
||||
border-radius: 10px;
|
||||
background-color: @button-background-color;
|
||||
margin:10px;
|
||||
margin: 10px;
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: @button-background-active-color;
|
||||
outline: none;
|
||||
|
|
@ -73,6 +73,7 @@ window {
|
|||
#img {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#img:selected {
|
||||
opacity: 1;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue