From e7fa23c84b379bdb8171789d64ff9d95ffba6a00 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Sat, 6 Jun 2026 17:10:17 -0700 Subject: [PATCH] 2026-06-06 update --- default/bashrc.d/default | 30 +++++++------ graphical/config/kdeglobals | 3 -- graphical/config/mc-server-info/config.toml | 10 ++--- graphical/librewolf/config/js/global.js | 1 + .../config/profiles/housing/vars.json | 4 +- graphical/librewolf/development/user.js | 1 + .../librewolf/housing/chrome/userChrome.css | 2 +- .../librewolf/housing/chrome/userContent.css | 2 +- graphical/librewolf/housing/user.js | 1 + graphical/librewolf/penelope/user.js | 1 + graphical/librewolf/school/user.js | 1 + graphical/librewolf/work/user.js | 1 + wayland/bashrc.d/wayland | 6 +-- wayland/config/sway-de-utils/config.toml | 3 +- wayland/config/sway/config.d/autostart | 22 +++++----- wayland/config/sway/config.d/display | 8 +++- wayland/config/sway/config.d/keys.d/launch | 30 ++++++++----- wayland/config/sway/config.d/keys.d/special | 4 +- wayland/config/sway/config.d/layout | 32 +++++++++++--- wayland/config/sway/scripts/brightness.sh | 6 +-- wayland/config/sway/scripts/volume.sh | 16 ++----- wayland/config/wofi/config | 3 +- wayland/config/wofi/style.css | 43 ++++++++++--------- 23 files changed, 127 insertions(+), 103 deletions(-) diff --git a/default/bashrc.d/default b/default/bashrc.d/default index a0603d3..5c22da8 100755 --- a/default/bashrc.d/default +++ b/default/bashrc.d/default @@ -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" @@ -81,7 +82,7 @@ devpod-arm() { #} show_colour() { - perl -e 'foreach $a(@ARGV){print "\e[48:2::".join(":",unpack("C*",pack("H*",$a)))."m \e[49m "};print "\n"' "$@" + perl -e 'foreach $a(@ARGV){print "\e[48:2::".join(":",unpack("C*",pack("H*",$a)))."m \e[49m "};print "\n"' "$@" } simplewebserver() { @@ -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/(?/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 diff --git a/graphical/config/kdeglobals b/graphical/config/kdeglobals index afb635c..2a52f10 100644 --- a/graphical/config/kdeglobals +++ b/graphical/config/kdeglobals @@ -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 diff --git a/graphical/config/mc-server-info/config.toml b/graphical/config/mc-server-info/config.toml index 5028c68..55dcfdd 100644 --- a/graphical/config/mc-server-info/config.toml +++ b/graphical/config/mc-server-info/config.toml @@ -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" - diff --git a/graphical/librewolf/config/js/global.js b/graphical/librewolf/config/js/global.js index ee6074c..4f95969 100644 --- a/graphical/librewolf/config/js/global.js +++ b/graphical/librewolf/config/js/global.js @@ -20,3 +20,4 @@ user_pref("browser.urlbar.switchTabs.adoptIntoActiveWindow",true); user_pref("ui.systemUsesDarkTheme", 1); +user_pref("widget.gtk.libadwaita-colors.enabled", false); diff --git a/graphical/librewolf/config/profiles/housing/vars.json b/graphical/librewolf/config/profiles/housing/vars.json index 88635a9..bb19828 100644 --- a/graphical/librewolf/config/profiles/housing/vars.json +++ b/graphical/librewolf/config/profiles/housing/vars.json @@ -1,6 +1,6 @@ { "color": { - "r": "215", + "r": "135", "g": "175", "b": "135", "a": "0.2" @@ -11,4 +11,4 @@ "b": "23", "a": "0.4" } -} +} \ No newline at end of file diff --git a/graphical/librewolf/development/user.js b/graphical/librewolf/development/user.js index 1c275b4..162697a 100644 --- a/graphical/librewolf/development/user.js +++ b/graphical/librewolf/development/user.js @@ -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"); diff --git a/graphical/librewolf/housing/chrome/userChrome.css b/graphical/librewolf/housing/chrome/userChrome.css index 7004511..f0ba7ef 100644 --- a/graphical/librewolf/housing/chrome/userChrome.css +++ b/graphical/librewolf/housing/chrome/userChrome.css @@ -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; } diff --git a/graphical/librewolf/housing/chrome/userContent.css b/graphical/librewolf/housing/chrome/userContent.css index b4fb61a..1a81a9b 100644 --- a/graphical/librewolf/housing/chrome/userContent.css +++ b/graphical/librewolf/housing/chrome/userContent.css @@ -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)) { diff --git a/graphical/librewolf/housing/user.js b/graphical/librewolf/housing/user.js index 1c275b4..162697a 100644 --- a/graphical/librewolf/housing/user.js +++ b/graphical/librewolf/housing/user.js @@ -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"); diff --git a/graphical/librewolf/penelope/user.js b/graphical/librewolf/penelope/user.js index 728acde..bf8ddad 100644 --- a/graphical/librewolf/penelope/user.js +++ b/graphical/librewolf/penelope/user.js @@ -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); diff --git a/graphical/librewolf/school/user.js b/graphical/librewolf/school/user.js index 27bd040..ebb7385 100644 --- a/graphical/librewolf/school/user.js +++ b/graphical/librewolf/school/user.js @@ -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"); diff --git a/graphical/librewolf/work/user.js b/graphical/librewolf/work/user.js index 943a6e5..f3022ca 100644 --- a/graphical/librewolf/work/user.js +++ b/graphical/librewolf/work/user.js @@ -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); diff --git a/wayland/bashrc.d/wayland b/wayland/bashrc.d/wayland index 92e0a5f..1710f8d 100755 --- a/wayland/bashrc.d/wayland +++ b/wayland/bashrc.d/wayland @@ -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}""")" diff --git a/wayland/config/sway-de-utils/config.toml b/wayland/config/sway-de-utils/config.toml index a0507d7..c5cfb69 100644 --- a/wayland/config/sway-de-utils/config.toml +++ b/wayland/config/sway-de-utils/config.toml @@ -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 = "󰒍" diff --git a/wayland/config/sway/config.d/autostart b/wayland/config/sway/config.d/autostart index 3236809..3a4b365 100644 --- a/wayland/config/sway/config.d/autostart +++ b/wayland/config/sway/config.d/autostart @@ -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/* diff --git a/wayland/config/sway/config.d/display b/wayland/config/sway/config.d/display index 9091cc3..0615a1b 100644 --- a/wayland/config/sway/config.d/display +++ b/wayland/config/sway/config.d/display @@ -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 diff --git a/wayland/config/sway/config.d/keys.d/launch b/wayland/config/sway/config.d/keys.d/launch index ca5d039..dfff76e 100644 --- a/wayland/config/sway/config.d/keys.d/launch +++ b/wayland/config/sway/config.d/keys.d/launch @@ -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" } diff --git a/wayland/config/sway/config.d/keys.d/special b/wayland/config/sway/config.d/keys.d/special index c9c7f65..237c507 100644 --- a/wayland/config/sway/config.d/keys.d/special +++ b/wayland/config/sway/config.d/keys.d/special @@ -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 @@ -33,4 +33,4 @@ bindsym { $mod+XF86AudioRaiseVolume exec "$HOME/.config/sway/scripts/kb_brightness up" #brightness down $mod+XF86AudioLowerVolume exec "$HOME/.config/sway/scripts/kb_brightness down" -} +} diff --git a/wayland/config/sway/config.d/layout b/wayland/config/sway/config.d/layout index 8963d3b..36a5f73 100644 --- a/wayland/config/sway/config.d/layout +++ b/wayland/config/sway/config.d/layout @@ -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' diff --git a/wayland/config/sway/scripts/brightness.sh b/wayland/config/sway/scripts/brightness.sh index 26c8d00..f17195c 100755 --- a/wayland/config/sway/scripts/brightness.sh +++ b/wayland/config/sway/scripts/brightness.sh @@ -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 diff --git a/wayland/config/sway/scripts/volume.sh b/wayland/config/sway/scripts/volume.sh index 4c3ab6d..ca2b826 100755 --- a/wayland/config/sway/scripts/volume.sh +++ b/wayland/config/sway/scripts/volume.sh @@ -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 + diff --git a/wayland/config/wofi/config b/wayland/config/wofi/config index 4d70b7b..566fe5a 100644 --- a/wayland/config/wofi/config +++ b/wayland/config/wofi/config @@ -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 diff --git a/wayland/config/wofi/style.css b/wayland/config/wofi/style.css index 8b656bf..fd20008 100644 --- a/wayland/config/wofi/style.css +++ b/wayland/config/wofi/style.css @@ -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; -} +} \ No newline at end of file