Initial commit
This commit is contained in:
commit
209ba130c0
4852 changed files with 1517959 additions and 0 deletions
21
.config/nwg-dock-hyprland/launch.sh
Executable file
21
.config/nwg-dock-hyprland/launch.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
# ___ __
|
||||
# / _ \___ ____/ /__
|
||||
# / // / _ \/ __/ '_/
|
||||
# /____/\___/\__/_/\_\
|
||||
#
|
||||
|
||||
|
||||
config="$HOME/.config/gtk-3.0/settings.ini"
|
||||
if [ ! -f $HOME/.config/ml4w/settings/dock-disabled ]; then
|
||||
killall nwg-dock-hyprland
|
||||
sleep 0.5
|
||||
prefer_dark_theme="$(grep 'gtk-application-prefer-dark-theme' "$config" | sed 's/.*\s*=\s*//')"
|
||||
if [ $prefer_dark_theme == 0 ]; then
|
||||
style="style-light.css"
|
||||
else
|
||||
style="style-dark.css"
|
||||
fi
|
||||
nwg-dock-hyprland -i 32 -w 5 -mb 10 -ml 10 -mr 10 -x -s $style -c "rofi -show drun"
|
||||
else
|
||||
echo ":: Dock disabled"
|
||||
fi
|
||||
44
.config/nwg-dock-hyprland/style-dark.css
Normal file
44
.config/nwg-dock-hyprland/style-dark.css
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
@import url("colors.css");
|
||||
|
||||
window {
|
||||
background: @blur_background8;
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 3px;
|
||||
border-color: @secondary;
|
||||
}
|
||||
|
||||
#box {
|
||||
/* Define attributes of the box surrounding icons here */
|
||||
padding: 10px
|
||||
}
|
||||
|
||||
#active {
|
||||
/* This is to underline the button representing the currently active window */
|
||||
border-bottom: solid 0px;
|
||||
border-color: @on_surface
|
||||
}
|
||||
|
||||
button, image {
|
||||
background: none;
|
||||
border-style: none;
|
||||
box-shadow: none;
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 4px;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
color: @secondary;
|
||||
font-size: 12px
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: rgba(255, 255, 255, 0.15);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
button:focus {
|
||||
box-shadow: none
|
||||
}
|
||||
44
.config/nwg-dock-hyprland/style-light.css
Normal file
44
.config/nwg-dock-hyprland/style-light.css
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
@import url("colors.css");
|
||||
|
||||
window {
|
||||
background: #FFFFFF;
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 3px;
|
||||
border-color: @secondary;
|
||||
}
|
||||
|
||||
#box {
|
||||
/* Define attributes of the box surrounding icons here */
|
||||
padding: 10px
|
||||
}
|
||||
|
||||
#active {
|
||||
/* This is to underline the button representing the currently active window */
|
||||
border-bottom: solid 0px;
|
||||
border-color: @on_surface
|
||||
}
|
||||
|
||||
button, image {
|
||||
background: none;
|
||||
border-style: none;
|
||||
box-shadow: none;
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 4px;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
color: @secondary;
|
||||
font-size: 12px
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: rgba(255, 255, 255, 0.15);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
button:focus {
|
||||
box-shadow: none
|
||||
}
|
||||
43
.config/nwg-dock-hyprland/style.css
Normal file
43
.config/nwg-dock-hyprland/style.css
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
window {
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 3px;
|
||||
border-color: #ffffff;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
#box {
|
||||
/* Define attributes of the box surrounding icons here */
|
||||
padding: 10px
|
||||
}
|
||||
|
||||
#active {
|
||||
/* This is to underline the button representing the currently active window */
|
||||
border-bottom: solid 0px;
|
||||
border-color: #FFFFFF
|
||||
}
|
||||
|
||||
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: 10px;
|
||||
}
|
||||
|
||||
button:focus {
|
||||
box-shadow: none
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue