Adds dock style
This commit is contained in:
parent
8372d7f669
commit
bc2caa6c11
3 changed files with 47 additions and 6 deletions
|
|
@ -19,7 +19,6 @@ notify_cmd_shot_win="${notify_cmd_base}"
|
||||||
notify_view() {
|
notify_view() {
|
||||||
if [[ "$1" == "active" ]]; then
|
if [[ "$1" == "active" ]]; then
|
||||||
if [[ -e "${active_window_path}" ]]; then
|
if [[ -e "${active_window_path}" ]]; then
|
||||||
"${sDIR}/Sounds.sh" --screenshot
|
|
||||||
resp=$(timeout 5 ${notify_cmd_shot_win} " Screenshot of:" " ${active_window_class} Saved.")
|
resp=$(timeout 5 ${notify_cmd_shot_win} " Screenshot of:" " ${active_window_class} Saved.")
|
||||||
case "$resp" in
|
case "$resp" in
|
||||||
action1)
|
action1)
|
||||||
|
|
@ -35,7 +34,6 @@ notify_view() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif [[ "$1" == "swappy" ]]; then
|
elif [[ "$1" == "swappy" ]]; then
|
||||||
"${sDIR}/Sounds.sh" --screenshot
|
|
||||||
resp=$(${notify_cmd_shot} " Screenshot:" " Captured by Swappy")
|
resp=$(${notify_cmd_shot} " Screenshot:" " Captured by Swappy")
|
||||||
case "$resp" in
|
case "$resp" in
|
||||||
action1)
|
action1)
|
||||||
|
|
@ -49,7 +47,6 @@ notify_view() {
|
||||||
else
|
else
|
||||||
local check_file="${dir}/${file}"
|
local check_file="${dir}/${file}"
|
||||||
if [[ -e "$check_file" ]]; then
|
if [[ -e "$check_file" ]]; then
|
||||||
"${sDIR}/Sounds.sh" --screenshot
|
|
||||||
resp=$(timeout 5 ${notify_cmd_shot} " Screenshot" " Saved")
|
resp=$(timeout 5 ${notify_cmd_shot} " Screenshot" " Saved")
|
||||||
case "$resp" in
|
case "$resp" in
|
||||||
action1)
|
action1)
|
||||||
|
|
@ -149,4 +146,3 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
|
||||||
42
.config/nwg-dock-hyprland/style.css
Normal file
42
.config/nwg-dock-hyprland/style.css
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
window {
|
||||||
|
background: #111117;
|
||||||
|
border-radius: 2px;
|
||||||
|
border-style: none;
|
||||||
|
border-width: 1px;
|
||||||
|
border-color: rgba(156, 142, 122, 0.7)
|
||||||
|
}
|
||||||
|
|
||||||
|
#box {
|
||||||
|
/* Define attributes of the box surrounding icons here */
|
||||||
|
padding: 2px
|
||||||
|
}
|
||||||
|
|
||||||
|
#active {
|
||||||
|
/* This is to underline the button representing the currently active window */
|
||||||
|
border-bottom: solid 1px;
|
||||||
|
border-color: rgba(255, 255, 255, 0.3)
|
||||||
|
}
|
||||||
|
|
||||||
|
button, image {
|
||||||
|
background: none;
|
||||||
|
border-style: none;
|
||||||
|
box-shadow: none;
|
||||||
|
color: #999
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 4px;
|
||||||
|
margin-left: 4px;
|
||||||
|
margin-right: 4px;
|
||||||
|
color: #eee;
|
||||||
|
font-size: 12px
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: rgba(255, 255, 255, 0.15);
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:focus {
|
||||||
|
box-shadow: none
|
||||||
|
}
|
||||||
|
|
@ -38,10 +38,13 @@ if [ $XDG_SESSION_DESKTOP = "Hyprland" ]; then
|
||||||
nwg-dock-hyprland \
|
nwg-dock-hyprland \
|
||||||
nwg-drawer \
|
nwg-drawer \
|
||||||
swaync \
|
swaync \
|
||||||
wlogout \
|
wlogout wayland-logout \
|
||||||
hyprpicker \
|
hyprpicker \
|
||||||
pulseaudio-control \
|
pulseaudio-control \
|
||||||
wl-clipboard
|
wl-clipboard \
|
||||||
|
grim \
|
||||||
|
slurp
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "# Appling setup"
|
echo "# Appling setup"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue