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